17#ifndef __albaGizmoRotate_H__
18#define __albaGizmoRotate_H__
108 void Show(
bool showX,
bool showY,
bool showZ);
167 friend class albaGizmoRotateTest;
Implementation of the message object for the Subject/Observer design pattern.
gui class for rotation gizmo
albaGUI is a panel with function to easily create GUI.
Base class for operations and views gizmos.
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 Show(bool show)
Show the gizmo.
albaMatrix * GetAbsPose()
Get the gizmo abs pose.
void SetAlwaysVisible(bool alwaysVisible)
Superclass override.
void SetRenderWindowHeightPercentage(double percentage)
Superclass override.
AXIS
gizmo components enum
albaGUI * GetGui()
Return gui owned by the gizmo.
virtual ~albaGizmoRotate()
double GetCircleFanRadius()
void OnEventGizmoGui(albaEventBase *alba_event)
Gizmo components events handling.
void Show(bool showX, bool showY, bool showZ)
bool m_BuildGUI
Build Gizmo GUI.
void SendTransformMatrixFromGui(albaEventBase *alba_event)
Send matrix to postmultiply to listener.
void SetAbsPose(albaMatrix *absPose, bool applyPoseToFans=true)
Set the gizmo pose.
void SetAutoscale(bool autoscale)
Superclass override.
void SetCircleFanRadius(double radius)
Modify radius of circles.
void SetInput(albaVME *vme)
Set input vme for the gizmo.
void Highlight(int component)
Highlight one component and dehighlight other components.
void OnEventGizmoComponents(albaEventBase *alba_event)
Gizmo components events handling.
void SetRefSys(albaVME *refSys)
Set the vme to be used as reference system, the vme is referenced; default ref sys is vme abs matrix.
albaInteractorGenericInterface * GetInteractor(int axis)
Get the Interactor asscociated to each axis.
albaGUIGizmoRotate * m_GuiGizmoRotate
void OnEvent(albaEventBase *alba_event)
Events handling.
albaGizmoRotate(albaVME *input, albaObserver *listener=NULL, bool buildGUI=true)
Abstract class for general purpose interactor.
albaMatrix - Time stamped 4x4 Matrix.
Interface implementing the Observer of the Subject/Observer design pattern.