32 #ifndef vtkResliceCursor_h
33 #define vtkResliceCursor_h
35 #include "vtkInteractionWidgetsModule.h"
64 vtkGetVector3Macro(Center,
double);
71 vtkSetVector3Macro(Thickness,
double);
72 vtkGetVector3Macro(Thickness,
double);
115 vtkGetVector3Macro(XAxis,
double);
116 vtkGetVector3Macro(YAxis,
double);
117 vtkGetVector3Macro(ZAxis,
double);
118 vtkSetVector3Macro(XAxis,
double);
119 vtkSetVector3Macro(YAxis,
double);
120 vtkSetVector3Macro(ZAxis,
double);
129 vtkSetMacro(Hole,
int);
130 vtkGetMacro(Hole,
int);
137 vtkSetMacro(HoleWidth,
double);
138 vtkGetMacro(HoleWidth,
double);
146 vtkSetMacro(HoleWidthInPixels,
double);
147 vtkGetMacro(HoleWidthInPixels,
double);
topologically and geometrically regular array of data
a simple class to control print indentation
abstract base class for most VTK objects
maintain a list of planes
perform various plane computations
concrete dataset represents vertices, lines, polygons, and triangle strips
Geometry for a reslice cursor.
virtual double * GetAxis(int i)
~vtkResliceCursor() override
virtual void SetImage(vtkImageData *)
Set the image (3D) that we are slicing.
virtual vtkPolyData * GetPolyData()
Get the 3D PolyData representation.
virtual void SetCenter(double center[3])
virtual void BuildCursorTopology()
void PrintSelf(ostream &os, vtkIndent indent) override
Printself method.
vtkMTimeType GetMTime() override
Get the MTime.
virtual void ComputeAxes()
virtual void Reset()
Reset the cursor to the default position, ie with the axes, normal to each other and axis aligned and...
virtual void SetCenter(double, double, double)
Set/Get the cente of the reslice cursor.
static vtkResliceCursor * New()
virtual void BuildCursorGeometry()
virtual void BuildCursorTopologyWithoutHole()
vtkPlaneCollection * ReslicePlanes
vtkTimeStamp PolyDataBuildTime
virtual void Update()
Build the polydata.
virtual vtkPolyData * GetCenterlineAxisPolyData(int axis)
Get the slab and centerline polydata along an axis.
virtual void BuildCursorTopologyWithHole()
virtual void BuildCursorGeometryWithHole()
virtual void BuildPolyData()
virtual void BuildCursorGeometryWithoutHole()
virtual vtkPlane * GetPlane(int n)
Get the planes that represent normals along the X, Y and Z.
record modification and/or execution time
vtkTypeUInt32 vtkMTimeType