Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-17 23:10:43

0001 #ifndef Fireworks_Core_FWFWDetailViewGL_h
0002 #define Fireworks_Core_FWFWDetailViewGL_h
0003 
0004 #include "TEveViewer.h"
0005 #include "Fireworks/Core/interface/FWDetailView.h"
0006 
0007 class TCanvas;
0008 class TGCompositeFrame;
0009 class TEveViewer;
0010 class TEveScene;
0011 class TEveWindowSlot;
0012 
0013 template <typename T>
0014 class FWDetailViewGL : public FWDetailView<T> {
0015 public:
0016   FWDetailViewGL();
0017   ~FWDetailViewGL() override;
0018 
0019   void init(TEveWindowSlot *) override;
0020   TGLViewer *viewerGL() const { return m_eveViewer->GetGLViewer(); }
0021 
0022   void setBackgroundColor(Color_t) override;
0023 
0024 protected:
0025   TCanvas *m_infoCanvas;
0026   TGCompositeFrame *m_guiFrame;
0027 
0028   TEveViewer *m_eveViewer;
0029   TEveScene *m_eveScene;
0030 };
0031 
0032 #include "Fireworks/Core/interface/FWDetailViewGL.icc"
0033 
0034 #endif