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 //
20 
21 // system include files
22 
23 // user include files
24 #include "Rtypes.h"
28 // forward declarations
29 class TEveElementList;
30 class TEveGeoShape;
31 class TEveWindowSlot;
32 
33 class FW3DViewGeometry;
34 class FWColorManager;
35 class TGLClip;
36 class TEveLine;
37 
39 
40 class FW3DViewBase : public FWEveView
41 {
42 public:
43  FW3DViewBase(TEveWindowSlot*, FWViewType::EType, unsigned int version = 8);
44  virtual ~FW3DViewBase();
45 
46  // ---------- const member functions ---------------------
47 
48  virtual void addTo(FWConfiguration&) const;
49  virtual void populateController(ViewerParameterGUI&) const;
50 
51  // ---------- static member functions --------------------
52 
53  // ---------- member functions ---------------------------
54  virtual void setContext(const fireworks::Context&);
55  virtual void setFrom(const FWConfiguration&);
56 
57  // To be fixed.
59 
61  virtual bool requestGLHandlerPick() const;
62  void setCurrentDMTVertex(double x, double y, double z);
63 
64 private:
65  FW3DViewBase(const FW3DViewBase&); // stop default
66 
67  const FW3DViewBase& operator=(const FW3DViewBase&); // stop default
68 
69  // ---------- member data --------------------------------
71  TGLClip* m_glClip;
72 
73  // parameters
80 
84 
86 
88  TEveLine* m_DMTline;
89 
90  void selectable( bool );
91  void sceneClip( bool );
92  void rnrStyle(long);
93  void showMuonBarrel( long );
94  void setCameraType(long);
95 };
96 
97 
98 #endif
virtual ~FW3DViewBase()
virtual bool requestGLHandlerPick() const
void sceneClip(bool)
void showMuonBarrel(long)
void rnrStyle(long)
virtual void setFrom(const FWConfiguration &)
FWBoolParameter m_showMuonEndcap
Definition: FW3DViewBase.h:75
FWBoolParameter m_clipParam
Definition: FW3DViewBase.h:82
FW3DViewDistanceMeasureTool * getDMT()
Definition: FW3DViewBase.h:60
void setCurrentDMTVertex(double x, double y, double z)
FWBoolParameter m_showTrackerBarrel
Definition: FW3DViewBase.h:78
FW3DViewDistanceMeasureTool * m_DMT
Definition: FW3DViewBase.h:87
void selectable(bool)
float float float z
void setCameraType(long)
virtual void addTo(FWConfiguration &) const
virtual void populateController(ViewerParameterGUI &) const
FWEnumParameter m_rnrStyle
Definition: FW3DViewBase.h:81
FWBoolParameter m_showPixelEndcap
Definition: FW3DViewBase.h:77
void updateGlobalSceneScaleParameters()
virtual void setContext(const fireworks::Context &)
const FW3DViewBase & operator=(const FW3DViewBase &)
TGLClip * m_glClip
Definition: FW3DViewBase.h:71
TEveLine * m_DMTline
Definition: FW3DViewBase.h:88
FWEnumParameter m_showMuonBarrel
Definition: FW3DViewBase.h:74
FW3DViewBase(TEveWindowSlot *, FWViewType::EType, unsigned int version=8)
FW3DViewGeometry * m_geometry
Definition: FW3DViewBase.h:70
Definition: DDAxes.h:10
FWBoolParameter m_selectable
Definition: FW3DViewBase.h:83
FWEnumParameter m_cameraType
Definition: FW3DViewBase.h:85
FWBoolParameter m_showTrackerEndcap
Definition: FW3DViewBase.h:79
FWBoolParameter m_showPixelBarrel
Definition: FW3DViewBase.h:76