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 {
12  friend class FW3DViewBase;
13 
14 public:
15 
17 
20 
21  void resetAction ();
22 
23  void Print() const;
24  TGLVector3& refCurrentVertex();
25 
26  void setActionPnt1();
27  void setActionPnt2();
28 
29  TGCompositeFrame* buildGUI(TGCompositeFrame* p);
30 
31  protected:
32  TGLVector3 m_pnt1;
33  TGLVector3 m_pnt2;
35 
36  private:
37  TGTextButton* m_bp1;
38  TGTextButton* m_bp2;
39  TGLabel* m_lp1;
40  TGLabel* m_lp2;
41  TGLabel* m_ldist;
42 
43 
44 
46 };
47 #endif
ClassDef(FW3DViewDistanceMeasureTool, 0)
TGCompositeFrame * buildGUI(TGCompositeFrame *p)