vtkPolyDataToImageStencil Class Reference
#include <vtkPolyDataToImageStencil.h>
Inheritance diagram for vtkPolyDataToImageStencil:
[legend]Collaboration diagram for vtkPolyDataToImageStencil:
[legend]List of all members.
Detailed Description
clip an image with polydata
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.
- See also:
- vtkPolyData vtkImageStencil vtkImplicitFunctionToImageStencil
- Created by:
-
- CVS contributions (if > 5%):
- Gobbi, David (74%)
- King, Brad (10%)
- Martin, Ken (8%)
- CVS logs (CVSweb):
.h (/Hybrid/vtkPolyDataToImageStencil
.h)
.cxx (/Hybrid/vtkPolyDataToImageStencil
.cxx)
- Examples:
- vtkPolyDataToImageStencil (Examples)
- Tests:
- vtkPolyDataToImageStencil (Tests)
Definition at line 52 of file vtkPolyDataToImageStencil.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkPolyDataToImageStencil::vtkPolyDataToImageStencil |
( |
|
) |
[protected] |
|
Member Function Documentation
|
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] |
|
int vtkPolyDataToImageStencil::IsTypeOf |
( |
const char * |
type |
) |
[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 * |
type |
) |
[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. |
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. |
|
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. |
void vtkPolyDataToImageStencil::ExecuteData |
( |
vtkDataObject * |
out |
) |
[protected, virtual] |
|
|
This method is the one that should be used by subclasses, right now the default implementation is to call the backwards compatibility method
Reimplemented from vtkImageStencilSource. |
void vtkPolyDataToImageStencil::ThreadedExecute |
( |
vtkImageStencilData * |
output, |
|
|
int |
extent[6], |
|
|
int |
threadId |
|
) |
[protected, virtual] |
|
|
Override this method to support clipping with different kinds of objects. Eventually the extent could be split up and handled by multiple threads, but it isn't for now. But please ensure that all code inside this method is thread-safe.
Reimplemented from vtkImageStencilSource. |
void vtkPolyDataToImageStencil::ExecuteInformation |
( |
|
) |
[protected, virtual] |
|
virtual void vtkPolyDataToImageStencil::ReportReferences |
( |
vtkGarbageCollector * |
|
) |
[protected, virtual] |
|
virtual void vtkPolyDataToImageStencil::RemoveReferences |
( |
|
) |
[protected, virtual] |
|
virtual int vtkPolyDataToImageStencil::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
[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 vtkProcessObject. |
Member Data Documentation
The documentation for this class was generated from the following file: