Go to the documentation of this file.00001 #ifndef Fireworks_Core_FWFWDetailViewGL_h
00002 #define Fireworks_Core_FWFWDetailViewGL_h
00003
00004 #include "TEveViewer.h"
00005 #include "Fireworks/Core/interface/FWDetailView.h"
00006
00007
00008 class TCanvas;
00009 class TGCompositeFrame;
00010 class TEveViewer;
00011 class TEveScene;
00012 class TEveWindowSlot;
00013
00014 template <typename T> class FWDetailViewGL : public FWDetailView<T> {
00015 public:
00016 FWDetailViewGL ();
00017 virtual ~FWDetailViewGL();
00018
00019 virtual void init(TEveWindowSlot*);
00020 TGLViewer* viewerGL() const { return m_eveViewer->GetGLViewer();}
00021
00022 virtual void setBackgroundColor(Color_t);
00023
00024 protected:
00025 TCanvas *m_infoCanvas;
00026 TGCompositeFrame *m_guiFrame;
00027
00028 TEveViewer *m_eveViewer;
00029 TEveScene *m_eveScene;
00030 };
00031
00032 #include "Fireworks/Core/src/FWDetailViewGL.icc"
00033
00034 #endif
00035