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