Demonstrates usage of geometry aliases - merge ALICE ITS with ATLAS MUON.
void geom_alias()
{
v->CurrentCamera().RotateRad(-0.5, -2.4);
}
R__EXTERN TEveManager * gEve
R__EXTERN TGeoManager * gGeoManager
A wrapper over a TGeoNode, possibly displaced with a global trasformation stored in TEveElement.
void AddGlobalElement(TEveElement *element, TEveElement *parent=0)
Add a global element, i.e.
TGeoManager * GetGeometryByAlias(const TString &alias)
Get geometry with given alias.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
void RegisterGeometryAlias(const TString &alias, const TString &filename)
Register 'name' as an alias for geometry file 'filename'.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void FullRedraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Perform 3D redraw of all scenes and viewers.
TGeoVolume * GetTopVolume() const
TGeoNode * FindNode(const char *name) const
search a daughter inside the list of nodes
- Author
- Matevz Tadel
Definition in file geom_alias.C.