ALBA
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaGUILandmark Class Reference

#include <albaGUILandmark.h>

Inheritance diagram for albaGUILandmark:
Inheritance graph
[legend]
Collaboration diagram for albaGUILandmark:
Collaboration graph
[legend]

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)
 
albaGUIGetGui ()
 
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
 
albaInteractorm_OldInteractor
 
albaInteractorPickerm_PickerInteractor
 
albaInteractorCompositorMousem_IsaCompositor
 
albaInteractorGenericMousem_IsaTranslate
 
albaInteractorGenericMousem_IsaTranslateSnap
 
albaInteractorm_OldInputVMEBehavior
 
albaObserverm_Listener
 
albaGUIm_Gui
 
albaString m_LMCloudName
 
albaString m_RefSysVMEName
 
albaVMEm_InputVME
 
albaVMEm_RefSysVME
 
albaVMELandmarkCloud * m_LMCloud
 
albaVMELandmark * m_Landmark
 
const char * m_LandmarkName
 
int m_GUIStatus
 
int m_SpawnLM
 
int m_BoundsFraction
 

Detailed Description

Pluggable component for albaOpIterativeRegistration operation.

See also
  • albaOpIterativeRegistration
Todo:
  • Code cleaning and improve documentation

Definition at line 51 of file albaGUILandmark.h.

Member Enumeration Documentation

◆ anonymous enum

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.

◆ GUI_STATUS

Enumerator
DISABLED 
PICK 
ENABLED 

Definition at line 79 of file albaGUILandmark.h.

Constructor & Destructor Documentation

◆ albaGUILandmark()

albaGUILandmark::albaGUILandmark ( albaVME InputVME,
albaObserver listener = NULL,
bool  testMode = false 
)

constructor

◆ ~albaGUILandmark()

albaGUILandmark::~albaGUILandmark ( )

destructor

Member Function Documentation

◆ SetListener()

void albaGUILandmark::SetListener ( albaObserver Listener)
inline

Set the event receiver object.

Definition at line 60 of file albaGUILandmark.h.

◆ OnEvent()

virtual void albaGUILandmark::OnEvent ( albaEventBase alba_event)
virtual

Events handling.

Implements albaObserver.

◆ SetGUIStatusToDisabled()

void albaGUILandmark::SetGUIStatusToDisabled ( )

◆ SetGUIStatusToPick()

void albaGUILandmark::SetGUIStatusToPick ( )

◆ SetGUIStatusToEnabled()

void albaGUILandmark::SetGUIStatusToEnabled ( )

◆ GetGuiStatus()

int albaGUILandmark::GetGuiStatus ( )
inline

Definition at line 89 of file albaGUILandmark.h.

◆ GetLandmarkCLoud()

albaVMELandmarkCloud * albaGUILandmark::GetLandmarkCLoud ( )
inline

Definition at line 91 of file albaGUILandmark.h.

◆ SetInputVME()

void albaGUILandmark::SetInputVME ( albaVME vme)

◆ GetGui()

albaGUI * albaGUILandmark::GetGui ( )
inline

Definition at line 95 of file albaGUILandmark.h.

◆ SetLMCloudName()

void albaGUILandmark::SetLMCloudName ( const char *  name)
inline

Definition at line 97 of file albaGUILandmark.h.

◆ GetLMCloudName()

const char * albaGUILandmark::GetLMCloudName ( )
inline

Definition at line 98 of file albaGUILandmark.h.

◆ SpawnLMOn()

void albaGUILandmark::SpawnLMOn ( )
inline

Definition at line 100 of file albaGUILandmark.h.

◆ SpawnLMOff()

void albaGUILandmark::SpawnLMOff ( )
inline

Definition at line 101 of file albaGUILandmark.h.

◆ GetSpawnLM()

int albaGUILandmark::GetSpawnLM ( )
inline

Definition at line 102 of file albaGUILandmark.h.

◆ VmeAccept()

static bool albaGUILandmark::VmeAccept ( albaVME node)
inlinestatic

Definition at line 104 of file albaGUILandmark.h.

◆ SetRadiusFromBoundsFraction()

void albaGUILandmark::SetRadiusFromBoundsFraction ( int  fraction)
inline

Definition at line 106 of file albaGUILandmark.h.

◆ CreateTranslateISACompositor()

void albaGUILandmark::CreateTranslateISACompositor ( )
protected

Create interactors.

◆ CreateGui()

void albaGUILandmark::CreateGui ( )
protected

Override superclass.

◆ AttachInteractor() [1/2]

int albaGUILandmark::AttachInteractor ( albaVME vme,
albaInteractor newInteractor,
albaInteractor storeOldInteractor 
)
protected

Attach interactor to vme; return 0 on success, -1 otherwise

◆ AttachInteractor() [2/2]

int albaGUILandmark::AttachInteractor ( albaVME vme,
albaInteractor newInteractor 
)
protected

◆ UpdateGuiInternal()

void albaGUILandmark::UpdateGuiInternal ( )
protected

◆ GetSpawnPointCoordinates()

void albaGUILandmark::GetSpawnPointCoordinates ( double  newPointCoord[3])
protected

◆ SpawnLandmark()

void albaGUILandmark::SpawnLandmark ( )
protected

◆ UpdateInteractor()

void albaGUILandmark::UpdateInteractor ( )
protected

◆ SetGuiAbsPosition()

void albaGUILandmark::SetGuiAbsPosition ( vtkMatrix4x4 *  absPose,
albaTimeStamp  timeStamp = -1 
)
protected

◆ TextEntriesChanged()

void albaGUILandmark::TextEntriesChanged ( )
protected

◆ RefSysVmeChanged()

void albaGUILandmark::RefSysVmeChanged ( )
protected

◆ OnVmePicked()

void albaGUILandmark::OnVmePicked ( albaEvent e)
protected

◆ SetRefSysVME()

void albaGUILandmark::SetRefSysVME ( albaVME refSysVME)
protected

◆ OnRefSysVmeChanged()

void albaGUILandmark::OnRefSysVmeChanged ( )
protected

◆ OnTextEntriesChanged()

void albaGUILandmark::OnTextEntriesChanged ( )
protected

◆ OnTranslate()

void albaGUILandmark::OnTranslate ( albaEvent e)
protected

Member Data Documentation

◆ m_CurrentTime

double albaGUILandmark::m_CurrentTime
protected

Definition at line 139 of file albaGUILandmark.h.

◆ m_Position

double albaGUILandmark::m_Position[3]
protected

Definition at line 140 of file albaGUILandmark.h.

◆ m_TestMode

bool albaGUILandmark::m_TestMode
protected

Definition at line 143 of file albaGUILandmark.h.

◆ m_OldInteractor

albaInteractor* albaGUILandmark::m_OldInteractor
protected

Definition at line 145 of file albaGUILandmark.h.

◆ m_PickerInteractor

albaInteractorPicker* albaGUILandmark::m_PickerInteractor
protected

Definition at line 146 of file albaGUILandmark.h.

◆ m_IsaCompositor

albaInteractorCompositorMouse* albaGUILandmark::m_IsaCompositor
protected

Definition at line 147 of file albaGUILandmark.h.

◆ m_IsaTranslate

albaInteractorGenericMouse* albaGUILandmark::m_IsaTranslate
protected

Definition at line 148 of file albaGUILandmark.h.

◆ m_IsaTranslateSnap

albaInteractorGenericMouse* albaGUILandmark::m_IsaTranslateSnap
protected

Definition at line 149 of file albaGUILandmark.h.

◆ m_OldInputVMEBehavior

albaInteractor* albaGUILandmark::m_OldInputVMEBehavior
protected

Definition at line 150 of file albaGUILandmark.h.

◆ m_Listener

albaObserver* albaGUILandmark::m_Listener
protected

Definition at line 152 of file albaGUILandmark.h.

◆ m_Gui

albaGUI* albaGUILandmark::m_Gui
protected

Definition at line 153 of file albaGUILandmark.h.

◆ m_LMCloudName

albaString albaGUILandmark::m_LMCloudName
protected

Definition at line 155 of file albaGUILandmark.h.

◆ m_RefSysVMEName

albaString albaGUILandmark::m_RefSysVMEName
protected

Definition at line 156 of file albaGUILandmark.h.

◆ m_InputVME

albaVME* albaGUILandmark::m_InputVME
protected

Definition at line 158 of file albaGUILandmark.h.

◆ m_RefSysVME

albaVME* albaGUILandmark::m_RefSysVME
protected

Definition at line 159 of file albaGUILandmark.h.

◆ m_LMCloud

albaVMELandmarkCloud* albaGUILandmark::m_LMCloud
protected

Definition at line 160 of file albaGUILandmark.h.

◆ m_Landmark

albaVMELandmark* albaGUILandmark::m_Landmark
protected

Definition at line 161 of file albaGUILandmark.h.

◆ m_LandmarkName

const char* albaGUILandmark::m_LandmarkName
protected

Definition at line 163 of file albaGUILandmark.h.

◆ m_GUIStatus

int albaGUILandmark::m_GUIStatus
protected

Definition at line 165 of file albaGUILandmark.h.

◆ m_SpawnLM

int albaGUILandmark::m_SpawnLM
protected

Definition at line 166 of file albaGUILandmark.h.

◆ m_BoundsFraction

int albaGUILandmark::m_BoundsFraction
protected

Definition at line 167 of file albaGUILandmark.h.


The documentation for this class was generated from the following file: