17#ifndef __albaGizmoScaleIsotropic_H__
18#define __albaGizmoScaleIsotropic_H__
35class vtkTransformPolyDataFilter;
120 void SetColor(
double colR,
double colG,
double colB);
127 friend class albaGizmoScaleIsotropicTest;
Implementation of the message object for the Subject/Observer design pattern.
Base class for operations and views gizmos.
Gizmo component used to perform isotropic scaling.
double GetCubeLength() const
void CreateISA()
Create isa stuff.
void Highlight(bool highlight)
Highlight the gizmo.
void SetColor(double col[3])
Gizmo color setting facilities.
virtual void OnEvent(albaEventBase *alba_event)
Events handling.
void SetCubeLength(double length)
Set/Get the length of the cone.
albaVMEGizmo * m_CubeGizmo
Cube gizmo.
albaInteractorGenericMouse * m_IsaGen
isa generic
albaMatrix * GetAbsPose()
Get the gizmo abs pose.
albaObserver * m_Listener
Register the event receiver object.
void SetAbsPose(albaMatrix *absPose)
Set the abs pose.
vtkTransformPolyDataFilter * m_TranslatePDF
Cylinder and cube gizmo vme data.
void Show(bool show)
Show the gizmo.
albaGizmoScaleIsotropic(albaVME *input, albaObserver *listener=NULL)
albaInteractorCompositorMouse * m_IsaComp
isa compositor
void CreatePipeline()
Create vtk objects needed.
vtkCubeSource * m_Cube
Cube source.
albaVME * m_InputVme
Register input vme.
void SetRefSysMatrix(albaMatrix *constrain)
Set the constrain ref sys.
virtual ~albaGizmoScaleIsotropic()
void SetListener(albaObserver *Listener)
Set the event receiver object.
void SetColor(double colR, double colG, double colB)
void SetInput(albaVME *vme)
Set the gizmo generating vme; the gizmo will be centered on this vme.
Associates instances of albaInteractorGenericMouse to mouse buttons and ctrl/shift keys combinations.
Constrained interaction with mouse device.
albaMatrix - Time stamped 4x4 Matrix.
Interface implementing the Observer of the Subject/Observer design pattern.