![]() |
Belle II Software
release-08-02-04
|
Handles manipulation of detector geometry for the display. More...
Enumerations | |
| enum | EType { c_Full , c_Simplified } |
| Type of geometry shown. More... | |
Functions | |
| void | addGeometry (EType visMode) |
| Add TGeo geometry to Eve (only needs to be done once.) | |
| void | setVisualisationMode (EType visMode) |
| switch to given visualisation mode. | |
| void | enableVolume (const char *name, bool only_daughters=false, bool enable=true) |
| enable/disable rendering of the volume 'name', or only its daughters if only_daughters is set. | |
| void | disableVolume (const char *name, bool only_daughters=false) |
| disable rendering of the volume 'name', or only its daughters if only_daughters is set. | |
| void | setVolumeColor (const char *name, Color_t col) |
| set fill color of the volume 'name' to 'col'. | |
| void | setTransparency (int percent) |
| Recursively set transparency of geometry (0: opaque, 100: fully transparent). | |
| double | getMaxR () |
| find a point that is inside the top node. | |
| void | saveExtract () |
| Save a geometry extract from the current state of the TGeo geometry. More... | |
| void | setCustomExtractPath (const std::string &extractPath) |
| Set custom path to the geometry extract (to change originally hard-coded value) | |
| void | setHideVolumes (const std::vector< std::string > &volumes) |
| List of volumes to be hidden (can be re-enabled in Eve panel / Geometry scene. More... | |
| void | setDeleteVolumes (const std::vector< std::string > &volumes) |
| List of volumes to be removed. More... | |
| void | removeChildrenByRegExp (TEveElement *parent, const std::string &pattern) |
| Recursive removal of volumes based on regular expression pattern. More... | |
Handles manipulation of detector geometry for the display.
| enum EType |
Type of geometry shown.
| Enumerator | |
|---|---|
| c_Full | Full geometry converted from Geant4 (use this for non-standard Belle II setups!). |
| c_Simplified | a simplified Belle II geometry. |
Definition at line 25 of file EveGeometry.h.
| void removeChildrenByRegExp | ( | TEveElement * | parent, |
| const std::string & | pattern | ||
| ) |
Recursive removal of volumes based on regular expression pattern.
Leading '#' switches to removal of daughter only.
Definition at line 106 of file EveGeometry.cc.
| void saveExtract | ( | ) |
Save a geometry extract from the current state of the TGeo geometry.
To actually create a reasonably sized extract, one needs to delete all objects in Top_1 that one doesn't want to save. Selecting them via their name and deleting them in a function should work, but really just crashes. This is all quite horrible, really.
Definition at line 202 of file EveGeometry.cc.
| void setDeleteVolumes | ( | const std::vector< std::string > & | volumes | ) |
List of volumes to be removed.
The volume and all its daughters will be deleted. Leading '#' switches to removal of daughter only.
Definition at line 228 of file EveGeometry.cc.
| void setHideVolumes | ( | const std::vector< std::string > & | volumes | ) |
List of volumes to be hidden (can be re-enabled in Eve panel / Geometry scene.
The volume and all its daughters will be hidden.
Definition at line 223 of file EveGeometry.cc.