ALBA
|
#include <albaGUIGizmoTranslate.h>
Public Types | |
enum | GUI_GIZMO_TRANSLATE_ID { ID_TRANSLATE_X = MINID , ID_TRANSLATE_Y , ID_TRANSLATE_Z } |
Public Member Functions | |
albaGUIGizmoTranslate (albaObserver *listener=NULL, bool testMode=false) | |
~albaGUIGizmoTranslate () | |
void | OnEvent (albaEventBase *alba_event) |
void | EnableWidgets (bool enable) |
void | SetAbsPosition (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 | SendAbsPosition (albaEventBase *sourceEvent) |
void | CreateGui () |
Protected Member Functions inherited from albaGUIGizmoInterface | |
virtual void | CreateGui () |
albaGUIGizmoInterface (albaObserver *listener=NULL) | |
Protected Attributes | |
double | m_Position [3] |
Protected Attributes inherited from albaGUIGizmoInterface | |
albaObserver * | m_Listener |
albaGUI * | m_Gui |
bool | m_TestMode |
Friends | |
class | albaGUIGizmoTranslateTest |
Enumerator | |
---|---|
ID_TRANSLATE_X | |
ID_TRANSLATE_Y | |
ID_TRANSLATE_Z |
Definition at line 57 of file albaGUIGizmoTranslate.h.
albaGUIGizmoTranslate::albaGUIGizmoTranslate | ( | albaObserver * | listener = NULL , |
bool | testMode = false |
||
) |
albaGUIGizmoTranslate::~albaGUIGizmoTranslate | ( | ) |
|
virtual |
process the events sent by subjects
Reimplemented from albaGUIGizmoInterface.
|
virtual |
Enable-Disable the GUI's widgets.
Reimplemented from albaGUIGizmoInterface.
void albaGUIGizmoTranslate::SetAbsPosition | ( | albaMatrix * | pose | ) |
Update Position ivar; only translation part is copied from pose.
|
protected |
|
protectedvirtual |
Create the GUI.
Reimplemented from albaGUIGizmoInterface.
|
friend |
test friend
Definition at line 80 of file albaGUIGizmoTranslate.h.
|
protected |
Gizmo abs pose.
Definition at line 77 of file albaGUIGizmoTranslate.h.