#include <vtkDataSetToDataSetFilter.h>
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.
vtkDataSetToDataSetFilter::vtkDataSetToDataSetFilter | ( | ) | [protected] |
vtkDataSetToDataSetFilter::~vtkDataSetToDataSetFilter | ( | ) | [protected] |
virtual const char* vtkDataSetToDataSetFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataSetSource.
static int vtkDataSetToDataSetFilter::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetSource.
virtual int vtkDataSetToDataSetFilter::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetSource.
static vtkDataSetToDataSetFilter* vtkDataSetToDataSetFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataSetSource.
void vtkDataSetToDataSetFilter::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 vtkDataSetSource.
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.
Reimplemented from vtkDataSetSource.
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.
Reimplemented from vtkDataSetSource.
virtual vtkPolyData* vtkDataSetToDataSetFilter::GetPolyDataOutput | ( | ) | [virtual] |
Get the output as vtkPolyData.
virtual vtkStructuredPoints* vtkDataSetToDataSetFilter::GetStructuredPointsOutput | ( | ) | [virtual] |
Get the output as vtkStructuredPoints.
virtual vtkStructuredGrid* vtkDataSetToDataSetFilter::GetStructuredGridOutput | ( | ) | [virtual] |
Get the output as vtkStructuredGrid.
virtual vtkUnstructuredGrid* vtkDataSetToDataSetFilter::GetUnstructuredGridOutput | ( | ) | [virtual] |
Get the output as vtkUnstructuredGrid.
virtual vtkRectilinearGrid* vtkDataSetToDataSetFilter::GetRectilinearGridOutput | ( | ) | [virtual] |
Get the output as vtkRectilinearGrid.
vtkDataSet* vtkDataSetToDataSetFilter::GetInput | ( | ) |
Get the input data or filter.
virtual void vtkDataSetToDataSetFilter::ComputeInputUpdateExtents | ( | vtkDataObject * | output | ) | [virtual] |
By default copy the output update extent to the input
Reimplemented from vtkSource.
virtual int vtkDataSetToDataSetFilter::ProcessRequest | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [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.
Reimplemented from vtkSource.
void vtkDataSetToDataSetFilter::ExecuteInformation | ( | ) | [protected, virtual] |
Reimplemented from vtkSource.
virtual int vtkDataSetToDataSetFilter::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkProcessObject.
virtual int vtkDataSetToDataSetFilter::RequestDataObject | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |