28#ifndef __albaGizmoCrossRotateFan_H__
29#define __albaGizmoCrossRotateFan_H__
41class vtkTransformPolyDataFilter;
162 void SetColor(
double colR,
double colG,
double colB);
Implementation of the message object for the Subject/Observer design pattern.
Basic gizmo component used to give rotation angle feedback.
albaVME * m_InputVme
Register input vme.
virtual void OnEvent(albaEventBase *alba_event)
Events handling.
vtkTransform * m_MirrorTr
double PointPickedToStartTheta(double xp, double yp, double zp)
Get the start theta from abs pick coordinates.
void SetColor(double colR, double colG, double colB)
vtkSphereSource * m_Sphere
Create the sphere.
vtkTransformPolyDataFilter * m_ChangeFanAxisTPDF
rotate PDF for sphere
void SetAbsPose(albaMatrix *absPose)
Set the abs pose.
albaGizmoCrossRotateFan(albaVME *input, albaObserver *listener=NULL)
double m_StartTheta
Start angle and end angle.
void SetInput(albaVME *vme)
Set the gizmo generating vme; the gizmo will be centered on this vme.
void SetRadius(double radius)
Set/Get the radius of the gizmo.
vtkTransformPolyDataFilter * m_MirrorTPDF
void SetRefSysMatrix(albaMatrix *matrix)
Set the reference system matrix.
friend class albaGizmoRotateFanTest
Test Friend.
vtkTransform * m_ChangeFanAxisTransform
sphere transform
vtkTransform * m_RotateFanTransform
Transform to rotate the fan around Z axis after creation to match new m_StartTheta angle.
void SetListener(albaObserver *Listener)
Set the event receiver object.
int m_ActiveAxis
Register the gizmo axis.
virtual ~albaGizmoCrossRotateFan()
void SetAxis(int axis)
Set/Get gizmo axis, default axis is X.
void CreatePipeline()
gizmo data
albaObserver * m_Listener
Register the event receiver object.
void Show(bool show)
Show gizmo.
albaVMEGizmo * m_Gizmo
Fan gizmo.
int GetAxis()
Get gizmo axis.
vtkTransformPolyDataFilter * m_RotateFanTPDF
vtkTransform * m_BufferTr
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.
Base class for operations and views gizmos.
albaMatrix - Time stamped 4x4 Matrix.
Interface implementing the Observer of the Subject/Observer design pattern.
class representing reference system