CMS 3D CMS Logo

FWDetailViewGL.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWFWDetailViewGL_h
2 #define Fireworks_Core_FWFWDetailViewGL_h
3 
4 #include "TEveViewer.h"
6 
7 class TCanvas;
8 class TGCompositeFrame;
9 class TEveViewer;
10 class TEveScene;
11 class TEveWindowSlot;
12 
13 template <typename T>
14 class FWDetailViewGL : public FWDetailView<T> {
15 public:
17  ~FWDetailViewGL() override;
18 
19  void init(TEveWindowSlot *) override;
20  TGLViewer *viewerGL() const { return m_eveViewer->GetGLViewer(); }
21 
22  void setBackgroundColor(Color_t) override;
23 
24 protected:
25  TCanvas *m_infoCanvas;
26  TGCompositeFrame *m_guiFrame;
27 
28  TEveViewer *m_eveViewer;
29  TEveScene *m_eveScene;
30 };
31 
32 #include "Fireworks/Core/src/FWDetailViewGL.icc"
33 
34 #endif
FWDetailViewGL::m_eveScene
TEveScene * m_eveScene
Definition: FWDetailViewGL.h:29
FWDetailViewGL::viewerGL
TGLViewer * viewerGL() const
Definition: FWDetailViewGL.h:20
FWDetailView.h
FWDetailViewGL::FWDetailViewGL
FWDetailViewGL()
FWDetailView
Definition: FWDetailView.h:13
FWDetailViewGL::m_infoCanvas
TCanvas * m_infoCanvas
Definition: FWDetailViewGL.h:25
FWDetailViewGL::init
void init(TEveWindowSlot *) override
FWDetailViewGL::m_guiFrame
TGCompositeFrame * m_guiFrame
Definition: FWDetailViewGL.h:26
FWDetailViewGL::m_eveViewer
TEveViewer * m_eveViewer
Definition: FWDetailViewGL.h:28
FWDetailViewGL::setBackgroundColor
void setBackgroundColor(Color_t) override
FWDetailViewGL::~FWDetailViewGL
~FWDetailViewGL() override
FWDetailViewGL
Definition: FWDetailViewGL.h:14