Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkDataSetToDataSetFilter Class Reference

abstract filter class. More...

#include <vtkDataSetToDataSetFilter.h>

Inheritance diagram for vtkDataSetToDataSetFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkDataSetToDataSetFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void SetInput (vtkDataSet *input)
void SetInput (vtkImageData *cache)
vtkDataSetGetOutput ()
vtkDataSetGetOutput (int idx)
vtkPolyDataGetPolyDataOutput ()
vtkStructuredPointsGetStructuredPointsOutput ()
vtkStructuredGridGetStructuredGridOutput ()
vtkUnstructuredGridGetUnstructuredGridOutput ()
vtkRectilinearGridGetRectilinearGridOutput ()
vtkDataSetGetInput ()
virtual void ComputeInputUpdateExtents (vtkDataObject *output)

Static Public Methods

int IsTypeOf (const char *type)
vtkDataSetToDataSetFilter * SafeDownCast (vtkObject *o)

Protected Methods

 vtkDataSetToDataSetFilter ()
 ~vtkDataSetToDataSetFilter ()
 vtkDataSetToDataSetFilter (const vtkDataSetToDataSetFilter &)
void operator= (const vtkDataSetToDataSetFilter &)
void ExecuteInformation ()

Detailed Description

abstract filter class.

2/17/94 1.8

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


Member Function Documentation

virtual void vtkDataSetToDataSetFilter::ComputeInputUpdateExtents vtkDataObject   output [virtual]
 

By default copy the output update extent to the input

Reimplemented from vtkSource.

Reimplemented in vtkMergeFilter.

virtual const char* vtkDataSetToDataSetFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetSource.

Reimplemented in vtkAsynchronousBuffer.

vtkDataSet* vtkDataSetToDataSetFilter::GetInput  
 

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

vtkPolyData* vtkDataSetToDataSetFilter::GetPolyDataOutput  
 

Get the output as vtkPolyData.

vtkRectilinearGrid* vtkDataSetToDataSetFilter::GetRectilinearGridOutput  
 

Get the output as vtkRectilinearGrid.

vtkStructuredGrid* vtkDataSetToDataSetFilter::GetStructuredGridOutput  
 

Get the output as vtkStructuredGrid.

vtkStructuredPoints* vtkDataSetToDataSetFilter::GetStructuredPointsOutput  
 

Get the output as vtkStructuredPoints.

vtkUnstructuredGrid* vtkDataSetToDataSetFilter::GetUnstructuredGridOutput  
 

Get the output as vtkUnstructuredGrid.

virtual int vtkDataSetToDataSetFilter::IsA const char *    type [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.

Reimplemented in vtkAsynchronousBuffer.

int vtkDataSetToDataSetFilter::IsTypeOf const char *    type [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.

Reimplemented in vtkAsynchronousBuffer.

vtkDataSetToDataSetFilter* vtkDataSetToDataSetFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetSource.

Reimplemented in vtkAsynchronousBuffer.

void vtkDataSetToDataSetFilter::SetInput vtkDataSet   input
 

Specify the input data or filter.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:24:45 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002