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