ALBA
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
albaGUIGizmoScale Class Reference

#include <albaGUIGizmoScale.h>

Inheritance diagram for albaGUIGizmoScale:
Inheritance graph
[legend]
Collaboration diagram for albaGUIGizmoScale:
Collaboration graph
[legend]

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)
 
albaGUIGetGui ()
 
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
albaObserverm_Listener
 
albaGUIm_Gui
 
bool m_TestMode
 

Friends

class albaGUIGizmoScaleTest
 

Detailed Description

GUI class for scaling gizmo.

See also
Todo:

Definition at line 40 of file albaGUIGizmoScale.h.

Member Enumeration Documentation

◆ GIZMO_SCALE_ID

Enumerator
ID_SCALE_X 
ID_SCALE_Y 
ID_SCALE_Z 

Definition at line 58 of file albaGUIGizmoScale.h.

Constructor & Destructor Documentation

◆ albaGUIGizmoScale()

albaGUIGizmoScale::albaGUIGizmoScale ( albaObserver listener = NULL,
bool  testMode = false 
)

◆ ~albaGUIGizmoScale()

albaGUIGizmoScale::~albaGUIGizmoScale ( )

Member Function Documentation

◆ OnEvent()

void albaGUIGizmoScale::OnEvent ( albaEventBase e)
virtual

process the events sent by subjects

Reimplemented from albaGUIGizmoInterface.

◆ EnableWidgets()

void albaGUIGizmoScale::EnableWidgets ( bool  enable)
virtual

Enable-Disable the GUI's widgets.

Reimplemented from albaGUIGizmoInterface.

◆ SetAbsScaling()

void albaGUIGizmoScale::SetAbsScaling ( albaMatrix pose)

Update Scaling ivar; only scaling part is copied from pose.

◆ SendAbsScaling()

void albaGUIGizmoScale::SendAbsScaling ( albaEventBase sourceEvent)
protected

◆ CreateGui()

void albaGUIGizmoScale::CreateGui ( )
protectedvirtual

Create the GUI.

Reimplemented from albaGUIGizmoInterface.

Friends And Related Function Documentation

◆ albaGUIGizmoScaleTest

friend class albaGUIGizmoScaleTest
friend

test friend

Definition at line 81 of file albaGUIGizmoScale.h.

Member Data Documentation

◆ m_Scaling

double albaGUIGizmoScale::m_Scaling[3]
protected

Gizmo abs pose.

Definition at line 78 of file albaGUIGizmoScale.h.


The documentation for this class was generated from the following file: