#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 14 of file FW3DViewDistanceMeasureTool.h.
FW3DViewDistanceMeasureTool::FW3DViewDistanceMeasureTool | ( | ) |
Definition at line 11 of file FW3DViewDistanceMeasureTool.cc.
|
inlinevirtual |
Definition at line 17 of file FW3DViewDistanceMeasureTool.h.
References buildGUI(), AlCaHLTBitMon_ParallelJobs::p, Print(), refCurrentVertex(), resetAction(), setActionPnt1(), and setActionPnt2().
TGCompositeFrame * FW3DViewDistanceMeasureTool::buildGUI | ( | TGCompositeFrame * | p | ) |
Definition at line 70 of file FW3DViewDistanceMeasureTool.cc.
References b, photonIsolationHIProducer_cfi::hf, m_bp1, m_bp2, m_ldist, m_lp1, m_lp2, m_pnt1, and m_pnt2.
Referenced by FW3DViewBase::populateController(), and ~FW3DViewDistanceMeasureTool().
|
private |
void FW3DViewDistanceMeasureTool::Print | ( | void | ) | const |
Definition at line 14 of file FW3DViewDistanceMeasureTool.cc.
References a, m_pnt1, and m_pnt2.
Referenced by ~FW3DViewDistanceMeasureTool().
TGLVector3 & FW3DViewDistanceMeasureTool::refCurrentVertex | ( | ) |
Definition at line 58 of file FW3DViewDistanceMeasureTool.cc.
References kNone, kPnt1, m_action, m_pnt1, and m_pnt2.
Referenced by FW3DViewBase::setCurrentDMTVertex(), and ~FW3DViewDistanceMeasureTool().
void FW3DViewDistanceMeasureTool::resetAction | ( | ) |
Definition at line 22 of file FW3DViewDistanceMeasureTool.cc.
References ztail::d, 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(), and ~FW3DViewDistanceMeasureTool().
void FW3DViewDistanceMeasureTool::setActionPnt1 | ( | ) |
Definition at line 44 of file FW3DViewDistanceMeasureTool.cc.
References kPnt1, m_action, m_bp1, and m_bp2.
Referenced by ~FW3DViewDistanceMeasureTool().
void FW3DViewDistanceMeasureTool::setActionPnt2 | ( | ) |
Definition at line 51 of file FW3DViewDistanceMeasureTool.cc.
References kPnt2, m_action, m_bp1, and m_bp2.
Referenced by ~FW3DViewDistanceMeasureTool().
|
friend |
Definition at line 11 of file FW3DViewDistanceMeasureTool.h.
|
protected |
Definition at line 32 of file FW3DViewDistanceMeasureTool.h.
Referenced by refCurrentVertex(), FW3DViewBase::requestGLHandlerPick(), resetAction(), setActionPnt1(), setActionPnt2(), and FW3DViewBase::setCurrentDMTVertex().
|
private |
Definition at line 35 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), resetAction(), setActionPnt1(), and setActionPnt2().
|
private |
Definition at line 36 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), resetAction(), setActionPnt1(), and setActionPnt2().
|
private |
Definition at line 39 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), and resetAction().
|
private |
Definition at line 37 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), and resetAction().
|
private |
Definition at line 38 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), and resetAction().
|
protected |
Definition at line 30 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), Print(), refCurrentVertex(), and resetAction().
|
protected |
Definition at line 31 of file FW3DViewDistanceMeasureTool.h.
Referenced by buildGUI(), Print(), refCurrentVertex(), and resetAction().