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
ClassDef(FW3DViewDistanceMeasureTool, 0)
TGCompositeFrame * buildGUI(TGCompositeFrame *p)