CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 // $Id: FWLegoViewBase.h,v 1.14 2010/11/15 17:14:27 amraktad Exp $
20 //
21 
22 // system include files
23 #include "Rtypes.h"
24 
25 // user include files
31 
32 // forward declarations
33 class TEveViewer;
34 class TEveScene;
35 class TEveElementList;
36 class TEveCaloLego;
37 class TEveCaloLegoOverlay;
38 class TEveCaloDataHist;
39 
40 class FWLegoViewBase : public FWEveView
41 {
42 public:
43  FWLegoViewBase(TEveWindowSlot*, FWViewType::EType);
44  virtual ~FWLegoViewBase();
45 
46  virtual void setFrom(const FWConfiguration&);
47 
48  virtual void setContext(const fireworks::Context&);
49 
50  // ---------- const member functions ---------------------
51 
52  virtual void addTo(FWConfiguration&) const;
53  virtual void populateController(ViewerParameterGUI&) const;
54 
55  virtual TEveCaloViz* getEveCalo() const;
56 
57  // ---------- member functions ---------------------------
58 
59 protected:
60  TEveCaloLego* m_lego;
61  TEveCaloLegoOverlay* m_overlay;
62 
63 private:
64  FWLegoViewBase(const FWLegoViewBase&); // stop default
65 
66  const FWLegoViewBase& operator=(const FWLegoViewBase&); // stop default
67 
68  void setCameras();
69  void setAutoRebin();
70  void setPixelsPerBin();
71  void setFontSizein2D();
72  void autoScale();
73  void showOverlay();
74  void setProjectionMode();
75  void setCell2DMode();
76 
77  // ---------- member data --------------------------------
78 
85 };
86 
87 
88 #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