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

#include <albaGUIGizmoRotate.h>

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

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

Friends

class albaGUIGizmoRotateTest
 

Detailed Description

gui class for rotation gizmo

See also
Todo:

Definition at line 40 of file albaGUIGizmoRotate.h.

Member Enumeration Documentation

◆ GIZMO_ROTATE_ID

Enumerator
ID_ROTATE_X 
ID_ROTATE_Y 
ID_ROTATE_Z 

Definition at line 57 of file albaGUIGizmoRotate.h.

Constructor & Destructor Documentation

◆ albaGUIGizmoRotate()

albaGUIGizmoRotate::albaGUIGizmoRotate ( albaObserver listener,
bool  testMode = false 
)

◆ ~albaGUIGizmoRotate()

albaGUIGizmoRotate::~albaGUIGizmoRotate ( )

Member Function Documentation

◆ OnEvent()

void albaGUIGizmoRotate::OnEvent ( albaEventBase e)
virtual

process the events sent by subjects

Reimplemented from albaGUIGizmoInterface.

◆ EnableWidgets()

void albaGUIGizmoRotate::EnableWidgets ( bool  enable)
virtual

Enable-Disable the GUI's widgets.

Reimplemented from albaGUIGizmoInterface.

◆ SetAbsOrientation()

void albaGUIGizmoRotate::SetAbsOrientation ( albaMatrix pose)

Set RotAngles ivar, only rotation part is copied from pose.

◆ CreateGui()

void albaGUIGizmoRotate::CreateGui ( )
protectedvirtual

Create the GUI.

Reimplemented from albaGUIGizmoInterface.

◆ SendAbsOrientation()

void albaGUIGizmoRotate::SendAbsOrientation ( albaEventBase sourceEvent)
protected

Send position to listener as vtkMatrix.

Friends And Related Function Documentation

◆ albaGUIGizmoRotateTest

friend class albaGUIGizmoRotateTest
friend

friend test

Definition at line 82 of file albaGUIGizmoRotate.h.

Member Data Documentation

◆ m_Orientation

double albaGUIGizmoRotate::m_Orientation[3]
protected

Gui rot angles.

Definition at line 75 of file albaGUIGizmoRotate.h.


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