23#ifndef vtkResliceCursor_h
24#define vtkResliceCursor_h
26#include "vtkInteractionWidgetsModule.h"
31VTK_ABI_NAMESPACE_BEGIN
58 vtkGetVector3Macro(Center,
double);
65 vtkSetVector3Macro(Thickness,
double);
66 vtkGetVector3Macro(Thickness,
double);
111 vtkGetVector3Macro(XAxis,
double);
112 vtkGetVector3Macro(YAxis,
double);
113 vtkGetVector3Macro(ZAxis,
double);
114 vtkSetVector3Macro(XAxis,
double);
115 vtkSetVector3Macro(YAxis,
double);
116 vtkSetVector3Macro(ZAxis,
double);
123 vtkGetVector3Macro(XViewUp,
double);
124 vtkGetVector3Macro(YViewUp,
double);
125 vtkGetVector3Macro(ZViewUp,
double);
126 vtkSetVector3Macro(XViewUp,
double);
127 vtkSetVector3Macro(YViewUp,
double);
128 vtkSetVector3Macro(ZViewUp,
double);
136 vtkSetMacro(Hole,
int);
137 vtkGetMacro(Hole,
int);
144 vtkSetMacro(HoleWidth,
double);
145 vtkGetMacro(HoleWidth,
double);
153 vtkSetMacro(HoleWidthInPixels,
double);
154 vtkGetMacro(HoleWidthInPixels,
double);
topologically and geometrically regular array of data
a simple class to control print indentation
Allocate and hold a VTK object.
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.
double * GetViewUp(int i)
~vtkResliceCursor() override
virtual void SetImage(vtkImageData *)
Set the image (3D) that we are slicing.
virtual double * GetAxis(int i)
Get the computed axes directions.
virtual void SetCenter(double center[3])
Set/Get the cente of the reslice cursor.
virtual void BuildCursorTopology()
static vtkResliceCursor * New()
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...
vtkNew< vtkPlaneCollection > ReslicePlanes
virtual void SetCenter(double, double, double)
Set/Get the cente of the reslice cursor.
virtual void BuildCursorGeometry()
virtual void BuildCursorTopologyWithoutHole()
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 vtkPolyData * GetPolyData()
Get the 3D PolyData representation.
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