Documentation for vtkPointSetToPointSetFilter

vtkPointSetToPointSetFilter - abstract filter class

Super Class: vtkPointSetFilter

Description:

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.).

 

See Also:

vtkTransformFilter vtkWarpScalar vtkWarpTo vtkWarpVector

 

Methods:

void vtkPointSetToPointSetFilter ()
void vtkPointSetToPointSetFilter ()
static vtkPointSetToPointSetFilter *New ()
const char *GetClassName ()
void SetInput (vtkPointSet *)
void Update ()
vtkPointSet *GetOutput ()
vtkPolyData *GetPolyDataOutput ()
vtkStructuredGrid *GetStructuredGridOutput ()
vtkUnstructuredGrid *GetUnstructuredGridOutput ()

 

Detailed Method Descriptions:

Specify the input data or filter.

void SetInput (vtkPointSet *)

Update input to this filter and the filter itself. Note that we are overloading this method because the output is an abstract dataset type. This requires special treatment.

void Update ()

Get the output of this filter. If output is NULL, then input hasn't been set, which is necessary for abstract filter objects.

vtkPointSet *GetOutput ()

Get the output as vtkPolyData. Performs run-time checking.

vtkPolyData *GetPolyDataOutput ()

Get the output as vtkStructuredGrid. Performs run-time checking.

vtkStructuredGrid *GetStructuredGridOutput ()

Get the output as vtkUnstructuredGrid. Performs run-time checking.

vtkUnstructuredGrid *GetUnstructuredGridOutput ()