#include <vtkPolyDataToImageStencil.h>
Inheritance diagram for vtkPolyDataToImageStencil:
vtkPolyDataToImageStencil will convert a vtkPolyData into an image that can be used with vtkImageStencil or other vtk classes that apply a stencil to an image.
Definition at line 40 of file vtkPolyDataToImageStencil.h.
Public Types | |
typedef vtkImageStencilSource | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetInput (vtkPolyData *input) |
vtkPolyData * | GetInput () |
virtual void | SetTolerance (double) |
virtual double | GetTolerance () |
Static Public Member Functions | |
static vtkPolyDataToImageStencil * | New () |
static int | IsTypeOf (const char *type) |
static vtkPolyDataToImageStencil * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPolyDataToImageStencil () | |
~vtkPolyDataToImageStencil () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual void | ReportReferences (vtkGarbageCollector *) |
virtual int | FillInputPortInformation (int, vtkInformation *) |
Protected Attributes | |
double | Tolerance |
vtkOBBTree * | OBBTree |
Reimplemented from vtkImageStencilSource.
Definition at line 44 of file vtkPolyDataToImageStencil.h.
vtkPolyDataToImageStencil::vtkPolyDataToImageStencil | ( | ) | [protected] |
vtkPolyDataToImageStencil::~vtkPolyDataToImageStencil | ( | ) | [protected] |
static vtkPolyDataToImageStencil* vtkPolyDataToImageStencil::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageStencilSource.
virtual const char* vtkPolyDataToImageStencil::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageStencilSource.
static int vtkPolyDataToImageStencil::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkImageStencilSource.
virtual int vtkPolyDataToImageStencil::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkImageStencilSource.
static vtkPolyDataToImageStencil* vtkPolyDataToImageStencil::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageStencilSource.
void vtkPolyDataToImageStencil::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.
void vtkPolyDataToImageStencil::SetInput | ( | vtkPolyData * | input | ) |
Specify the polydata to convert into a stencil.
vtkPolyData* vtkPolyDataToImageStencil::GetInput | ( | ) |
Specify the polydata to convert into a stencil.
virtual void vtkPolyDataToImageStencil::SetTolerance | ( | double | ) | [virtual] |
Set the tolerance for doing spatial searches of the polydata.
virtual double vtkPolyDataToImageStencil::GetTolerance | ( | ) | [virtual] |
Set the tolerance for doing spatial searches of the polydata.
virtual int vtkPolyDataToImageStencil::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageStencilSource.
virtual int vtkPolyDataToImageStencil::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageStencilSource.
virtual void vtkPolyDataToImageStencil::ReportReferences | ( | vtkGarbageCollector * | ) | [protected, virtual] |
Reimplemented from vtkAlgorithm.
virtual int vtkPolyDataToImageStencil::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAlgorithm.
double vtkPolyDataToImageStencil::Tolerance [protected] |
Definition at line 66 of file vtkPolyDataToImageStencil.h.
vtkOBBTree* vtkPolyDataToImageStencil::OBBTree [protected] |
Definition at line 67 of file vtkPolyDataToImageStencil.h.