CMS 3D CMS Logo

FWLegoViewBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWLegoViewBase_h
2 #define Fireworks_Core_FWLegoViewBase_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWLegoViewBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Feb 21 11:22:37 EST 2008
19 //
20 
21 // system include files
22 #include "Rtypes.h"
23 
24 // user include files
30 
31 // forward declarations
32 class TEveViewer;
33 class TEveScene;
34 class TEveElementList;
35 class TEveCaloLego;
36 class TEveCaloLegoOverlay;
37 class TEveCaloDataHist;
38 
39 class FWLegoViewBase : public FWEveView
40 {
41 public:
42  FWLegoViewBase(TEveWindowSlot*, FWViewType::EType);
43  virtual ~FWLegoViewBase();
44 
45  virtual void setFrom(const FWConfiguration&);
46 
47  virtual void setContext(const fireworks::Context&);
48 
49  // ---------- const member functions ---------------------
50 
51  virtual void addTo(FWConfiguration&) const;
52  virtual void populateController(ViewerParameterGUI&) const;
53 
54  virtual TEveCaloViz* getEveCalo() const;
55 
56  // ---------- member functions ---------------------------
57 
58 protected:
59  TEveCaloLego* m_lego;
60  TEveCaloLegoOverlay* m_overlay;
61 
62 private:
63  FWLegoViewBase(const FWLegoViewBase&); // stop default
64 
65  const FWLegoViewBase& operator=(const FWLegoViewBase&); // stop default
66 
67  void setCameras();
68  void setAutoRebin();
69  void setPixelsPerBin();
70  void setFontSizein2D();
71  void autoScale();
72  void showOverlay();
73  void setProjectionMode();
74  void setCell2DMode();
75 
76  // ---------- member data --------------------------------
77 
84 };
85 
86 
87 #endif
virtual void addTo(FWConfiguration &) const
FWEnumParameter m_projectionMode
virtual void populateController(ViewerParameterGUI &) const
FWDoubleParameter m_pixelsPerBin
FWLegoViewBase(TEveWindowSlot *, FWViewType::EType)
virtual TEveCaloViz * getEveCalo() const
virtual void setContext(const fireworks::Context &)
virtual ~FWLegoViewBase()
virtual void setFrom(const FWConfiguration &)
TEveCaloLego * m_lego
FWBoolParameter m_showOverlay
FWLongParameter m_drawValuesIn2D
TEveCaloLegoOverlay * m_overlay
FWBoolParameter m_autoRebin
void setProjectionMode()
const FWLegoViewBase & operator=(const FWLegoViewBase &)
FWEnumParameter m_cell2DMode