create simple mask shapes
More...
#include <vtkROIStencilSource.h>
|
virtual int | IsA (const char *type) |
|
vtkROIStencilSource * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
|
virtual int | GetShape () |
|
virtual void | SetShape (int) |
|
void | SetShapeToBox () |
|
void | SetShapeToEllipsoid () |
|
void | SetShapeToCylinderX () |
|
void | SetShapeToCylinderY () |
|
void | SetShapeToCylinderZ () |
|
virtual const char * | GetShapeAsString () |
|
|
virtual double * | GetBounds () |
|
virtual void | GetBounds (double &, double &, double &, double &, double &, double &) |
|
virtual void | GetBounds (double[6]) |
|
virtual void | SetBounds (double, double, double, double, double, double) |
|
virtual void | SetBounds (double[6]) |
|
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 simple mask shapes
vtkROIStencilSource will create an image stencil with a simple shape like a box, a sphere, or a cylinder. Its output can be used with vtkImageStecil or other vtk classes that apply a stencil to an image.
- See Also
- vtkImplicitFunctionToImageStencil vtkLassoStencilSource
- Thanks:
- Thanks to David Gobbi for contributing this class to VTK.
- Tests:
- vtkROIStencilSource (Tests)
Definition at line 38 of file vtkROIStencilSource.h.
vtkROIStencilSource::vtkROIStencilSource |
( |
| ) |
|
|
protected |
vtkROIStencilSource::~vtkROIStencilSource |
( |
| ) |
|
|
protected |
static int vtkROIStencilSource::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkROIStencilSource::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkROIStencilSource::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkROIStencilSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual int vtkROIStencilSource::GetShape |
( |
| ) |
|
|
virtual |
The shape of the region of interest. Cylinders can be oriented along the X, Y, or Z axes. The default shape is "Box".
virtual void vtkROIStencilSource::SetShape |
( |
int |
| ) |
|
|
virtual |
The shape of the region of interest. Cylinders can be oriented along the X, Y, or Z axes. The default shape is "Box".
void vtkROIStencilSource::SetShapeToBox |
( |
| ) |
|
|
inline |
The shape of the region of interest. Cylinders can be oriented along the X, Y, or Z axes. The default shape is "Box".
Definition at line 60 of file vtkROIStencilSource.h.
void vtkROIStencilSource::SetShapeToEllipsoid |
( |
| ) |
|
|
inline |
The shape of the region of interest. Cylinders can be oriented along the X, Y, or Z axes. The default shape is "Box".
Definition at line 61 of file vtkROIStencilSource.h.
void vtkROIStencilSource::SetShapeToCylinderX |
( |
| ) |
|
|
inline |
The shape of the region of interest. Cylinders can be oriented along the X, Y, or Z axes. The default shape is "Box".
Definition at line 62 of file vtkROIStencilSource.h.
void vtkROIStencilSource::SetShapeToCylinderY |
( |
| ) |
|
|
inline |
The shape of the region of interest. Cylinders can be oriented along the X, Y, or Z axes. The default shape is "Box".
Definition at line 63 of file vtkROIStencilSource.h.
void vtkROIStencilSource::SetShapeToCylinderZ |
( |
| ) |
|
|
inline |
The shape of the region of interest. Cylinders can be oriented along the X, Y, or Z axes. The default shape is "Box".
Definition at line 64 of file vtkROIStencilSource.h.
virtual const char* vtkROIStencilSource::GetShapeAsString |
( |
| ) |
|
|
virtual |
The shape of the region of interest. Cylinders can be oriented along the X, Y, or Z axes. The default shape is "Box".
virtual double* vtkROIStencilSource::GetBounds |
( |
| ) |
|
|
virtual |
Set the bounds of the region of interest. The bounds take the spacing and origin into account.
virtual void vtkROIStencilSource::GetBounds |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
, |
|
|
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Set the bounds of the region of interest. The bounds take the spacing and origin into account.
virtual void vtkROIStencilSource::GetBounds |
( |
double |
[6] | ) |
|
|
virtual |
Set the bounds of the region of interest. The bounds take the spacing and origin into account.
virtual void vtkROIStencilSource::SetBounds |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set the bounds of the region of interest. The bounds take the spacing and origin into account.
virtual void vtkROIStencilSource::SetBounds |
( |
double |
[6] | ) |
|
|
virtual |
Set the bounds of the region of interest. The bounds take the spacing and origin into account.
virtual int vtkROIStencilSource::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
int vtkROIStencilSource::Shape |
|
protected |
double vtkROIStencilSource::Bounds[6] |
|
protected |
The documentation for this class was generated from the following file: