Create a stencil from a contour.
More...
#include <vtkLassoStencilSource.h>
|
virtual int | IsA (const char *type) |
|
vtkLassoStencilSource * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | RemoveAllSlicePoints () |
|
unsigned long | GetMTime () |
|
|
virtual int | GetShape () |
|
virtual void | SetShape (int) |
|
void | SetShapeToPolygon () |
|
void | SetShapeToSpline () |
|
virtual const char * | GetShapeAsString () |
|
|
virtual void | SetPoints (vtkPoints *points) |
|
virtual vtkPoints * | GetPoints () |
|
|
virtual int | GetSliceOrientation () |
|
virtual void | SetSliceOrientation (int) |
|
|
virtual void | SetSlicePoints (int i, vtkPoints *points) |
|
virtual vtkPoints * | GetSlicePoints (int i) |
|
vtkImageStencilSource * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
virtual void | SetInformationInput (vtkImageData *) |
|
virtual vtkImageData * | GetInformationInput () |
|
virtual void | SetOutputOrigin (double, double, double) |
|
virtual void | SetOutputOrigin (double[3]) |
|
virtual double * | GetOutputOrigin () |
|
virtual void | GetOutputOrigin (double &, double &, double &) |
|
virtual void | GetOutputOrigin (double[3]) |
|
virtual void | SetOutputSpacing (double, double, double) |
|
virtual void | SetOutputSpacing (double[3]) |
|
virtual double * | GetOutputSpacing () |
|
virtual void | GetOutputSpacing (double &, double &, double &) |
|
virtual void | GetOutputSpacing (double[3]) |
|
virtual void | SetOutputWholeExtent (int, int, int, int, int, int) |
|
virtual void | SetOutputWholeExtent (int[6]) |
|
virtual int * | GetOutputWholeExtent () |
|
virtual void | GetOutputWholeExtent (int &, int &, int &, int &, int &, int &) |
|
virtual void | GetOutputWholeExtent (int[6]) |
|
vtkImageStencilAlgorithm * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | SetOutput (vtkImageStencilData *output) |
|
vtkImageStencilData * | GetOutput () |
|
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
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.
- See Also
- vtkROIStencilSource vtkPolyDataToImageStencil
- Thanks:
- Thanks to David Gobbi for contributing this class to VTK.
- Tests:
- vtkLassoStencilSource (Tests)
Definition at line 42 of file vtkLassoStencilSource.h.
vtkLassoStencilSource::vtkLassoStencilSource |
( |
| ) |
|
|
protected |
vtkLassoStencilSource::~vtkLassoStencilSource |
( |
| ) |
|
|
protected |
static int vtkLassoStencilSource::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkLassoStencilSource::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkLassoStencilSource::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkLassoStencilSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
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 |
( |
| ) |
|
Overload GetMTime() to include the timestamp on the points.
virtual int vtkLassoStencilSource::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
int vtkLassoStencilSource::Shape |
|
protected |
int vtkLassoStencilSource::SliceOrientation |
|
protected |
vtkPoints* vtkLassoStencilSource::Points |
|
protected |
vtkSpline* vtkLassoStencilSource::SplineX |
|
protected |
vtkSpline* vtkLassoStencilSource::SplineY |
|
protected |
vtkLSSPointMap* vtkLassoStencilSource::PointMap |
|
protected |
The documentation for this class was generated from the following file: