CMS 3D CMS Logo

FW3DViewDistanceMeasureTool.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FW3DViewDistanceMeasureTool_h
2 #define Fireworks_Core_FW3DViewDistanceMeasureTool_h
3 
4 #include "TGLUtil.h"
5 
6 class TGCompositeFrame;
7 class FW3DViewBase;
8 class TGTextButton;
9 class TGLabel;
11  friend class FW3DViewBase;
12 
13 public:
15 
18 
19  void resetAction();
20 
21  void Print() const;
22  TGLVector3& refCurrentVertex();
23 
24  void setActionPnt1();
25  void setActionPnt2();
26 
27  TGCompositeFrame* buildGUI(TGCompositeFrame* p);
28 
29 protected:
30  TGLVector3 m_pnt1;
31  TGLVector3 m_pnt2;
33 
34 private:
35  TGTextButton* m_bp1;
36  TGTextButton* m_bp2;
37  TGLabel* m_lp1;
38  TGLabel* m_lp2;
39  TGLabel* m_ldist;
40 
42 };
43 #endif
FW3DViewDistanceMeasureTool::m_action
EPickAction m_action
Definition: FW3DViewDistanceMeasureTool.h:32
FW3DViewDistanceMeasureTool::EPickAction
EPickAction
Definition: FW3DViewDistanceMeasureTool.h:14
FW3DViewDistanceMeasureTool::buildGUI
TGCompositeFrame * buildGUI(TGCompositeFrame *p)
Definition: FW3DViewDistanceMeasureTool.cc:70
FW3DViewDistanceMeasureTool::m_bp1
TGTextButton * m_bp1
Definition: FW3DViewDistanceMeasureTool.h:35
FW3DViewDistanceMeasureTool::refCurrentVertex
TGLVector3 & refCurrentVertex()
Definition: FW3DViewDistanceMeasureTool.cc:58
FW3DViewDistanceMeasureTool::m_pnt1
TGLVector3 m_pnt1
Definition: FW3DViewDistanceMeasureTool.h:30
FW3DViewDistanceMeasureTool::Print
void Print() const
Definition: FW3DViewDistanceMeasureTool.cc:14
FW3DViewDistanceMeasureTool::m_ldist
TGLabel * m_ldist
Definition: FW3DViewDistanceMeasureTool.h:39
FW3DViewDistanceMeasureTool::FW3DViewDistanceMeasureTool
FW3DViewDistanceMeasureTool()
Definition: FW3DViewDistanceMeasureTool.cc:11
FW3DViewDistanceMeasureTool::kNone
Definition: FW3DViewDistanceMeasureTool.h:14
FW3DViewDistanceMeasureTool::m_lp2
TGLabel * m_lp2
Definition: FW3DViewDistanceMeasureTool.h:38
FW3DViewDistanceMeasureTool::~FW3DViewDistanceMeasureTool
virtual ~FW3DViewDistanceMeasureTool()
Definition: FW3DViewDistanceMeasureTool.h:17
FW3DViewDistanceMeasureTool::ClassDef
ClassDef(FW3DViewDistanceMeasureTool, 0)
FW3DViewDistanceMeasureTool::m_lp1
TGLabel * m_lp1
Definition: FW3DViewDistanceMeasureTool.h:37
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
FW3DViewDistanceMeasureTool::setActionPnt2
void setActionPnt2()
Definition: FW3DViewDistanceMeasureTool.cc:51
FW3DViewDistanceMeasureTool::m_bp2
TGTextButton * m_bp2
Definition: FW3DViewDistanceMeasureTool.h:36
FW3DViewDistanceMeasureTool::kPnt2
Definition: FW3DViewDistanceMeasureTool.h:14
FW3DViewDistanceMeasureTool::resetAction
void resetAction()
Definition: FW3DViewDistanceMeasureTool.cc:22
FW3DViewBase
Definition: FW3DViewBase.h:42
FW3DViewDistanceMeasureTool::kPnt1
Definition: FW3DViewDistanceMeasureTool.h:14
FW3DViewDistanceMeasureTool::m_pnt2
TGLVector3 m_pnt2
Definition: FW3DViewDistanceMeasureTool.h:31
FW3DViewDistanceMeasureTool::setActionPnt1
void setActionPnt1()
Definition: FW3DViewDistanceMeasureTool.cc:44
FW3DViewDistanceMeasureTool
Definition: FW3DViewDistanceMeasureTool.h:10