9void show_geo_extract(
const char *file =
"testShapeExtract.root")
17 TString seName(
"ROOT::Experimental::REveGeoShapeExtract");
19 while ((key = (
TKey *)next())) {
20 std::cout <<
"calss name " << key->
GetClassName() <<
"\n";
22 std::cout <<
"got the extract name " << key->
GetClassName() <<
"\n";
25 eveMng->AddGlobalElement(gs);
static REveGeoShape * ImportShapeExtract(REveGeoShapeExtract *gse, REveElement *parent=nullptr)
Import a shape extract 'gse' under element 'parent'.
static REveManager * Create()
If global REveManager* REX::gEve is not set initialize it.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
Book space in a file, create I/O buffers, to fill them, (un)compress them.
virtual const char * GetClassName() const
virtual TObject * ReadObj()
To read a TObject* from the file.
ROOT::Experimental::REveManager * eveMng