#include <FW3DViewDistanceMeasureTool.h>
Public Types | |
enum | EPickAction { kPnt1, kPnt2, kNone } |
Public Member Functions | |
TGCompositeFrame * | buildGUI (TGCompositeFrame *p) |
FW3DViewDistanceMeasureTool () | |
void | Print () const |
TGLVector3 & | refCurrentVertex () |
void | resetAction () |
void | setActionPnt1 () |
void | setActionPnt2 () |
virtual | ~FW3DViewDistanceMeasureTool () |
Protected Attributes | |
EPickAction | m_action |
TGLVector3 | m_pnt1 |
TGLVector3 | m_pnt2 |
Private Member Functions | |
ClassDef (FW3DViewDistanceMeasureTool, 0) | |
Private Attributes | |
TGTextButton * | m_bp1 |
TGTextButton * | m_bp2 |
TGLabel * | m_ldist |
TGLabel * | m_lp1 |
TGLabel * | m_lp2 |
Friends | |
class | FW3DViewBase |
Definition at line 10 of file FW3DViewDistanceMeasureTool.h.
Enumerator | |
---|---|
kPnt1 | |
kPnt2 | |
kNone |
Definition at line 16 of file FW3DViewDistanceMeasureTool.h.
FW3DViewDistanceMeasureTool::FW3DViewDistanceMeasureTool | ( | ) |
Definition at line 11 of file FW3DViewDistanceMeasureTool.cc.
|
inlinevirtual |
Definition at line 19 of file FW3DViewDistanceMeasureTool.h.
TGCompositeFrame * FW3DViewDistanceMeasureTool::buildGUI | ( | TGCompositeFrame * | p | ) |
|
private |
void FW3DViewDistanceMeasureTool::Print | ( | void | ) | const |
TGLVector3 & FW3DViewDistanceMeasureTool::refCurrentVertex | ( | ) |
Definition at line 65 of file FW3DViewDistanceMeasureTool.cc.
References kNone, kPnt1, m_action, m_pnt1, and m_pnt2.
Referenced by FW3DViewBase::setCurrentDMTVertex().
void FW3DViewDistanceMeasureTool::resetAction | ( | ) |
Definition at line 26 of file FW3DViewDistanceMeasureTool.cc.
References kNone, m_action, m_bp1, m_bp2, m_ldist, m_lp1, m_lp2, m_pnt1, m_pnt2, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by FW3DViewBase::setCurrentDMTVertex().
void FW3DViewDistanceMeasureTool::setActionPnt1 | ( | ) |
Definition at line 49 of file FW3DViewDistanceMeasureTool.cc.
References kPnt1, m_action, m_bp1, and m_bp2.
void FW3DViewDistanceMeasureTool::setActionPnt2 | ( | ) |
Definition at line 57 of file FW3DViewDistanceMeasureTool.cc.
References kPnt2, m_action, m_bp1, and m_bp2.
|
friend |
Definition at line 12 of file FW3DViewDistanceMeasureTool.h.
|
protected |
Definition at line 34 of file FW3DViewDistanceMeasureTool.h.
Referenced by refCurrentVertex(), FW3DViewBase::requestGLHandlerPick(), resetAction(), setActionPnt1(), setActionPnt2(), and FW3DViewBase::setCurrentDMTVertex().
|
private |
Definition at line 37 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), resetAction(), setActionPnt1(), and setActionPnt2().
|
private |
Definition at line 38 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), resetAction(), setActionPnt1(), and setActionPnt2().
|
private |
Definition at line 41 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), and resetAction().
|
private |
Definition at line 39 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), and resetAction().
|
private |
Definition at line 40 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), and resetAction().
|
protected |
Definition at line 32 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), Print(), refCurrentVertex(), and resetAction().
|
protected |
Definition at line 33 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), Print(), refCurrentVertex(), and resetAction().