Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Fireworks
Core
src
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;
10
class
FW3DViewDistanceMeasureTool
11
{
12
friend
class
FW3DViewBase
;
13
14
public
:
15
16
enum
EPickAction
{
kPnt1
,
kPnt2
,
kNone
};
17
18
FW3DViewDistanceMeasureTool
();
19
virtual
~FW3DViewDistanceMeasureTool
(){};
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
;
34
EPickAction
m_action
;
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
45
ClassDef
(
FW3DViewDistanceMeasureTool
, 0);
46
};
47
#endif
FW3DViewDistanceMeasureTool::ClassDef
ClassDef(FW3DViewDistanceMeasureTool, 0)
FW3DViewDistanceMeasureTool::buildGUI
TGCompositeFrame * buildGUI(TGCompositeFrame *p)
Definition:
FW3DViewDistanceMeasureTool.cc:79
FW3DViewDistanceMeasureTool::m_ldist
TGLabel * m_ldist
Definition:
FW3DViewDistanceMeasureTool.h:41
FW3DViewDistanceMeasureTool::resetAction
void resetAction()
Definition:
FW3DViewDistanceMeasureTool.cc:26
FW3DViewDistanceMeasureTool::m_action
EPickAction m_action
Definition:
FW3DViewDistanceMeasureTool.h:34
FW3DViewDistanceMeasureTool::refCurrentVertex
TGLVector3 & refCurrentVertex()
Definition:
FW3DViewDistanceMeasureTool.cc:65
FW3DViewDistanceMeasureTool::Print
void Print() const
Definition:
FW3DViewDistanceMeasureTool.cc:17
FW3DViewDistanceMeasureTool::setActionPnt1
void setActionPnt1()
Definition:
FW3DViewDistanceMeasureTool.cc:49
FW3DViewDistanceMeasureTool::setActionPnt2
void setActionPnt2()
Definition:
FW3DViewDistanceMeasureTool.cc:57
FW3DViewDistanceMeasureTool::~FW3DViewDistanceMeasureTool
virtual ~FW3DViewDistanceMeasureTool()
Definition:
FW3DViewDistanceMeasureTool.h:19
FW3DViewDistanceMeasureTool::m_pnt1
TGLVector3 m_pnt1
Definition:
FW3DViewDistanceMeasureTool.h:32
FW3DViewBase
Definition:
FW3DViewBase.h:40
FW3DViewDistanceMeasureTool::m_pnt2
TGLVector3 m_pnt2
Definition:
FW3DViewDistanceMeasureTool.h:33
FW3DViewDistanceMeasureTool::m_bp2
TGTextButton * m_bp2
Definition:
FW3DViewDistanceMeasureTool.h:38
FW3DViewDistanceMeasureTool::FW3DViewDistanceMeasureTool
FW3DViewDistanceMeasureTool()
Definition:
FW3DViewDistanceMeasureTool.cc:11
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
FW3DViewDistanceMeasureTool::EPickAction
EPickAction
Definition:
FW3DViewDistanceMeasureTool.h:16
FW3DViewDistanceMeasureTool::kNone
Definition:
FW3DViewDistanceMeasureTool.h:16
FW3DViewDistanceMeasureTool::kPnt1
Definition:
FW3DViewDistanceMeasureTool.h:16
FW3DViewDistanceMeasureTool::m_lp2
TGLabel * m_lp2
Definition:
FW3DViewDistanceMeasureTool.h:40
FW3DViewDistanceMeasureTool::m_bp1
TGTextButton * m_bp1
Definition:
FW3DViewDistanceMeasureTool.h:37
FW3DViewDistanceMeasureTool::kPnt2
Definition:
FW3DViewDistanceMeasureTool.h:16
FW3DViewDistanceMeasureTool::m_lp1
TGLabel * m_lp1
Definition:
FW3DViewDistanceMeasureTool.h:39
FW3DViewDistanceMeasureTool
Definition:
FW3DViewDistanceMeasureTool.h:10
Generated for CMSSW Reference Manual by
1.8.5