17#ifndef __albaGizmoRotateFan_H__
18#define __albaGizmoRotateFan_H__
30class vtkTransformPolyDataFilter;
153 void SetColor(
double colR,
double colG,
double colB);
178 friend class albaGizmoRotateFanTest;
Implementation of the message object for the Subject/Observer design pattern.
Base class for operations and views gizmos.
Basic gizmo component used to give rotation angle feedback.
virtual ~albaGizmoRotateFan()
double m_StartTheta
Start angle and end angle.
void CreatePipeline()
gizmo data
void Show(bool show)
Show gizmo.
vtkTransform * m_BufferTr
double PointPickedToStartTheta(double xp, double yp, double zp)
Get the start theta from abs pick coordinates.
void SetRadius(double radius)
Set/Get the radius of the gizmo.
albaVMEGizmo * m_GizmoFan
Fan gizmo.
albaObserver * m_Listener
Register the event receiver object.
void SetListener(albaObserver *Listener)
Set the event receiver object.
void SetColor(double col[3])
m_Gizmo color setting facilities for gizmo segments;
int m_MirrorStatus
Register the mirror status of the fan; default status is off.
void SetAxis(int axis)
Set/Get gizmo axis, default axis is X.
virtual void OnEvent(albaEventBase *alba_event)
Events handling.
vtkTransform * m_MirrorTr
vtkTransformPolyDataFilter * m_ChangeFanAxisTPDF
rotate PDF for sphere
void SetAbsPose(albaMatrix *absPose)
Set the abs pose.
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.
vtkTransformPolyDataFilter * m_RotateFanTPDF
albaGizmoRotateFan(albaVME *input, albaObserver *listener=NULL)
int m_ActiveAxis
Register the gizmo axis.
vtkSphereSource * m_Sphere
Create the sphere.
void SetMediator(albaObserver *mediator)
Superclass override.
albaVME * m_InputVme
Register input vme.
vtkTransform * m_RotateFanTransform
Transform to rotate the fan around Z axis after creation to match new m_StartTheta angle.
int GetAxis()
Get gizmo axis.
vtkTransform * m_ChangeFanAxisTransform
sphere transform
void SetRefSysMatrix(albaMatrix *matrix)
Set the reference system matrix.
vtkTransformPolyDataFilter * m_MirrorTPDF
albaMatrix - Time stamped 4x4 Matrix.
Interface implementing the Observer of the Subject/Observer design pattern.
class representing reference system