31 TEveProjectionManager *fRPhiMgr;
32 TEveProjectionManager *fRhoZMgr;
35 TEveViewer *fRPhiView;
36 TEveViewer *fRhoZView;
38 TEveScene *fRPhiGeomScene;
39 TEveScene *fRhoZGeomScene;
40 TEveScene *fRPhiEventScene;
41 TEveScene *fRhoZEventScene;
53 fRPhiGeomScene =
gEve->SpawnNewScene(
"RPhi Geometry",
"Scene holding projected geometry for the RPhi view.");
54 fRhoZGeomScene =
gEve->SpawnNewScene(
"RhoZ Geometry",
"Scene holding projected geometry for the RhoZ view.");
55 fRPhiEventScene =
gEve->SpawnNewScene(
"RPhi Event Data",
"Scene holding projected event-data for the RPhi view.");
56 fRhoZEventScene =
gEve->SpawnNewScene(
"RhoZ Event Data",
"Scene holding projected event-data for the RhoZ view.");
64 TEveProjectionAxes *
a =
new TEveProjectionAxes(fRPhiMgr);
67 a->SetTitleSize(0.05);
69 a->SetLabelSize(0.025);
77 TEveProjectionAxes *
a =
new TEveProjectionAxes(fRhoZMgr);
80 a->SetTitleSize(0.05);
82 a->SetLabelSize(0.025);
90 TEveWindowSlot *slot =
nullptr;
91 TEveWindowPack *pack =
nullptr;
99 f3DView =
gEve->SpawnNewViewer(
"3D View",
"");
106 fRPhiView =
gEve->SpawnNewViewer(
"RPhi View",
"");
108 fRPhiView->
AddScene(fRPhiGeomScene);
109 fRPhiView->
AddScene(fRPhiEventScene);
112 fRhoZView =
gEve->SpawnNewViewer(
"RhoZ View",
"");
114 fRhoZView->
AddScene(fRhoZGeomScene);
115 fRhoZView->
AddScene(fRhoZEventScene);
130 void ImportGeomRPhi(TEveElement *el) { fRPhiMgr->
ImportElements(el, fRPhiGeomScene); }
132 void ImportGeomRhoZ(TEveElement *el) { fRhoZMgr->
ImportElements(el, fRhoZGeomScene); }
134 void ImportEventRPhi(TEveElement *el) { fRPhiMgr->
ImportElements(el, fRPhiEventScene); }
136 void ImportEventRhoZ(TEveElement *el) { fRhoZMgr->
ImportElements(el, fRhoZEventScene); }
float Float_t
Float 4 bytes (float).
void SetElementName(const char *name) override
Virtual function for setting of name of an element.
virtual void AddElement(TEveElement *el)
Add el to the list of children.
virtual void DestroyElements()
Destroy all children of this element.
virtual TEveElement * ImportElements(TEveElement *el, TEveElement *ext_list=nullptr)
Recursively import elements and apply projection to the newly imported objects.
void SetCurrentDepth(Float_t d)
TGLViewer * GetGLViewer() const
virtual void AddScene(TEveScene *scene)
Add 'scene' to the list of scenes.
TEveWindowSlot * NewSlot() override
Create a new frame-slot at the last position of the pack.
TEveWindowPack * MakePack()
A pack is created in place of this window-slot.
void MakeCurrent()
Make this window current.
static TEveWindowSlot * CreateWindowInTab(TGTab *tab, TEveWindow *eve_parent=nullptr)
Create a new tab in a given tab-widget and populate it with a default window-slot.
void SetShowTitleBar(Bool_t x)
Set display state of the title-bar.
void SetCurrentCamera(ECameraType camera)
Set current active camera - 'cameraType' one of: kCameraPerspX, kCameraPerspY, kCameraPerspZ,...