10#include <RtypesCore.h>
23 namespace EveGeometry {
36 void enableVolume(
const char* name,
bool only_daughters =
false,
bool enable =
true);
39 void disableVolume(
const char* name,
bool only_daughters =
false);
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).
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 addGeometry(EType visMode)
Add TGeo geometry to Eve (only needs to be done once.)
void setDeleteVolumes(const std::vector< std::string > &volumes)
List of volumes to be removed.
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 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.
void saveExtract()
Save a geometry extract from the current state of the TGeo geometry.
EType
Type of geometry shown.
@ c_Full
Full geometry converted from Geant4 (use this for non-standard Belle II setups!).
@ c_Simplified
a simplified Belle II geometry.
void removeChildrenByRegExp(TEveElement *parent, const std::string &pattern)
Recursive removal of volumes based on regular expression pattern.
double getMaxR()
find a point that is inside the top node.
Abstract base class for different kinds of events.