#include <vtkPointSetToPointSetFilter.h>
vtkPointSetToPointSetFilter is an abstract filter class whose subclasses take as input a point set and generates a point set on output. At a minimum, the concrete subclasses of vtkPointSetToPointSetFilter modify their point coordinates. They never modify their topological form, however.
This is an abstract filter type. What that means is that the output of the filter is an abstract type (i.e., vtkPointSet), no matter what the input of the filter is. This can cause problems connecting together filters due to the change in dataset type. (For example, in a series of filters processing vtkPolyData, when a vtkPointSetToPointSetFilter or subclass is introduced into the pipeline, if the filter downstream of it takes vtkPolyData as input, the pipeline connection cannot be made.) To get around this problem, use one of the convenience methods to return a concrete type (e.g., vtkGetPolyDataOutput(), GetStructuredGridOutput(), etc.).
Definition at line 48 of file vtkPointSetToPointSetFilter.h.
Public Types | |
typedef vtkPointSetSource | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetInput (vtkPointSet *input) |
vtkPointSet * | GetInput () |
vtkPolyData * | GetPolyDataOutput () |
vtkStructuredGrid * | GetStructuredGridOutput () |
vtkUnstructuredGrid * | GetUnstructuredGridOutput () |
virtual void | ComputeInputUpdateExtents (vtkDataObject *output) |
vtkPointSet * | GetOutput () |
vtkPointSet * | GetOutput (int idx) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPointSetToPointSetFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPointSetToPointSetFilter () | |
~vtkPointSetToPointSetFilter () |
vtkPointSetToPointSetFilter::vtkPointSetToPointSetFilter | ( | ) | [protected] |
vtkPointSetToPointSetFilter::~vtkPointSetToPointSetFilter | ( | ) | [protected] |
virtual const char* vtkPointSetToPointSetFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPointSetSource.
static int vtkPointSetToPointSetFilter::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPointSetSource.
virtual int vtkPointSetToPointSetFilter::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPointSetSource.
static vtkPointSetToPointSetFilter* vtkPointSetToPointSetFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPointSetSource.
void vtkPointSetToPointSetFilter::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 vtkPointSetSource.
void vtkPointSetToPointSetFilter::SetInput | ( | vtkPointSet * | input | ) |
Specify the input data or filter.
vtkPointSet* vtkPointSetToPointSetFilter::GetInput | ( | ) |
Get the input data or filter.
vtkPointSet* vtkPointSetToPointSetFilter::GetOutput | ( | ) |
Get the output of this filter. If output is NULL, then input hasn't been set, which is necessary for abstract filter objects.
Reimplemented from vtkPointSetSource.
vtkPointSet* vtkPointSetToPointSetFilter::GetOutput | ( | int | idx | ) | [inline] |
Get the output of this filter. If output is NULL, then input hasn't been set, which is necessary for abstract filter objects.
Reimplemented from vtkPointSetSource.
Definition at line 64 of file vtkPointSetToPointSetFilter.h.
vtkPolyData* vtkPointSetToPointSetFilter::GetPolyDataOutput | ( | ) |
Get the output as vtkPolyData. Performs run-time checking.
vtkStructuredGrid* vtkPointSetToPointSetFilter::GetStructuredGridOutput | ( | ) |
Get the output as vtkStructuredGrid. Performs run-time checking.
vtkUnstructuredGrid* vtkPointSetToPointSetFilter::GetUnstructuredGridOutput | ( | ) |
Get the output as vtkUnstructuredGrid. Performs run-time checking.
virtual void vtkPointSetToPointSetFilter::ComputeInputUpdateExtents | ( | vtkDataObject * | output | ) | [virtual] |
By default copy the output update extent to the input
Reimplemented from vtkSource.