Helper script for showing of extracted / simplified geometries.
The test macro how to create the shapes is in file write_geo_extract.C
void show_geo_extract(const char *file = "testShapeExtract.root")
{
TString seName(
"ROOT::Experimental::REveGeoShapeExtract");
while ((key = (
TKey *)next())) {
std::cout <<
"got the extract name " << key->
GetClassName() <<
"\n";
}
}
}
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
- Author
- Matevz Tadel
Definition in file show_geo_extract.C.