ALBA
|
#include <albaGUIGizmoScale.h>
Public Types | |
enum | GIZMO_SCALE_ID { ID_SCALE_X = MINID , ID_SCALE_Y , ID_SCALE_Z } |
Public Member Functions | |
albaGUIGizmoScale (albaObserver *listener=NULL, bool testMode=false) | |
~albaGUIGizmoScale () | |
void | OnEvent (albaEventBase *alba_event) |
void | EnableWidgets (bool enable) |
void | SetAbsScaling (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 | SendAbsScaling (albaEventBase *sourceEvent) |
void | CreateGui () |
Protected Member Functions inherited from albaGUIGizmoInterface | |
virtual void | CreateGui () |
albaGUIGizmoInterface (albaObserver *listener=NULL) | |
Protected Attributes | |
double | m_Scaling [3] |
Protected Attributes inherited from albaGUIGizmoInterface | |
albaObserver * | m_Listener |
albaGUI * | m_Gui |
bool | m_TestMode |
Friends | |
class | albaGUIGizmoScaleTest |
Enumerator | |
---|---|
ID_SCALE_X | |
ID_SCALE_Y | |
ID_SCALE_Z |
Definition at line 58 of file albaGUIGizmoScale.h.
albaGUIGizmoScale::albaGUIGizmoScale | ( | albaObserver * | listener = NULL , |
bool | testMode = false |
||
) |
albaGUIGizmoScale::~albaGUIGizmoScale | ( | ) |
|
virtual |
process the events sent by subjects
Reimplemented from albaGUIGizmoInterface.
|
virtual |
Enable-Disable the GUI's widgets.
Reimplemented from albaGUIGizmoInterface.
void albaGUIGizmoScale::SetAbsScaling | ( | albaMatrix * | pose | ) |
Update Scaling ivar; only scaling part is copied from pose.
|
protected |
|
protectedvirtual |
Create the GUI.
Reimplemented from albaGUIGizmoInterface.
|
friend |
test friend
Definition at line 81 of file albaGUIGizmoScale.h.
|
protected |
Gizmo abs pose.
Definition at line 78 of file albaGUIGizmoScale.h.