Section: Visualization Toolkit Filtering Classes
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.).
To create an instance of class vtkPointSetToPointSetFilter, simply invoke its constructor as follows
obj = vtkPointSetToPointSetFilter
obj
is an instance of the vtkPointSetToPointSetFilter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPointSetToPointSetFilter = obj.NewInstance ()
vtkPointSetToPointSetFilter = obj.SafeDownCast (vtkObject o)
obj.SetInput (vtkPointSet input)
- Specify the input data or filter.
vtkPointSet = obj.GetInput ()
- Get the input data or filter.
vtkPointSet = obj.GetOutput ()
- Get the output of this filter. If output is NULL, then input hasn't been
set, which is necessary for abstract filter objects.
vtkPointSet = obj.GetOutput (int idx)
- Get the output as vtkPolyData. Performs run-time checking.
vtkPolyData = obj.GetPolyDataOutput ()
- Get the output as vtkPolyData. Performs run-time checking.
vtkStructuredGrid = obj.GetStructuredGridOutput ()
- Get the output as vtkStructuredGrid. Performs run-time checking.
vtkUnstructuredGrid = obj.GetUnstructuredGridOutput ()
- Get the output as vtkUnstructuredGrid. Performs run-time checking.
obj.ComputeInputUpdateExtents (vtkDataObject output)
- By default copy the output update extent to the input