VTK
|
abstract filter class More...
#include <vtkDataSetToDataSetFilter.h>
Inherits vtkDataSetSource.
Public Types | |
typedef vtkDataSetSource | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetInput (vtkDataSet *input) |
virtual vtkPolyData * | GetPolyDataOutput () |
virtual vtkStructuredPoints * | GetStructuredPointsOutput () |
virtual vtkStructuredGrid * | GetStructuredGridOutput () |
virtual vtkUnstructuredGrid * | GetUnstructuredGridOutput () |
virtual vtkRectilinearGrid * | GetRectilinearGridOutput () |
vtkDataSet * | GetInput () |
virtual void | ComputeInputUpdateExtents (vtkDataObject *output) |
vtkDataSet * | GetOutput () |
vtkDataSet * | GetOutput (int idx) |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkDataSetToDataSetFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkDataSetToDataSetFilter () | |
~vtkDataSetToDataSetFilter () | |
void | ExecuteInformation () |
virtual int | FillInputPortInformation (int, vtkInformation *) |
virtual int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
abstract filter class
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.).
Definition at line 52 of file vtkDataSetToDataSetFilter.h.
typedef vtkDataSetSource vtkDataSetToDataSetFilter::Superclass |
Definition at line 56 of file vtkDataSetToDataSetFilter.h.
|
protected |
|
protected |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkDataSetToDataSetFilter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkDataSetToDataSetFilter::SetInput | ( | vtkDataSet * | input | ) |
Specify the input data or filter.
vtkDataSet* vtkDataSetToDataSetFilter::GetOutput | ( | ) |
Get the output of this filter. If output is NULL then input hasn't been set which is necessary for abstract objects.
vtkDataSet* vtkDataSetToDataSetFilter::GetOutput | ( | int | idx | ) |
Get the output of this filter. If output is NULL then input hasn't been set which is necessary for abstract objects.
|
virtual |
Get the output as vtkPolyData.
|
virtual |
Get the output as vtkStructuredPoints.
|
virtual |
Get the output as vtkStructuredGrid.
|
virtual |
Get the output as vtkUnstructuredGrid.
|
virtual |
Get the output as vtkRectilinearGrid.
vtkDataSet* vtkDataSetToDataSetFilter::GetInput | ( | ) |
Get the input data or filter.
|
virtual |
By default copy the output update extent to the input
|
virtual |
Transform pipeline requests from executives into old-style pipeline calls. This works with the vtkStreamingDemandDrivenPipeline executive to maintain backward compatibility for filters written as subclasses of vtkSource.
|
protected |
|
protectedvirtual |
|
protectedvirtual |