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  ~FWLegoViewBase() override;
44 
45  void setFrom(const FWConfiguration&) override;
46 
47  void setContext(const fireworks::Context&) override;
48 
49  // ---------- const member functions ---------------------
50 
51  void addTo(FWConfiguration&) const override;
52  void populateController(ViewerParameterGUI&) const override;
53 
54  TEveCaloViz* getEveCalo() const override;
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
void addTo(FWConfiguration &) const override
FWEnumParameter m_projectionMode
FWDoubleParameter m_pixelsPerBin
~FWLegoViewBase() override
TEveCaloViz * getEveCalo() const override
FWLegoViewBase(TEveWindowSlot *, FWViewType::EType)
TEveCaloLego * m_lego
FWBoolParameter m_showOverlay
FWLongParameter m_drawValuesIn2D
void setContext(const fireworks::Context &) override
TEveCaloLegoOverlay * m_overlay
FWBoolParameter m_autoRebin
void setProjectionMode()
const FWLegoViewBase & operator=(const FWLegoViewBase &)
FWEnumParameter m_cell2DMode
void populateController(ViewerParameterGUI &) const override
void setFrom(const FWConfiguration &) override