ALBA
|
#include <albaGizmoScaleIsotropic.h>
Public Member Functions | |
albaGizmoScaleIsotropic (albaVME *input, albaObserver *listener=NULL) | |
virtual | ~albaGizmoScaleIsotropic () |
void | SetInput (albaVME *vme) |
albaVME * | GetInput () |
void | SetListener (albaObserver *Listener) |
virtual void | OnEvent (albaEventBase *alba_event) |
void | Highlight (bool highlight) |
void | Show (bool show) |
void | SetAbsPose (albaMatrix *absPose) |
albaMatrix * | GetAbsPose () |
void | SetCubeLength (double length) |
double | GetCubeLength () const |
Public Member Functions inherited from albaGizmoInterface | |
void | SetName (albaString name) |
albaString | GetName () |
virtual void | SetInput (albaVME *vme) |
albaVME * | GetInput () |
void | SetMediator (albaObserver *mediator) |
albaObserver * | GetMediator () |
void | SetAutoscale (bool autoscale) |
bool | GetAutoscale () |
void | SetRenderWindowHeightPercentage (double percentage) |
double | GetRenderWindowHeightPercentage () |
void | SetAlwaysVisible (bool alwaysVisible) |
bool | GetAlwaysVisible () |
void | SetListener (albaObserver *listener) |
albaObserver * | GetListener () |
virtual void | OnEvent (albaEventBase *alba_event) |
virtual void | Show (bool show) |
void | SetModalityToLocal () |
void | SetModalityToGlobal () |
int | GetModality () |
virtual void | SetAbsPose (albaMatrix *absPose) |
virtual albaMatrix * | GetAbsPose () |
virtual albaGUI * | GetGui () |
Public Member Functions inherited from albaObserver | |
albaObserver () | |
virtual | ~albaObserver () |
virtual void | OnEvent (albaEventBase *e)=0 |
Protected Member Functions | |
void | SetRefSysMatrix (albaMatrix *constrain) |
void | CreatePipeline () |
void | CreateISA () |
void | SetColor (double col[3]) |
void | SetColor (double colR, double colG, double colB) |
Protected Member Functions inherited from albaGizmoInterface | |
albaGizmoInterface () | |
virtual | ~albaGizmoInterface () |
void | SendTransformMatrix (albaMatrix *matrix, int eventId, long arg) |
virtual void | OnEventGizmoGui (albaEventBase *alba_event) |
virtual void | OnEventGizmoComponents (albaEventBase *alba_event) |
Protected Attributes | |
albaVMEGizmo * | m_CubeGizmo |
albaVME * | m_InputVme |
vtkCubeSource * | m_Cube |
vtkTransformPolyDataFilter * | m_TranslatePDF |
albaInteractorCompositorMouse * | m_IsaComp |
albaInteractorGenericMouse * | m_IsaGen |
albaObserver * | m_Listener |
Protected Attributes inherited from albaGizmoInterface | |
albaObserver * | m_Mediator |
albaString | m_Name |
albaVME * | m_InputVME |
int | m_Modality |
albaObserver * | m_Listener |
albaVME * | m_RefSysVME |
bool | m_Visibility |
double | m_RenderWindowHeightPercentage |
bool | m_AlwaysVisible |
bool | m_Autoscale |
Friends | |
class | albaGizmoScaleIsotropicTest |
Additional Inherited Members | |
Public Types inherited from albaGizmoInterface | |
enum | MODALITY { G_LOCAL = 0 , G_GLOBAL } |
Gizmo component used to perform isotropic scaling.
Definition at line 42 of file albaGizmoScaleIsotropic.h.
albaGizmoScaleIsotropic::albaGizmoScaleIsotropic | ( | albaVME * | input, |
albaObserver * | listener = NULL |
||
) |
|
virtual |
|
virtual |
Set the gizmo generating vme; the gizmo will be centered on this vme.
Reimplemented from albaGizmoInterface.
|
inline |
Definition at line 51 of file albaGizmoScaleIsotropic.h.
|
inline |
Set the event receiver object.
Definition at line 58 of file albaGizmoScaleIsotropic.h.
|
virtual |
Events handling.
Reimplemented from albaGizmoInterface.
void albaGizmoScaleIsotropic::Highlight | ( | bool | highlight | ) |
Highlight the gizmo.
|
virtual |
Show the gizmo.
Reimplemented from albaGizmoInterface.
|
virtual |
Set the abs pose.
Reimplemented from albaGizmoInterface.
|
virtual |
Get the gizmo abs pose.
Reimplemented from albaGizmoInterface.
void albaGizmoScaleIsotropic::SetCubeLength | ( | double | length | ) |
Set/Get the length of the cone.
double albaGizmoScaleIsotropic::GetCubeLength | ( | ) | const |
|
protected |
Set the constrain ref sys.
|
protected |
Create vtk objects needed.
|
protected |
Create isa stuff.
|
protected |
Gizmo color setting facilities.
|
protected |
|
friend |
friend test
Definition at line 127 of file albaGizmoScaleIsotropic.h.
|
protected |
Cube gizmo.
Definition at line 92 of file albaGizmoScaleIsotropic.h.
|
protected |
Register input vme.
Definition at line 95 of file albaGizmoScaleIsotropic.h.
|
protected |
Cube source.
Definition at line 98 of file albaGizmoScaleIsotropic.h.
|
protected |
Cylinder and cube gizmo vme data.
translate PDF for cylinder and cube
Definition at line 104 of file albaGizmoScaleIsotropic.h.
|
protected |
isa compositor
Definition at line 113 of file albaGizmoScaleIsotropic.h.
|
protected |
isa generic
Definition at line 116 of file albaGizmoScaleIsotropic.h.
|
protected |
Register the event receiver object.
Definition at line 124 of file albaGizmoScaleIsotropic.h.