ALBA
|
#include <albaGUILandmark.h>
Public Types | |
enum | { ID_COLOR = MINID , ID_TRANSLATE_X , ID_TRANSLATE_Y , ID_TRANSLATE_Z , ID_REF_SYS } |
enum | GUI_STATUS { DISABLED , PICK , ENABLED } |
Public Member Functions | |
albaGUILandmark (albaVME *InputVME, albaObserver *listener=NULL, bool testMode=false) | |
~albaGUILandmark () | |
void | SetListener (albaObserver *Listener) |
virtual void | OnEvent (albaEventBase *alba_event) |
void | SetGUIStatusToDisabled () |
void | SetGUIStatusToPick () |
void | SetGUIStatusToEnabled () |
int | GetGuiStatus () |
albaVMELandmarkCloud * | GetLandmarkCLoud () |
void | SetInputVME (albaVME *vme) |
albaGUI * | GetGui () |
void | SetLMCloudName (const char *name) |
const char * | GetLMCloudName () |
void | SpawnLMOn () |
void | SpawnLMOff () |
int | GetSpawnLM () |
void | SetRadiusFromBoundsFraction (int fraction) |
Public Member Functions inherited from albaObserver | |
albaObserver () | |
virtual | ~albaObserver () |
virtual void | OnEvent (albaEventBase *e)=0 |
Static Public Member Functions | |
static bool | VmeAccept (albaVME *node) |
Protected Member Functions | |
void | CreateTranslateISACompositor () |
void | CreateGui () |
int | AttachInteractor (albaVME *vme, albaInteractor *newInteractor, albaInteractor *storeOldInteractor) |
int | AttachInteractor (albaVME *vme, albaInteractor *newInteractor) |
void | UpdateGuiInternal () |
void | GetSpawnPointCoordinates (double newPointCoord[3]) |
void | SpawnLandmark () |
void | UpdateInteractor () |
void | SetGuiAbsPosition (vtkMatrix4x4 *absPose, albaTimeStamp timeStamp=-1) |
void | TextEntriesChanged () |
void | RefSysVmeChanged () |
void | OnVmePicked (albaEvent &e) |
void | SetRefSysVME (albaVME *refSysVME) |
void | OnRefSysVmeChanged () |
void | OnTextEntriesChanged () |
void | OnTranslate (albaEvent &e) |
Protected Attributes | |
double | m_CurrentTime |
double | m_Position [3] |
bool | m_TestMode |
albaInteractor * | m_OldInteractor |
albaInteractorPicker * | m_PickerInteractor |
albaInteractorCompositorMouse * | m_IsaCompositor |
albaInteractorGenericMouse * | m_IsaTranslate |
albaInteractorGenericMouse * | m_IsaTranslateSnap |
albaInteractor * | m_OldInputVMEBehavior |
albaObserver * | m_Listener |
albaGUI * | m_Gui |
albaString | m_LMCloudName |
albaString | m_RefSysVMEName |
albaVME * | m_InputVME |
albaVME * | m_RefSysVME |
albaVMELandmarkCloud * | m_LMCloud |
albaVMELandmark * | m_Landmark |
const char * | m_LandmarkName |
int | m_GUIStatus |
int | m_SpawnLM |
int | m_BoundsFraction |
Pluggable component for albaOpIterativeRegistration operation.
Definition at line 51 of file albaGUILandmark.h.
anonymous enum |
Enumerator | |
---|---|
ID_COLOR | |
ID_TRANSLATE_X | |
ID_TRANSLATE_Y | |
ID_TRANSLATE_Z | |
ID_REF_SYS |
Definition at line 70 of file albaGUILandmark.h.
Enumerator | |
---|---|
DISABLED | |
PICK | |
ENABLED |
Definition at line 79 of file albaGUILandmark.h.
albaGUILandmark::albaGUILandmark | ( | albaVME * | InputVME, |
albaObserver * | listener = NULL , |
||
bool | testMode = false |
||
) |
constructor
albaGUILandmark::~albaGUILandmark | ( | ) |
destructor
|
inline |
Set the event receiver object.
Definition at line 60 of file albaGUILandmark.h.
|
virtual |
Events handling.
Implements albaObserver.
void albaGUILandmark::SetGUIStatusToDisabled | ( | ) |
void albaGUILandmark::SetGUIStatusToPick | ( | ) |
void albaGUILandmark::SetGUIStatusToEnabled | ( | ) |
|
inline |
Definition at line 89 of file albaGUILandmark.h.
|
inline |
Definition at line 91 of file albaGUILandmark.h.
void albaGUILandmark::SetInputVME | ( | albaVME * | vme | ) |
|
inline |
Definition at line 95 of file albaGUILandmark.h.
|
inline |
Definition at line 97 of file albaGUILandmark.h.
|
inline |
Definition at line 98 of file albaGUILandmark.h.
|
inline |
Definition at line 100 of file albaGUILandmark.h.
|
inline |
Definition at line 101 of file albaGUILandmark.h.
|
inline |
Definition at line 102 of file albaGUILandmark.h.
|
inlinestatic |
Definition at line 104 of file albaGUILandmark.h.
|
inline |
Definition at line 106 of file albaGUILandmark.h.
|
protected |
Create interactors.
|
protected |
Override superclass.
|
protected |
Attach interactor to vme; return 0 on success, -1 otherwise
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 139 of file albaGUILandmark.h.
|
protected |
Definition at line 140 of file albaGUILandmark.h.
|
protected |
Definition at line 143 of file albaGUILandmark.h.
|
protected |
Definition at line 145 of file albaGUILandmark.h.
|
protected |
Definition at line 146 of file albaGUILandmark.h.
|
protected |
Definition at line 147 of file albaGUILandmark.h.
|
protected |
Definition at line 148 of file albaGUILandmark.h.
|
protected |
Definition at line 149 of file albaGUILandmark.h.
|
protected |
Definition at line 150 of file albaGUILandmark.h.
|
protected |
Definition at line 152 of file albaGUILandmark.h.
|
protected |
Definition at line 153 of file albaGUILandmark.h.
|
protected |
Definition at line 155 of file albaGUILandmark.h.
|
protected |
Definition at line 156 of file albaGUILandmark.h.
|
protected |
Definition at line 158 of file albaGUILandmark.h.
|
protected |
Definition at line 159 of file albaGUILandmark.h.
|
protected |
Definition at line 160 of file albaGUILandmark.h.
|
protected |
Definition at line 161 of file albaGUILandmark.h.
|
protected |
Definition at line 163 of file albaGUILandmark.h.
|
protected |
Definition at line 165 of file albaGUILandmark.h.
|
protected |
Definition at line 166 of file albaGUILandmark.h.
|
protected |
Definition at line 167 of file albaGUILandmark.h.