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 
8 class TCanvas;
9 class TGCompositeFrame;
10 class TEveViewer;
11 class TEveScene;
12 class TEveWindowSlot;
13 
14 template <typename T> class FWDetailViewGL : public FWDetailView<T> {
15 public:
16  FWDetailViewGL ();
17  virtual ~FWDetailViewGL();
18 
19  virtual void init(TEveWindowSlot*);
20  TGLViewer* viewerGL() const { return m_eveViewer->GetGLViewer();}
21 
22  virtual void setBackgroundColor(Color_t);
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
35 
TGLViewer * viewerGL() const
virtual ~FWDetailViewGL()
virtual void init(TEveWindowSlot *)
TEveViewer * m_eveViewer
TGCompositeFrame * m_guiFrame
TCanvas * m_infoCanvas
TEveScene * m_eveScene
virtual void setBackgroundColor(Color_t)