|
ALBA
|
#include <albaGizmoCrossRotate.h>


Protected Types | |
| enum | AXIS { X = 0 , Y , Z } |
| enum | ACTIVE_COMPONENT { NONE = -1 , X_AXIS = 0 , Y_AXIS , Z_AXIS , NUM_COMPONENTS } |
Protected Member Functions | |
| void | SendTransformMatrixFromGui (albaEventBase *alba_event) |
| void | OnEventGizmoGui (albaEventBase *alba_event) |
| void | OnEventGizmoComponents (albaEventBase *alba_event) |
| void | Highlight (bool highlight) |
Protected Member Functions inherited from albaGizmoInterface | |
| albaGizmoInterface () | |
| virtual | ~albaGizmoInterface () |
| void | SendTransformMatrix (albaMatrix *matrix, int eventId, long arg) |
| virtual void | OnEventGizmoGui (albaEventBase *alba_event) |
| virtual void | OnEventGizmoComponents (albaEventBase *alba_event) |
Protected Attributes | |
| albaGUIGizmoRotate * | m_GuiGizmoRotate |
| albaGizmoCrossRotateAxis * | m_GizmoCrossRotateAxisNS |
| albaGizmoCrossRotateAxis * | m_GizmoCrossRotateAxisEW |
| albaGizmoCrossRotateFan * | m_GizmoCrossRotateFan |
| bool | m_BuildGUI |
| double | m_CircleFanRadius |
Protected Attributes inherited from albaGizmoInterface | |
| albaObserver * | m_Mediator |
| albaString | m_Name |
| albaVME * | m_InputVME |
| int | m_Modality |
| albaObserver * | m_Listener |
| albaVME * | m_RefSysVME |
| bool | m_Visibility |
| double | m_RenderWindowHeightPercentage |
| bool | m_AlwaysVisible |
| bool | m_Autoscale |
Additional Inherited Members | |
Public Types inherited from albaGizmoInterface | |
| enum | MODALITY { G_LOCAL = 0 , G_GLOBAL } |
Gizmo used to perform constrained rotation around an axis.
Definition at line 53 of file albaGizmoCrossRotate.h.
|
protected |
|
protected |
| Enumerator | |
|---|---|
| NONE | |
| X_AXIS | |
| Y_AXIS | |
| Z_AXIS | |
| NUM_COMPONENTS | |
Definition at line 132 of file albaGizmoCrossRotate.h.
| albaGizmoCrossRotate::albaGizmoCrossRotate | ( | albaVME * | input, |
| albaObserver * | listener = NULL, |
||
| bool | buildGUI = true, |
||
| int | axis = X |
||
| ) |
|
virtual |
|
virtual |
Set input vme for the gizmo.
Reimplemented from albaGizmoInterface.
| void albaGizmoCrossRotate::SetRenderWindowHeightPercentage | ( | double | percentage | ) |
Superclass override.
| void albaGizmoCrossRotate::SetAutoscale | ( | bool | autoscale | ) |
Superclass override.
| void albaGizmoCrossRotate::SetAlwaysVisible | ( | bool | alwaysVisible | ) |
Superclass override.
|
virtual |
Events handling.
Reimplemented from albaGizmoInterface.
|
virtual |
Show the gizmo.
Reimplemented from albaGizmoInterface.
| void albaGizmoCrossRotate::SetAbsPose | ( | albaMatrix * | absPose, |
| bool | applyPoseToFans = true |
||
| ) |
Set the gizmo pose.
|
virtual |
Get the gizmo abs pose.
Reimplemented from albaGizmoInterface.
| albaInteractorGenericInterface * albaGizmoCrossRotate::GetInteractor | ( | int | axis | ) |
Get the Interactor asscociated to each axis.
| void albaGizmoCrossRotate::SetRefSys | ( | albaVME * | refSys | ) |
Set the vme to be used as reference system, the vme is referenced; default ref sys is vme abs matrix.
| albaVME * albaGizmoCrossRotate::GetRefSys | ( | ) |
|
inlinevirtual |
Return gui owned by the gizmo.
Reimplemented from albaGizmoInterface.
Definition at line 107 of file albaGizmoCrossRotate.h.
References albaGUIGizmoInterface::GetGui(), and m_GuiGizmoRotate.

| void albaGizmoCrossRotate::SetCircleFanRadius | ( | double | radius | ) |
Modify radius of circles.
| double albaGizmoCrossRotate::GetCircleFanRadius | ( | ) |
|
inline |
Definition at line 113 of file albaGizmoCrossRotate.h.
References m_GizmoCrossRotateAxisNS.
|
inline |
Definition at line 114 of file albaGizmoCrossRotate.h.
References m_GizmoCrossRotateAxisEW.
|
protected |
Send matrix to postmultiply to listener.
|
protectedvirtual |
Gizmo components events handling.
Reimplemented from albaGizmoInterface.
|
protectedvirtual |
Gizmo components events handling.
Reimplemented from albaGizmoInterface.
|
protected |
Highlight one component and dehighlight other components.
|
protected |
Definition at line 117 of file albaGizmoCrossRotate.h.
Referenced by GetGui().
|
protected |
Array holding the three gizmo that performs rotation.
Definition at line 139 of file albaGizmoCrossRotate.h.
Referenced by GetGizmoCrossRotateAxisNS().
|
protected |
Definition at line 140 of file albaGizmoCrossRotate.h.
Referenced by GetGizmoCrossRotateAxisEW().
|
protected |
The rotating fan gizmo.
Definition at line 143 of file albaGizmoCrossRotate.h.
|
protected |
Build Gizmo GUI.
Definition at line 146 of file albaGizmoCrossRotate.h.
|
protected |
Definition at line 149 of file albaGizmoCrossRotate.h.