Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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)
vtkDataSet * GetOutput ()
vtkDataSet * GetOutput (int idx)
vtkPolyData * GetPolyDataOutput ()
vtkStructuredPoints * GetStructuredPointsOutput ()
vtkStructuredGrid * GetStructuredGridOutput ()
vtkUnstructuredGrid * GetUnstructuredGridOutput ()
vtkRectilinearGrid * GetRectilinearGridOutput ()
vtkDataSet * GetInput ()
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
Examples:
vtkDataSetToDataSetFilter (examples)

Definition at line 83 of file vtkDataSetToDataSetFilter.h.


Constructor & Destructor Documentation

vtkDataSetToDataSetFilter::vtkDataSetToDataSetFilter (    )  [protected]
 

vtkDataSetToDataSetFilter::~vtkDataSetToDataSetFilter (    )  [protected]
 

vtkDataSetToDataSetFilter::vtkDataSetToDataSetFilter (  const vtkDataSetToDataSetFilter &    )  [inline, protected]
 

Definition at line 125 of file vtkDataSetToDataSetFilter.h.


Member Function Documentation

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, vtkCellDerivatives, vtkProjectedTexture, vtkTextureMapToBox, vtkAttributeDataToFieldDataFilter, vtkBrownianPoints, vtkCastToConcrete, vtkCellDataToPointData, vtkDicer, vtkElevationFilter, vtkExtractTensorComponents, vtkFieldDataToAttributeDataFilter, vtkGhostLevelToScalarFilter, vtkIdFilter, vtkImplicitTextureCoords, vtkInterpolateDataSetAttributes, vtkMergeDataObjectFilter, vtkMergeFilter, vtkOBBDicer, vtkPointDataToCellData, vtkProbeFilter, vtkProgrammableAttributeDataFilter, vtkProgrammableFilter, vtkSimpleElevationFilter, vtkTextureMapToCylinder, vtkTextureMapToPlane, vtkTextureMapToSphere, vtkThresholdTextureCoords, vtkTransformTextureCoords, vtkVectorDot, and vtkVectorNorm.

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, vtkCellDerivatives, vtkProjectedTexture, vtkTextureMapToBox, vtkAttributeDataToFieldDataFilter, vtkBrownianPoints, vtkCastToConcrete, vtkCellDataToPointData, vtkDicer, vtkElevationFilter, vtkExtractTensorComponents, vtkFieldDataToAttributeDataFilter, vtkGhostLevelToScalarFilter, vtkIdFilter, vtkImplicitTextureCoords, vtkInterpolateDataSetAttributes, vtkMergeDataObjectFilter, vtkMergeFilter, vtkOBBDicer, vtkPointDataToCellData, vtkProbeFilter, vtkProgrammableAttributeDataFilter, vtkProgrammableFilter, vtkSimpleElevationFilter, vtkTextureMapToCylinder, vtkTextureMapToPlane, vtkTextureMapToSphere, vtkThresholdTextureCoords, vtkTransformTextureCoords, vtkVectorDot, and vtkVectorNorm.

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, vtkCellDerivatives, vtkProjectedTexture, vtkTextureMapToBox, vtkAttributeDataToFieldDataFilter, vtkBrownianPoints, vtkCastToConcrete, vtkCellDataToPointData, vtkDicer, vtkElevationFilter, vtkExtractTensorComponents, vtkFieldDataToAttributeDataFilter, vtkGhostLevelToScalarFilter, vtkIdFilter, vtkImplicitTextureCoords, vtkInterpolateDataSetAttributes, vtkMergeDataObjectFilter, vtkMergeFilter, vtkOBBDicer, vtkPointDataToCellData, vtkProbeFilter, vtkProgrammableAttributeDataFilter, vtkProgrammableFilter, vtkSimpleElevationFilter, vtkTextureMapToCylinder, vtkTextureMapToPlane, vtkTextureMapToSphere, vtkThresholdTextureCoords, vtkTransformTextureCoords, vtkVectorDot, and vtkVectorNorm.

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, vtkCellDerivatives, vtkProjectedTexture, vtkTextureMapToBox, vtkAttributeDataToFieldDataFilter, vtkBrownianPoints, vtkCastToConcrete, vtkCellDataToPointData, vtkDicer, vtkElevationFilter, vtkExtractTensorComponents, vtkFieldDataToAttributeDataFilter, vtkGhostLevelToScalarFilter, vtkIdFilter, vtkImplicitTextureCoords, vtkInterpolateDataSetAttributes, vtkMergeDataObjectFilter, vtkMergeFilter, vtkOBBDicer, vtkPointDataToCellData, vtkProbeFilter, vtkProgrammableAttributeDataFilter, vtkProgrammableFilter, vtkSimpleElevationFilter, vtkTextureMapToCylinder, vtkTextureMapToPlane, vtkTextureMapToSphere, vtkThresholdTextureCoords, vtkTransformTextureCoords, vtkVectorDot, and vtkVectorNorm.

void vtkDataSetToDataSetFilter::SetInput (  vtkDataSet *    input ) 
 

Specify the input data or filter.

Referenced by vtkMergeFilter::SetGeometry().

void vtkDataSetToDataSetFilter::SetInput (  vtkImageData *    cache )  [inline]
 

Definition at line 91 of file vtkDataSetToDataSetFilter.h.

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 )  [inline]
 

Reimplemented from vtkDataSetSource.

Definition at line 98 of file vtkDataSetToDataSetFilter.h.

vtkPolyData* vtkDataSetToDataSetFilter::GetPolyDataOutput (    ) 
 

Get the output as vtkPolyData.

vtkStructuredPoints* vtkDataSetToDataSetFilter::GetStructuredPointsOutput (    ) 
 

Get the output as vtkStructuredPoints.

vtkStructuredGrid* vtkDataSetToDataSetFilter::GetStructuredGridOutput (    ) 
 

Get the output as vtkStructuredGrid.

vtkUnstructuredGrid* vtkDataSetToDataSetFilter::GetUnstructuredGridOutput (    ) 
 

Get the output as vtkUnstructuredGrid.

vtkRectilinearGrid* vtkDataSetToDataSetFilter::GetRectilinearGridOutput (    ) 
 

Get the output as vtkRectilinearGrid.

vtkDataSet* vtkDataSetToDataSetFilter::GetInput (    ) 
 

Get the input data or filter.

Referenced by vtkMergeFilter::GetGeometry().

virtual void vtkDataSetToDataSetFilter::ComputeInputUpdateExtents (  vtkDataObject *    output )  [virtual]
 

By default copy the output update extent to the input

Reimplemented from vtkSource.

Reimplemented in vtkMergeFilter, and vtkProbeFilter.

void vtkDataSetToDataSetFilter::operator= (  const vtkDataSetToDataSetFilter &    )  [inline, protected]
 

Definition at line 126 of file vtkDataSetToDataSetFilter.h.

void vtkDataSetToDataSetFilter::ExecuteInformation (    )  [protected, virtual]
 

Reimplemented from vtkSource.

Reimplemented in vtkCastToConcrete, and vtkProbeFilter.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:47:23 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001