ALBA
Public Types | Public Member Functions | Public Attributes | List of all members
albaGizmoCrossRotateTranslate Class Reference

#include <albaGizmoCrossRotateTranslate.h>

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

Public Types

enum  NORMAL { X = 0 , Y = 1 , Z = 2 }
 
enum  COMPONENT {
  GREW = 0 , GTAEW , GTPEW , GRNS ,
  GTANS , GTPNS
}
 
enum  COLOR { RED = 0 , GREEN , BLUE }
 

Public Member Functions

 albaGizmoCrossRotateTranslate ()
 
 ~albaGizmoCrossRotateTranslate ()
 
void SetColor (int component, int color)
 
void Create (albaVME *input, albaObserver *listener=NULL, bool BuildGUI=true, int normal=X)
 
void SetInput (albaVME *vme)
 
void SetRenderWindowHeightPercentage (double percentage)
 
void SetAutoscale (bool autoscale)
 
void SetAlwaysVisible (bool alwaysVisible)
 
void SetRefSys (albaVME *refSys)
 
void SetAbsPose (albaMatrix *absPose)
 
albaMatrixGetAbsPose ()
 
void Show (bool show)
 
void SetName (albaString name)
 
albaString GetName ()
 
void OnEvent (albaEventBase *alba_event)
 

Public Attributes

albaString m_NameRTG
 
albaGizmoCrossTranslatem_GizmoCrossTranslate
 
albaGizmoCrossRotatem_GizmoCrossRotate
 
albaObserverm_Listener
 

Detailed Description

Gizmo used to perform constrained roto-translation on a given plane.

Input must be a albaVMESlicer slicing a albaVMEVolumeGray (TO IMPROVE) Movement is costrained inside the sliced volume.

Definition at line 53 of file albaGizmoCrossRotateTranslate.h.

Member Enumeration Documentation

◆ NORMAL

Enumerator

Definition at line 60 of file albaGizmoCrossRotateTranslate.h.

◆ COMPONENT

Enumerator
GREW 
GTAEW 
GTPEW 
GRNS 
GTANS 
GTPNS 

Definition at line 63 of file albaGizmoCrossRotateTranslate.h.

◆ COLOR

Enumerator
RED 
GREEN 
BLUE 

Definition at line 64 of file albaGizmoCrossRotateTranslate.h.

Constructor & Destructor Documentation

◆ albaGizmoCrossRotateTranslate()

albaGizmoCrossRotateTranslate::albaGizmoCrossRotateTranslate ( )

◆ ~albaGizmoCrossRotateTranslate()

albaGizmoCrossRotateTranslate::~albaGizmoCrossRotateTranslate ( )

Member Function Documentation

◆ SetColor()

void albaGizmoCrossRotateTranslate::SetColor ( int  component,
int  color 
)

◆ Create()

void albaGizmoCrossRotateTranslate::Create ( albaVME input,
albaObserver listener = NULL,
bool  BuildGUI = true,
int  normal = X 
)

◆ SetInput()

void albaGizmoCrossRotateTranslate::SetInput ( albaVME vme)
virtual

Set input vme for the gizmo: gizmo are tools used to manipulate VMEs and this variable holds a reference to the controlled VME.

Can be used also to initialize gizmo dimensions and position

Reimplemented from albaGizmoInterface.

◆ SetRenderWindowHeightPercentage()

void albaGizmoCrossRotateTranslate::SetRenderWindowHeightPercentage ( double  percentage)

Superclass override.

◆ SetAutoscale()

void albaGizmoCrossRotateTranslate::SetAutoscale ( bool  autoscale)

Superclass override.

◆ SetAlwaysVisible()

void albaGizmoCrossRotateTranslate::SetAlwaysVisible ( bool  alwaysVisible)

Superclass override.

◆ SetRefSys()

void albaGizmoCrossRotateTranslate::SetRefSys ( albaVME refSys)

◆ SetAbsPose()

void albaGizmoCrossRotateTranslate::SetAbsPose ( albaMatrix absPose)
virtual

Set/Get the gizmo abs pose at the current time stamp.

Reimplemented from albaGizmoInterface.

◆ GetAbsPose()

albaMatrix * albaGizmoCrossRotateTranslate::GetAbsPose ( )
virtual

Get the gizmo abs pose.

Reimplemented from albaGizmoInterface.

◆ Show()

void albaGizmoCrossRotateTranslate::Show ( bool  show)
virtual

Show the gizmo (not implemented)

Reimplemented from albaGizmoInterface.

◆ SetName()

void albaGizmoCrossRotateTranslate::SetName ( albaString  name)

◆ GetName()

albaString albaGizmoCrossRotateTranslate::GetName ( )
inline

Definition at line 89 of file albaGizmoCrossRotateTranslate.h.

◆ OnEvent()

void albaGizmoCrossRotateTranslate::OnEvent ( albaEventBase alba_event)
virtual

Events handling (not implemented)

Reimplemented from albaGizmoInterface.

Member Data Documentation

◆ m_NameRTG

albaString albaGizmoCrossRotateTranslate::m_NameRTG

Definition at line 92 of file albaGizmoCrossRotateTranslate.h.

◆ m_GizmoCrossTranslate

albaGizmoCrossTranslate* albaGizmoCrossRotateTranslate::m_GizmoCrossTranslate

Definition at line 94 of file albaGizmoCrossRotateTranslate.h.

◆ m_GizmoCrossRotate

albaGizmoCrossRotate* albaGizmoCrossRotateTranslate::m_GizmoCrossRotate

Definition at line 95 of file albaGizmoCrossRotateTranslate.h.

◆ m_Listener

albaObserver* albaGizmoCrossRotateTranslate::m_Listener

Definition at line 97 of file albaGizmoCrossRotateTranslate.h.


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