vtkDataSetToDataSetFilter Class Reference

#include <vtkDataSetToDataSetFilter.h>

Inheritance diagram for vtkDataSetToDataSetFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkDataSetToDataSetFilter:

Collaboration graph
[legend]

List of all members.


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.


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)

Member Typedef Documentation

Reimplemented from vtkDataSetSource.

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]

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 vtkTypeMacro 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 vtkTypeMacro 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]


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

Generated on Mon Sep 27 18:21:40 2010 for VTK by  doxygen 1.5.6