18#ifndef ALICE_O2_EVENTVISUALISATION_VIEW_MULTIVIEW_H
19#define ALICE_O2_EVENTVISUALISATION_VIEW_MULTIVIEW_H
21#include <TGLAnnotation.h>
23#include <TEveGeoShape.h>
25#include <TEveViewer.h>
31namespace event_visualisation
87 void registerGeometry(TEveGeoShape* geom,
bool threeD =
true,
bool rPhi =
true,
bool zy =
true);
92 void registerElements(TEveElementList* elements[], TEveElementList* phiElements[]);
117 std::vector<TEveGeoShape*> mDetectors;
118 std::unique_ptr<TGLAnnotation> mAnnotationTop;
119 std::unique_ptr<TGLAnnotation> mAnnotationBottom;
125 void setupMultiview();
@ SceneZYEvent
Z-Y scene of event.
@ SceneZYGeom
Z-Y scene of geometry.
@ SceneRphiGeom
R-Phi scene of geometry.
@ SceneRphiEvent
R-Phi scene of event.
@ NumberOfScenes
Total number of scenes.
@ Scene3dGeom
3D scene of geometry
@ Scene3dEvent
3D scene of event
static MultiView * getInstance()
Returns an instance of the MultiView.
void drawGeometryForDetector(std::string detectorName, bool threeD=true, bool rPhi=true, bool zy=true)
void registerElements(TEveElementList *elements[], TEveElementList *phiElements[])
Registers an elements to be drawn.
TEveViewer * getView(EViews view)
Returns pointer to specific view.
TGLAnnotation * getAnnotationTop()
Get annotation pointer.
@ NumberOfViews
Total number of views.
void destroyAllEvents()
Removes all shapes representing current event.
@ NumberOfProjections
Total number of projections.
@ ProjectionRphi
R-Phi projection.
@ ProjectionZY
Z-Y projection.
TEveProjectionManager * getProjection(EProjections projection)
Returns pointer to specific projection manager.
TEveGeoShape * getDetectorGeometry(const std::string &detectorName)
void registerElement(TEveElement *event)
Registers an element to be drawn.
void registerEvent(TEveElement *event)
TGLAnnotation * getAnnotationBottom()
TEveScene * getScene(EScenes scene)
Returns pointer to specific scene.
void registerGeometry(TEveGeoShape *geom, bool threeD=true, bool rPhi=true, bool zy=true)
Registers geometry to be drawn in appropriate views.
void destroyAllGeometries()
Removes all geometries.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...