Go to the documentation of this file.
32 #ifndef vtkResliceCursorPolyDataAlgorithm_h
33 #define vtkResliceCursorPolyDataAlgorithm_h
35 #include "vtkInteractionWidgetsModule.h"
57 vtkSetMacro(ReslicePlaneNormal,
int);
58 vtkGetMacro(ReslicePlaneNormal,
int);
61 enum {XAxis=0,YAxis,ZAxis};
67 { this->SetReslicePlaneNormal(XAxis); }
69 { this->SetReslicePlaneNormal(YAxis); }
71 { this->SetReslicePlaneNormal(ZAxis); }
86 vtkSetVector6Macro( SliceBounds,
double );
87 vtkGetVector6Macro( SliceBounds,
double );
145 double SliceBounds[6];
perform various plane computations
void SetReslicePlaneNormalToYAxis()
~vtkResliceCursorPolyDataAlgorithm() override
sweep polygonal data creating a "skirt" from free edges and lines, and lines from vertices
Cut vtkDataSet with user-specified implicit function.
vtkResliceCursorPolyDataAlgorithm()
vtkLinearExtrusionFilter * ExtrusionFilter2
int GetOtherPlaneForAxis(int p)
Convenience method that, given one plane, returns the other plane that this class represents.
void GetSlabPolyData(int axis, int planeAxis, vtkPolyData *pd)
Geometry for a reslice cursor.
virtual vtkPolyData * GetCenterlineAxis2()
virtual void SetResliceCursor(vtkResliceCursor *)
Set the Reslice cursor from which to generate the polydata representation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkPolyData * GetThickSlabAxis1()
vtkLinearExtrusionFilter * ExtrusionFilter1
virtual vtkPolyData * GetThickSlabAxis2()
virtual vtkPolyData * GetCenterlineAxis1()
Get either one of the axes that this object produces.
vtkMTimeType GetMTime() override
Get the MTime.
generates a 2D reslice cursor polydata
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
vtkClipPolyData * ClipWithBox
virtual void CutAndClip(vtkPolyData *in, vtkPolyData *out)
clip polygonal data with user-specified implicit function or input scalar data
implicit function for a bounding box
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual int GetAxis1()
Get the index of the axes and the planes that they represent.
vtkResliceCursor * ResliceCursor
static vtkResliceCursorPolyDataAlgorithm * New()
void SetReslicePlaneNormalToZAxis()
virtual int GetPlaneAxis1()
virtual int GetPlaneAxis2()
void SetReslicePlaneNormalToXAxis()
Set the planes that correspond to the reslice axes.
vtkTypeUInt32 vtkMTimeType
void BuildResliceSlabAxisTopology()
Superclass for algorithms that produce only polydata as output.