CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
FWEnumParameter m_projectionMode
FWDoubleParameter m_pixelsPerBin
~FWLegoViewBase() override
FWLegoViewBase(TEveWindowSlot *, FWViewType::EType)
TEveCaloLego * m_lego
void populateController(ViewerParameterGUI &) const override
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 &)
TEveCaloViz * getEveCalo() const override
void addTo(FWConfiguration &) const override
FWEnumParameter m_cell2DMode
void setFrom(const FWConfiguration &) override