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/interface/FWDetailViewGL.icc"
33 
34 #endif
TEveViewer * m_eveViewer
TGCompositeFrame * m_guiFrame
~FWDetailViewGL() override
void setBackgroundColor(Color_t) override
TCanvas * m_infoCanvas
TGLViewer * viewerGL() const
TEveScene * m_eveScene
void init(TEveWindowSlot *) override