Documentation for vtkDataSetToDataSetFilter

vtkDataSetToDataSetFilter - abstract filter class

Super Class: vtkDataSetFilter

Description:

vtkDataSetToDataSetFilter is an abstract filter class. Subclasses of vtkDataSetToDataSetFilter take a dataset as input and create a dataset as output. The form of the input geometry is not changed in these filters, only the point attributes (e.g. scalars, vectors, etc.). This is an abstract filter type. What that means is that the output of the filter is an abstract type (i.e., vtkDataSet), 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 vtkDataSetToDataSetFilter 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(), GetStructuredPointsOutput(), etc.).

 

See Also:

vtkBrownianPoints vtkProbeFilter vtkThresholdTextureCoords vtkDicer vtkElevationFilter vtkImplicitTextureCoords vtkTextureMapToBox vtkTextureMapToPlane vtkVectorDot vtkVectorNorm

 

Methods:

void vtkDataSetToDataSetFilter ()
void vtkDataSetToDataSetFilter ()
static vtkDataSetToDataSetFilter *New ()
const char *GetClassName ()
void SetInput (vtkDataSet *)
void SetInput (vtkImageCache *)
void Update ()
vtkDataSet *GetOutput ()
vtkPolyData *GetPolyDataOutput ()
vtkStructuredPoints *GetStructuredPointsOutput ()
vtkStructuredGrid *GetStructuredGridOutput ()
vtkUnstructuredGrid *GetUnstructuredGridOutput ()
vtkRectilinearGrid *GetRectilinearGridOutput ()

 

Detailed Method Descriptions:

Specify the input data or filter.

void SetInput (vtkDataSet *)

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 SetInput (vtkImageCache *)
void Update ()

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

vtkDataSet *GetOutput ()

Get the output as vtkPolyData.

vtkPolyData *GetPolyDataOutput ()

Get the output as vtkStructuredPoints.

vtkStructuredPoints *GetStructuredPointsOutput ()

Get the output as vtkStructuredGrid.

vtkStructuredGrid *GetStructuredGridOutput ()

Get the output as vtkUnstructuredGrid.

vtkUnstructuredGrid *GetUnstructuredGridOutput ()

Get the output as vtkRectilinearGrid.

vtkRectilinearGrid *GetRectilinearGridOutput ()