CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
TGLViewer * viewerGL() const
TEveViewer * m_eveViewer
TGCompositeFrame * m_guiFrame
~FWDetailViewGL() override
void setBackgroundColor(Color_t) override
TCanvas * m_infoCanvas
TEveScene * m_eveScene
void init(TEveWindowSlot *) override