10 const char* esd_geom_file_name =
11 "http://root.cern.ch/files/alice_ESDgeometry.root";
31 axes->
SetTitle(
"TEveProjections demo");
52 for (
Int_t i=0; i<160; ++i)
Eve representation of TGLScene.
An arbitrary polyline with fixed line and marker attributes.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
void AddGlobalElement(TEveElement *element, TEveElement *parent=0)
Add a global element, i.e.
static Bool_t SetCacheFileDir(ROOT::Internal::TStringView cacheDir, Bool_t operateDisconnected=kTRUE, Bool_t forceCacheread=kFALSE)
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
virtual Bool_t SetRnrState(Bool_t rnr)
Set render state of this element and of its children to the same value.
TGListTreeItem * AddToListTree(TEveElement *re, Bool_t open, TGListTree *lt=0)
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Axes for non-linear projections.
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
TGLCamera & CurrentCamera() const
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=1, Int_t netopt=0)
Create / open a file.
virtual TEveElement * ImportElements(TEveElement *el, TEveElement *ext_list=0)
Recursively import elements and apply projection to the newly imported objects.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
Manager class for steering of projections and managing projected objects.
TEveScene * GetGlobalScene() const
void SetZoomMinMax(Double_t min, Double_t max)
void SetPickableRecursively(Bool_t p)
Set pickable state on the element and all its children.
R__EXTERN TEveManager * gEve
virtual Bool_t SetRnrSelf(Bool_t rnr)
Set render state of this element, i.e.
Base GL viewer object - used by both standalone and embedded (in pad) GL.
virtual void AddElement(TEveElement *el)
Add el to the list of children.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
virtual void SetMainColor(Color_t color)
Set main color of the element.
virtual Int_t SetNextPoint(Double_t x, Double_t y, Double_t z)
Set point following LastPoint to x, y, z.
static constexpr double s
void SetCurrentCamera(ECameraType camera)
Set current active camera - 'cameraType' one of: kCameraPerspX, kCameraPerspY, kCameraPerspZ, kCameraOrthoXOY, kCameraOrthoXOZ, kCameraOrthoZOY, kCameraOrthoXnOY, kCameraOrthoXnOZ, kCameraOrthoZnOY.
TEveViewer * GetDefaultViewer() const
Returns the default viewer - the first one in the fViewers list.
Orthographic projection camera.
Wrapper for TGeoShape with absolute positioning and color attributes allowing display of extracted TG...
TEveScene * SpawnNewScene(const char *name, const char *title="")
Create a new scene.
static TEveGeoShape * ImportShapeExtract(TEveGeoShapeExtract *gse, TEveElement *parent=0)
Import a shape extract 'gse' under element 'parent'.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void Close(Option_t *option="")
Close a file.
virtual void AddScene(TEveScene *scene)
Add 'scene' to the list of scenes.