CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FW3DViewBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FW3DViewBase_h
2 #define Fireworks_Core_FW3DViewBase_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FW3DViewBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Feb 21 11:22:37 EST 2008
19 // $Id: FW3DViewBase.h,v 1.13 2011/10/14 22:07:53 amraktad Exp $
20 //
21 
22 // system include files
23 
24 // user include files
25 #include "Rtypes.h"
29 
30 // forward declarations
31 class TEveElementList;
32 class TEveGeoShape;
33 class TEveWindowSlot;
34 
35 class FW3DViewGeometry;
36 class FWColorManager;
37 class TGLClip;
38 
39 class FW3DViewBase : public FWEveView
40 {
41 public:
42  FW3DViewBase(TEveWindowSlot*, FWViewType::EType);
43  virtual ~FW3DViewBase();
44 
45  // ---------- const member functions ---------------------
46 
47  virtual void addTo(FWConfiguration&) const;
48  virtual void populateController(ViewerParameterGUI&) const;
49 
50  // ---------- static member functions --------------------
51 
52  // ---------- member functions ---------------------------
53  virtual void setContext(const fireworks::Context&);
54  virtual void setFrom(const FWConfiguration&);
55 
56  // To be fixed.
58 
59 private:
60  FW3DViewBase(const FW3DViewBase&); // stop default
61 
62  const FW3DViewBase& operator=(const FW3DViewBase&); // stop default
63 
64  // ---------- member data --------------------------------
66  TGLClip* m_glClip;
67 
68  // parameters
75 
79 
80 
81  void selectable( bool );
82  void sceneClip( bool );
83  void rnrStyle(long);
84  void showMuonBarrel( long );
85 };
86 
87 
88 #endif
virtual ~FW3DViewBase()
void sceneClip(bool)
void showMuonBarrel(long)
void rnrStyle(long)
virtual void setFrom(const FWConfiguration &)
FWBoolParameter m_showMuonEndcap
Definition: FW3DViewBase.h:70
FWBoolParameter m_clipParam
Definition: FW3DViewBase.h:77
FWBoolParameter m_showTrackerBarrel
Definition: FW3DViewBase.h:73
void selectable(bool)
virtual void addTo(FWConfiguration &) const
virtual void populateController(ViewerParameterGUI &) const
FWEnumParameter m_rnrStyle
Definition: FW3DViewBase.h:76
FWBoolParameter m_showPixelEndcap
Definition: FW3DViewBase.h:72
void updateGlobalSceneScaleParameters()
virtual void setContext(const fireworks::Context &)
const FW3DViewBase & operator=(const FW3DViewBase &)
TGLClip * m_glClip
Definition: FW3DViewBase.h:66
FWEnumParameter m_showMuonBarrel
Definition: FW3DViewBase.h:69
FW3DViewGeometry * m_geometry
Definition: FW3DViewBase.h:65
FWBoolParameter m_selectable
Definition: FW3DViewBase.h:78
FW3DViewBase(TEveWindowSlot *, FWViewType::EType)
FWBoolParameter m_showTrackerEndcap
Definition: FW3DViewBase.h:74
FWBoolParameter m_showPixelBarrel
Definition: FW3DViewBase.h:71