VTK
|
Create a stencil from a contour. More...
#include <vtkLassoStencilSource.h>
Create a stencil from a contour.
vtkLassoStencilSource will create an image stencil from a set of points that define a contour. Its output can be used with vtkImageStecil or other vtk classes that apply a stencil to an image.
Definition at line 42 of file vtkLassoStencilSource.h.
Reimplemented from vtkImageStencilSource.
Definition at line 46 of file vtkLassoStencilSource.h.
anonymous enum |
Definition at line 50 of file vtkLassoStencilSource.h.
vtkLassoStencilSource::vtkLassoStencilSource | ( | ) | [protected] |
vtkLassoStencilSource::~vtkLassoStencilSource | ( | ) | [protected] |
static vtkLassoStencilSource* vtkLassoStencilSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageStencilSource.
static int vtkLassoStencilSource::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageStencilSource.
virtual int vtkLassoStencilSource::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageStencilSource.
static vtkLassoStencilSource* vtkLassoStencilSource::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageStencilSource.
virtual vtkObjectBase* vtkLassoStencilSource::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageStencilSource.
Reimplemented from vtkImageStencilSource.
void vtkLassoStencilSource::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkImageStencilSource.
virtual int vtkLassoStencilSource::GetShape | ( | ) | [virtual] |
The shape to use, default is "Polygon". The spline is a cardinal spline. Bezier splines are not yet supported.
virtual void vtkLassoStencilSource::SetShape | ( | int | ) | [virtual] |
The shape to use, default is "Polygon". The spline is a cardinal spline. Bezier splines are not yet supported.
void vtkLassoStencilSource::SetShapeToPolygon | ( | ) | [inline] |
The shape to use, default is "Polygon". The spline is a cardinal spline. Bezier splines are not yet supported.
Definition at line 61 of file vtkLassoStencilSource.h.
void vtkLassoStencilSource::SetShapeToSpline | ( | ) | [inline] |
The shape to use, default is "Polygon". The spline is a cardinal spline. Bezier splines are not yet supported.
Definition at line 62 of file vtkLassoStencilSource.h.
virtual const char* vtkLassoStencilSource::GetShapeAsString | ( | ) | [virtual] |
The shape to use, default is "Polygon". The spline is a cardinal spline. Bezier splines are not yet supported.
virtual void vtkLassoStencilSource::SetPoints | ( | vtkPoints * | points | ) | [virtual] |
The points that make up the lassoo. The loop does not have to be closed, the last point will automatically be connected to the first point by a straight line segment.
virtual vtkPoints* vtkLassoStencilSource::GetPoints | ( | ) | [virtual] |
The points that make up the lassoo. The loop does not have to be closed, the last point will automatically be connected to the first point by a straight line segment.
virtual int vtkLassoStencilSource::GetSliceOrientation | ( | ) | [virtual] |
The slice orientation. The default is 2, which is XY. Other values are 0, which is YZ, and 1, which is XZ.
virtual void vtkLassoStencilSource::SetSliceOrientation | ( | int | ) | [virtual] |
The slice orientation. The default is 2, which is XY. Other values are 0, which is YZ, and 1, which is XZ.
virtual void vtkLassoStencilSource::SetSlicePoints | ( | int | i, |
vtkPoints * | points | ||
) | [virtual] |
The points for a particular slice. This will override the points that were set by calling SetPoints() for the slice. To clear the setting, call SetSlicePoints(slice, NULL).
virtual vtkPoints* vtkLassoStencilSource::GetSlicePoints | ( | int | i | ) | [virtual] |
The points for a particular slice. This will override the points that were set by calling SetPoints() for the slice. To clear the setting, call SetSlicePoints(slice, NULL).
virtual void vtkLassoStencilSource::RemoveAllSlicePoints | ( | ) | [virtual] |
Remove points from all slices.
unsigned long vtkLassoStencilSource::GetMTime | ( | ) | [virtual] |
Overload GetMTime() to include the timestamp on the points.
Reimplemented from vtkObject.
virtual int vtkLassoStencilSource::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Reimplemented from vtkImageStencilAlgorithm.
int vtkLassoStencilSource::Shape [protected] |
Definition at line 102 of file vtkLassoStencilSource.h.
int vtkLassoStencilSource::SliceOrientation [protected] |
Definition at line 103 of file vtkLassoStencilSource.h.
vtkPoints* vtkLassoStencilSource::Points [protected] |
Definition at line 104 of file vtkLassoStencilSource.h.
vtkSpline* vtkLassoStencilSource::SplineX [protected] |
Definition at line 105 of file vtkLassoStencilSource.h.
vtkSpline* vtkLassoStencilSource::SplineY [protected] |
Definition at line 106 of file vtkLassoStencilSource.h.
vtkLSSPointMap* vtkLassoStencilSource::PointMap [protected] |
Definition at line 107 of file vtkLassoStencilSource.h.