VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkDataSetToDataSetFilter Class Reference

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 vtkPolyDataGetPolyDataOutput ()
 
virtual vtkStructuredPointsGetStructuredPointsOutput ()
 
virtual vtkStructuredGridGetStructuredGridOutput ()
 
virtual vtkUnstructuredGridGetUnstructuredGridOutput ()
 
virtual vtkRectilinearGridGetRectilinearGridOutput ()
 
vtkDataSetGetInput ()
 
virtual void ComputeInputUpdateExtents (vtkDataObject *output)
 
vtkDataSetGetOutput ()
 
vtkDataSetGetOutput (int idx)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkDataSetToDataSetFilterSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkDataSetToDataSetFilter ()
 
 ~vtkDataSetToDataSetFilter ()
 
void ExecuteInformation ()
 
virtual int FillInputPortInformation (int, vtkInformation *)
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 

Detailed Description

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

See also
vtkBrownianPoints vtkProbeFilter vtkThresholdTextureCoords vtkDicer vtkElevationFilter vtkImplicitTextureCoords vtkTextureMapToPlane vtkVectorDot vtkVectorNorm

Definition at line 52 of file vtkDataSetToDataSetFilter.h.

Member Typedef Documentation

typedef vtkDataSetSource vtkDataSetToDataSetFilter::Superclass

Definition at line 56 of file vtkDataSetToDataSetFilter.h.

Constructor & Destructor Documentation

vtkDataSetToDataSetFilter::vtkDataSetToDataSetFilter ( )
protected
vtkDataSetToDataSetFilter::~vtkDataSetToDataSetFilter ( )
protected

Member Function Documentation

virtual const char* vtkDataSetToDataSetFilter::GetClassName ( )
virtual
static int vtkDataSetToDataSetFilter::IsTypeOf ( const char *  type)
static
virtual int vtkDataSetToDataSetFilter::IsA ( const char *  type)
virtual
static vtkDataSetToDataSetFilter* vtkDataSetToDataSetFilter::SafeDownCast ( vtkObject o)
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 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

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.

void vtkDataSetToDataSetFilter::ExecuteInformation ( )
protected
virtual int vtkDataSetToDataSetFilter::FillInputPortInformation ( int  ,
vtkInformation  
)
protectedvirtual
virtual int vtkDataSetToDataSetFilter::RequestDataObject ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
protectedvirtual

The documentation for this class was generated from the following file: