ALBA
|
#include <albaGUIGizmoRotate.h>
Public Types | |
enum | GIZMO_ROTATE_ID { ID_ROTATE_X = MINID , ID_ROTATE_Y , ID_ROTATE_Z } |
Public Member Functions | |
albaGUIGizmoRotate (albaObserver *listener, bool testMode=false) | |
~albaGUIGizmoRotate () | |
void | OnEvent (albaEventBase *alba_event) |
void | EnableWidgets (bool enable) |
void | SetAbsOrientation (albaMatrix *pose) |
Public Member Functions inherited from albaGUIGizmoInterface | |
virtual | ~albaGUIGizmoInterface () |
virtual void | OnEvent (albaEventBase *alba_event) |
albaGUI * | GetGui () |
virtual void | EnableWidgets (bool enable) |
void | TestModeOn () |
void | TestModeOff () |
bool | GetTestMode () |
Public Member Functions inherited from albaObserver | |
albaObserver () | |
virtual | ~albaObserver () |
virtual void | OnEvent (albaEventBase *e)=0 |
Protected Member Functions | |
void | CreateGui () |
void | SendAbsOrientation (albaEventBase *sourceEvent) |
Protected Member Functions inherited from albaGUIGizmoInterface | |
virtual void | CreateGui () |
albaGUIGizmoInterface (albaObserver *listener=NULL) | |
Protected Attributes | |
double | m_Orientation [3] |
Protected Attributes inherited from albaGUIGizmoInterface | |
albaObserver * | m_Listener |
albaGUI * | m_Gui |
bool | m_TestMode |
Friends | |
class | albaGUIGizmoRotateTest |
Enumerator | |
---|---|
ID_ROTATE_X | |
ID_ROTATE_Y | |
ID_ROTATE_Z |
Definition at line 57 of file albaGUIGizmoRotate.h.
albaGUIGizmoRotate::albaGUIGizmoRotate | ( | albaObserver * | listener, |
bool | testMode = false |
||
) |
albaGUIGizmoRotate::~albaGUIGizmoRotate | ( | ) |
|
virtual |
process the events sent by subjects
Reimplemented from albaGUIGizmoInterface.
|
virtual |
Enable-Disable the GUI's widgets.
Reimplemented from albaGUIGizmoInterface.
void albaGUIGizmoRotate::SetAbsOrientation | ( | albaMatrix * | pose | ) |
Set RotAngles ivar, only rotation part is copied from pose.
|
protectedvirtual |
Create the GUI.
Reimplemented from albaGUIGizmoInterface.
|
protected |
Send position to listener as vtkMatrix.
|
friend |
friend test
Definition at line 82 of file albaGUIGizmoRotate.h.
|
protected |
Gui rot angles.
Definition at line 75 of file albaGUIGizmoRotate.h.