use polydata to mask an image
More...
#include <vtkPolyDataToImageStencil.h>
|
virtual int | IsA (const char *type) |
|
vtkPolyDataToImageStencil * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
|
virtual void | SetInputData (vtkPolyData *) |
|
vtkPolyData * | GetInput () |
|
|
virtual void | SetTolerance (double) |
|
virtual double | GetTolerance () |
|
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 *) |
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkPolyDataToImageStencil () |
|
| ~vtkPolyDataToImageStencil () |
|
void | ThreadedExecute (vtkImageStencilData *output, int extent[6], int threadId) |
|
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual int | FillInputPortInformation (int, vtkInformation *) |
|
| vtkImageStencilSource () |
|
| ~vtkImageStencilSource () |
|
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
| vtkImageStencilAlgorithm () |
|
| ~vtkImageStencilAlgorithm () |
|
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
vtkImageStencilData * | AllocateOutputData (vtkDataObject *out, int *updateExt) |
|
virtual int | FillOutputPortInformation (int, vtkInformation *) |
|
|
static void | PolyDataCutter (vtkPolyData *input, vtkPolyData *output, double z, vtkMergePoints *locator) |
|
static void | PolyDataSelector (vtkPolyData *input, vtkPolyData *output, double z, double thickness, vtkMergePoints *locator) |
|
use polydata to mask an image
The vtkPolyDataToImageStencil class will convert polydata into an image stencil. The polydata can either be a closed surface mesh or a series of polyline contours (one contour per slice).
- Warning
- If contours are provided, the contours must be aligned with the Z planes. Other contour orientations are not supported.
- See Also
- vtkImageStencil vtkImageAccumulate vtkImageBlend vtkImageReslice
- Examples:
- vtkPolyDataToImageStencil (Examples)
- Tests:
- vtkPolyDataToImageStencil (Tests)
Definition at line 77 of file vtkPolyDataToImageStencil.h.
vtkPolyDataToImageStencil::vtkPolyDataToImageStencil |
( |
| ) |
|
|
protected |
vtkPolyDataToImageStencil::~vtkPolyDataToImageStencil |
( |
| ) |
|
|
protected |
static int vtkPolyDataToImageStencil::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkPolyDataToImageStencil::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkPolyDataToImageStencil::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkPolyDataToImageStencil::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkPolyDataToImageStencil::SetInputData |
( |
vtkPolyData * |
| ) |
|
|
virtual |
Specify the implicit function to convert into a stencil.
vtkPolyData* vtkPolyDataToImageStencil::GetInput |
( |
| ) |
|
Specify the implicit function to convert into a stencil.
virtual void vtkPolyDataToImageStencil::SetTolerance |
( |
double |
| ) |
|
|
virtual |
The tolerance to apply in when determining whether a voxel is inside the stencil, given as a fraction of a voxel. Only used in X and Y, not in Z.
virtual double vtkPolyDataToImageStencil::GetTolerance |
( |
| ) |
|
|
virtual |
The tolerance to apply in when determining whether a voxel is inside the stencil, given as a fraction of a voxel. Only used in X and Y, not in Z.
void vtkPolyDataToImageStencil::ThreadedExecute |
( |
vtkImageStencilData * |
output, |
|
|
int |
extent[6], |
|
|
int |
threadId |
|
) |
| |
|
protected |
static void vtkPolyDataToImageStencil::PolyDataCutter |
( |
vtkPolyData * |
input, |
|
|
vtkPolyData * |
output, |
|
|
double |
z, |
|
|
vtkMergePoints * |
locator |
|
) |
| |
|
staticprotected |
static void vtkPolyDataToImageStencil::PolyDataSelector |
( |
vtkPolyData * |
input, |
|
|
vtkPolyData * |
output, |
|
|
double |
z, |
|
|
double |
thickness, |
|
|
vtkMergePoints * |
locator |
|
) |
| |
|
staticprotected |
virtual int vtkPolyDataToImageStencil::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkPolyDataToImageStencil::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
| |
|
protectedvirtual |
double vtkPolyDataToImageStencil::Tolerance |
|
protected |
The documentation for this class was generated from the following file: