VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkMergeFilter Class Reference

extract separate components of data from different datasets More...

#include <vtkMergeFilter.h>

Inheritance diagram for vtkMergeFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkMergeFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkMergeFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void AddField (const char *name, vtkDataSet *input)
void SetGeometryInputData (vtkDataSet *input)
vtkDataSetGetGeometry ()
void SetGeometryConnection (vtkAlgorithmOutput *algOutput)
void SetScalarsData (vtkDataSet *)
vtkDataSetGetScalars ()
void SetScalarsConnection (vtkAlgorithmOutput *algOutput)
void SetVectorsData (vtkDataSet *)
vtkDataSetGetVectors ()
void SetVectorsConnection (vtkAlgorithmOutput *algOutput)
void SetNormalsData (vtkDataSet *)
vtkDataSetGetNormals ()
void SetNormalsConnection (vtkAlgorithmOutput *algOutput)
void SetTCoordsData (vtkDataSet *)
vtkDataSetGetTCoords ()
void SetTCoordsConnection (vtkAlgorithmOutput *algOutput)
void SetTensorsData (vtkDataSet *)
vtkDataSetGetTensors ()
void SetTensorsConnection (vtkAlgorithmOutput *algOutput)

Static Public Member Functions

static vtkMergeFilterNew ()
static int IsTypeOf (const char *type)
static vtkMergeFilterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkMergeFilter ()
 ~vtkMergeFilter ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int FillInputPortInformation (int port, vtkInformation *info)

Protected Attributes

vtkFieldList * FieldList

Detailed Description

extract separate components of data from different datasets

vtkMergeFilter is a filter that extracts separate components of data from different datasets and merges them into a single dataset. The output from this filter is of the same type as the input (i.e., vtkDataSet.) It treats both cell and point data set attributes.

Examples:
vtkMergeFilter (Examples)
Tests:
vtkMergeFilter (Tests)

Definition at line 38 of file vtkMergeFilter.h.


Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 42 of file vtkMergeFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkMergeFilter* vtkMergeFilter::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataSetAlgorithm.

static int vtkMergeFilter::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 vtkDataSetAlgorithm.

virtual int vtkMergeFilter::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 vtkDataSetAlgorithm.

Reimplemented from vtkDataSetAlgorithm.

virtual vtkObjectBase* vtkMergeFilter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataSetAlgorithm.

Reimplemented from vtkDataSetAlgorithm.

void vtkMergeFilter::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 vtkDataSetAlgorithm.

Specify object from which to extract geometry information. Old style. Use SetGeometryConnection() instead.

Definition at line 48 of file vtkMergeFilter.h.

Specify object from which to extract geometry information. Old style. Use SetGeometryConnection() instead.

Specify object from which to extract geometry information. Equivalent to SetInputConnection(0, algOutput)

Definition at line 55 of file vtkMergeFilter.h.

Specify object from which to extract scalar information. Old style. Use SetScalarsConnection() instead.

Specify object from which to extract scalar information. Old style. Use SetScalarsConnection() instead.

Specify object from which to extract scalar information. Equivalent to SetInputConnection(1, algOutput)

Definition at line 71 of file vtkMergeFilter.h.

Set / get the object from which to extract vector information. Old style. Use SetVectorsConnection() instead.

Set / get the object from which to extract vector information. Old style. Use SetVectorsConnection() instead.

Set the connection from which to extract vector information. Equivalent to SetInputConnection(2, algOutput)

Definition at line 87 of file vtkMergeFilter.h.

Set / get the object from which to extract normal information. Old style. Use SetNormalsConnection() instead.

Set / get the object from which to extract normal information. Old style. Use SetNormalsConnection() instead.

Set the connection from which to extract normal information. Equivalent to SetInputConnection(3, algOutput)

Definition at line 103 of file vtkMergeFilter.h.

Set / get the object from which to extract texture coordinates information. Old style. Use SetTCoordsConnection() instead.

Set / get the object from which to extract texture coordinates information. Old style. Use SetTCoordsConnection() instead.

Set the connection from which to extract texture coordinates information. Equivalent to SetInputConnection(4, algOutput)

Definition at line 119 of file vtkMergeFilter.h.

Set / get the object from which to extract tensor data. Old style. Use SetTensorsConnection() instead.

Set / get the object from which to extract tensor data. Old style. Use SetTensorsConnection() instead.

Set the connection from which to extract tensor data. Equivalent to SetInputConnection(5, algOutput)

Definition at line 135 of file vtkMergeFilter.h.

void vtkMergeFilter::AddField ( const char *  name,
vtkDataSet input 
)

Set the object from which to extract a field and the name of the field. Note that this does not create pipeline connectivity.

This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.

Reimplemented from vtkDataSetAlgorithm.

This is called within ProcessRequest when each filter in the pipeline decides what portion of its input is needed to create the portion of its output that the downstream filter asks for. This happens during the second pass in the pipeline execution process.

Reimplemented from vtkDataSetAlgorithm.

int vtkMergeFilter::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 vtkDataSetAlgorithm.


Member Data Documentation

vtkFieldList* vtkMergeFilter::FieldList [protected]

Definition at line 154 of file vtkMergeFilter.h.


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