|
ALBA
|
#include <albaGizmoCrossRotateTranslate.h>


Public Types | |
| enum | NORMAL { X = 0 , Y = 1 , Z = 2 } |
| enum | COMPONENT { GREW = 0 , GTAEW , GTPEW , GRNS , GTANS , GTPNS } |
| enum | COLOR { RED = 0 , GREEN , BLUE } |
Public Member Functions | |
| albaGizmoCrossRotateTranslate () | |
| ~albaGizmoCrossRotateTranslate () | |
| void | SetColor (int component, int color) |
| void | Create (albaVME *input, albaObserver *listener=NULL, bool BuildGUI=true, int normal=X) |
| void | SetInput (albaVME *vme) |
| void | SetRenderWindowHeightPercentage (double percentage) |
| void | SetAutoscale (bool autoscale) |
| void | SetAlwaysVisible (bool alwaysVisible) |
| void | SetRefSys (albaVME *refSys) |
| void | SetAbsPose (albaMatrix *absPose) |
| albaMatrix * | GetAbsPose () |
| void | Show (bool show) |
| void | SetName (albaString name) |
| albaString | GetName () |
| void | OnEvent (albaEventBase *alba_event) |
Public Attributes | |
| albaString | m_NameRTG |
| albaGizmoCrossTranslate * | m_GizmoCrossTranslate |
| albaGizmoCrossRotate * | m_GizmoCrossRotate |
| albaObserver * | m_Listener |
Gizmo used to perform constrained roto-translation on a given plane.
Input must be a albaVMESlicer slicing a albaVMEVolumeGray (TO IMPROVE) Movement is costrained inside the sliced volume.
Definition at line 53 of file albaGizmoCrossRotateTranslate.h.
| Enumerator | |
|---|---|
| X | |
| Y | |
| Z | |
Definition at line 60 of file albaGizmoCrossRotateTranslate.h.
| Enumerator | |
|---|---|
| GREW | |
| GTAEW | |
| GTPEW | |
| GRNS | |
| GTANS | |
| GTPNS | |
Definition at line 63 of file albaGizmoCrossRotateTranslate.h.
| Enumerator | |
|---|---|
| RED | |
| GREEN | |
| BLUE | |
Definition at line 64 of file albaGizmoCrossRotateTranslate.h.
| albaGizmoCrossRotateTranslate::albaGizmoCrossRotateTranslate | ( | ) |
| albaGizmoCrossRotateTranslate::~albaGizmoCrossRotateTranslate | ( | ) |
| void albaGizmoCrossRotateTranslate::SetColor | ( | int | component, |
| int | color | ||
| ) |
| void albaGizmoCrossRotateTranslate::Create | ( | albaVME * | input, |
| albaObserver * | listener = NULL, |
||
| bool | BuildGUI = true, |
||
| int | normal = X |
||
| ) |
|
virtual |
Set input vme for the gizmo: gizmo are tools used to manipulate VMEs and this variable holds a reference to the controlled VME.
Can be used also to initialize gizmo dimensions and position
Reimplemented from albaGizmoInterface.
| void albaGizmoCrossRotateTranslate::SetRenderWindowHeightPercentage | ( | double | percentage | ) |
Superclass override.
| void albaGizmoCrossRotateTranslate::SetAutoscale | ( | bool | autoscale | ) |
Superclass override.
| void albaGizmoCrossRotateTranslate::SetAlwaysVisible | ( | bool | alwaysVisible | ) |
Superclass override.
| void albaGizmoCrossRotateTranslate::SetRefSys | ( | albaVME * | refSys | ) |
|
virtual |
Set/Get the gizmo abs pose at the current time stamp.
Reimplemented from albaGizmoInterface.
|
virtual |
Get the gizmo abs pose.
Reimplemented from albaGizmoInterface.
|
virtual |
Show the gizmo (not implemented)
Reimplemented from albaGizmoInterface.
| void albaGizmoCrossRotateTranslate::SetName | ( | albaString | name | ) |
|
inline |
Definition at line 89 of file albaGizmoCrossRotateTranslate.h.
|
virtual |
Events handling (not implemented)
Reimplemented from albaGizmoInterface.
| albaString albaGizmoCrossRotateTranslate::m_NameRTG |
Definition at line 92 of file albaGizmoCrossRotateTranslate.h.
| albaGizmoCrossTranslate* albaGizmoCrossRotateTranslate::m_GizmoCrossTranslate |
Definition at line 94 of file albaGizmoCrossRotateTranslate.h.
| albaGizmoCrossRotate* albaGizmoCrossRotateTranslate::m_GizmoCrossRotate |
Definition at line 95 of file albaGizmoCrossRotateTranslate.h.
| albaObserver* albaGizmoCrossRotateTranslate::m_Listener |
Definition at line 97 of file albaGizmoCrossRotateTranslate.h.