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 public:
41  FWLegoViewBase(TEveWindowSlot*, FWViewType::EType);
42  ~FWLegoViewBase() override;
43 
44  void setFrom(const FWConfiguration&) override;
45 
46  void setContext(const fireworks::Context&) override;
47 
48  // ---------- const member functions ---------------------
49 
50  void addTo(FWConfiguration&) const override;
51  void populateController(ViewerParameterGUI&) const override;
52 
53  TEveCaloViz* getEveCalo() const override;
54 
55  // ---------- member functions ---------------------------
56 
57 protected:
58  TEveCaloLego* m_lego;
59  TEveCaloLegoOverlay* m_overlay;
60 
61 private:
62  FWLegoViewBase(const FWLegoViewBase&); // stop default
63 
64  const FWLegoViewBase& operator=(const FWLegoViewBase&); // stop default
65 
66  void setCameras();
67  void setAutoRebin();
68  void setPixelsPerBin();
69  void setFontSizein2D();
70  void autoScale();
71  void showOverlay();
72  void setProjectionMode();
73  void setCell2DMode();
74 
75  // ---------- member data --------------------------------
76 
83 };
84 
85 #endif
FWLegoViewBase::setCameras
void setCameras()
FWEnumParameter
Definition: FWEnumParameter.h:30
fireworks::Context
Definition: Context.h:41
FWGenericParameterWithRange
Definition: FWGenericParameterWithRange.h:27
FWViewType::EType
EType
Definition: FWViewType.h:31
FWBoolParameter.h
ViewerParameterGUI
Definition: CmsShowViewPopup.h:49
FWLegoViewBase::m_projectionMode
FWEnumParameter m_projectionMode
Definition: FWLegoViewBase.h:79
FWEveView.h
FWLegoViewBase::setCell2DMode
void setCell2DMode()
Definition: FWLegoViewBase.cc:267
FWLegoViewBase::setAutoRebin
void setAutoRebin()
Definition: FWLegoViewBase.cc:148
FWGenericParameter
Definition: FWGenericParameter.h:31
FWLegoViewBase::m_overlay
TEveCaloLegoOverlay * m_overlay
Definition: FWLegoViewBase.h:59
FWLegoViewBase
Definition: FWLegoViewBase.h:39
FWLegoViewBase::autoScale
void autoScale()
FWLegoViewBase::m_drawValuesIn2D
FWLongParameter m_drawValuesIn2D
Definition: FWLegoViewBase.h:81
FWEveView
Definition: FWEveView.h:53
FWLegoViewBase::FWLegoViewBase
FWLegoViewBase(TEveWindowSlot *, FWViewType::EType)
Definition: FWLegoViewBase.cc:51
FWLegoViewBase::setPixelsPerBin
void setPixelsPerBin()
Definition: FWLegoViewBase.cc:153
FWLegoViewBase::~FWLegoViewBase
~FWLegoViewBase() override
Definition: FWLegoViewBase.cc:81
FWLongParameter.h
FWLegoViewBase::m_cell2DMode
FWEnumParameter m_cell2DMode
Definition: FWLegoViewBase.h:80
FWLegoViewBase::populateController
void populateController(ViewerParameterGUI &) const override
Definition: FWLegoViewBase.cc:274
FWLegoViewBase::m_lego
TEveCaloLego * m_lego
Definition: FWLegoViewBase.h:58
FWLegoViewBase::setFontSizein2D
void setFontSizein2D()
Definition: FWLegoViewBase.cc:255
FWDoubleParameter.h
FWLegoViewBase::getEveCalo
TEveCaloViz * getEveCalo() const override
Definition: FWLegoViewBase.cc:86
FWLegoViewBase::setProjectionMode
void setProjectionMode()
Definition: FWLegoViewBase.cc:260
FWLegoViewBase::m_showOverlay
FWBoolParameter m_showOverlay
Definition: FWLegoViewBase.h:82
FWLegoViewBase::setContext
void setContext(const fireworks::Context &) override
Definition: FWLegoViewBase.cc:88
FWConfiguration
Definition: FWConfiguration.h:31
FWLegoViewBase::m_pixelsPerBin
FWDoubleParameter m_pixelsPerBin
Definition: FWLegoViewBase.h:78
FWLegoViewBase::operator=
const FWLegoViewBase & operator=(const FWLegoViewBase &)
FWLegoViewBase::showOverlay
void showOverlay()
Definition: FWLegoViewBase.cc:158
FWLegoViewBase::addTo
void addTo(FWConfiguration &) const override
Definition: FWLegoViewBase.cc:236
FWLegoViewBase::setFrom
void setFrom(const FWConfiguration &) override
Definition: FWLegoViewBase.cc:167
Context.h
FWLegoViewBase::m_autoRebin
FWBoolParameter m_autoRebin
Definition: FWLegoViewBase.h:77