29#ifndef __albaGizmoCrossRotate_H__
30#define __albaGizmoCrossRotate_H__
Implementation of the message object for the Subject/Observer design pattern.
albaGUI * GetGui()
Return the gui to be plugged.
gui class for rotation gizmo
albaGUI is a panel with function to easily create GUI.
Basic gizmo component used to perform constrained rotation around an axis.
Basic gizmo component used to give rotation angle feedback.
Gizmo used to perform constrained rotation around an axis.
void SendTransformMatrixFromGui(albaEventBase *alba_event)
Send matrix to postmultiply to listener.
albaGizmoCrossRotateAxis * m_GizmoCrossRotateAxisEW
albaGizmoCrossRotateAxis * GetGizmoCrossRotateAxisNS()
void Show(bool show)
Show the gizmo.
double GetCircleFanRadius()
void OnEvent(albaEventBase *alba_event)
Events handling.
albaInteractorGenericInterface * GetInteractor(int axis)
Get the Interactor asscociated to each axis.
void SetAbsPose(albaMatrix *absPose, bool applyPoseToFans=true)
Set the gizmo pose.
albaGizmoCrossRotateAxis * GetGizmoCrossRotateAxisEW()
void SetInput(albaVME *vme)
Set input vme for the gizmo.
void SetRefSys(albaVME *refSys)
Set the vme to be used as reference system, the vme is referenced; default ref sys is vme abs matrix.
void SetAlwaysVisible(bool alwaysVisible)
Superclass override.
albaMatrix * GetAbsPose()
Get the gizmo abs pose.
void OnEventGizmoComponents(albaEventBase *alba_event)
Gizmo components events handling.
void Highlight(bool highlight)
Highlight one component and dehighlight other components.
void SetAutoscale(bool autoscale)
Superclass override.
albaGUI * GetGui()
Return gui owned by the gizmo.
albaGizmoCrossRotateAxis * m_GizmoCrossRotateAxisNS
Array holding the three gizmo that performs rotation.
albaGizmoCrossRotateFan * m_GizmoCrossRotateFan
The rotating fan gizmo.
void SetRenderWindowHeightPercentage(double percentage)
Superclass override.
virtual ~albaGizmoCrossRotate()
void SetCircleFanRadius(double radius)
Modify radius of circles.
albaGUIGizmoRotate * m_GuiGizmoRotate
AXIS
gizmo components enum
bool m_BuildGUI
Build Gizmo GUI.
void OnEventGizmoGui(albaEventBase *alba_event)
Gizmo components events handling.
albaGizmoCrossRotate(albaVME *input, albaObserver *listener=NULL, bool buildGUI=true, int axis=X)
Base class for operations and views gizmos.
Abstract class for general purpose interactor.
albaMatrix - Time stamped 4x4 Matrix.
Interface implementing the Observer of the Subject/Observer design pattern.