vtkMergeFilter Class Reference

#include <vtkMergeFilter.h>

Inheritance diagram for vtkMergeFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkMergeFilter:

Collaboration graph
[legend]

List of all members.


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.

Tests:
vtkMergeFilter (Tests)

Definition at line 34 of file vtkMergeFilter.h.


Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void AddField (const char *name, vtkDataSet *input)
void SetGeometry (vtkDataSet *input)
vtkDataSetGetGeometry ()
void SetGeometryConnection (vtkAlgorithmOutput *algOutput)
void SetScalars (vtkDataSet *)
vtkDataSetGetScalars ()
void SetScalarsConnection (vtkAlgorithmOutput *algOutput)
void SetVectors (vtkDataSet *)
vtkDataSetGetVectors ()
void SetVectorsConnection (vtkAlgorithmOutput *algOutput)
void SetNormals (vtkDataSet *)
vtkDataSetGetNormals ()
void SetNormalsConnection (vtkAlgorithmOutput *algOutput)
void SetTCoords (vtkDataSet *)
vtkDataSetGetTCoords ()
void SetTCoordsConnection (vtkAlgorithmOutput *algOutput)
void SetTensors (vtkDataSet *)
vtkDataSetGetTensors ()
void SetTensorsConnection (vtkAlgorithmOutput *algOutput)

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

vtkFieldList * FieldList

Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 38 of file vtkMergeFilter.h.


Constructor & Destructor Documentation

vtkMergeFilter::vtkMergeFilter (  )  [protected]

vtkMergeFilter::~vtkMergeFilter (  )  [protected]


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.

virtual const char* vtkMergeFilter::GetClassName (  )  [virtual]

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

static vtkMergeFilter* vtkMergeFilter::SafeDownCast ( vtkObject o  )  [static]

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.

void vtkMergeFilter::SetGeometry ( vtkDataSet input  )  [inline]

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

Definition at line 44 of file vtkMergeFilter.h.

vtkDataSet* vtkMergeFilter::GetGeometry (  ) 

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

void vtkMergeFilter::SetGeometryConnection ( vtkAlgorithmOutput algOutput  )  [inline]

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

Definition at line 51 of file vtkMergeFilter.h.

void vtkMergeFilter::SetScalars ( vtkDataSet  ) 

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

vtkDataSet* vtkMergeFilter::GetScalars (  ) 

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

void vtkMergeFilter::SetScalarsConnection ( vtkAlgorithmOutput algOutput  )  [inline]

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

Definition at line 67 of file vtkMergeFilter.h.

void vtkMergeFilter::SetVectors ( vtkDataSet  ) 

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

vtkDataSet* vtkMergeFilter::GetVectors (  ) 

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

void vtkMergeFilter::SetVectorsConnection ( vtkAlgorithmOutput algOutput  )  [inline]

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

Definition at line 83 of file vtkMergeFilter.h.

void vtkMergeFilter::SetNormals ( vtkDataSet  ) 

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

vtkDataSet* vtkMergeFilter::GetNormals (  ) 

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

void vtkMergeFilter::SetNormalsConnection ( vtkAlgorithmOutput algOutput  )  [inline]

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

Definition at line 99 of file vtkMergeFilter.h.

void vtkMergeFilter::SetTCoords ( vtkDataSet  ) 

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

vtkDataSet* vtkMergeFilter::GetTCoords (  ) 

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

void vtkMergeFilter::SetTCoordsConnection ( vtkAlgorithmOutput algOutput  )  [inline]

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

Definition at line 115 of file vtkMergeFilter.h.

void vtkMergeFilter::SetTensors ( vtkDataSet  ) 

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

vtkDataSet* vtkMergeFilter::GetTensors (  ) 

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

void vtkMergeFilter::SetTensorsConnection ( vtkAlgorithmOutput algOutput  )  [inline]

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

Definition at line 131 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.

int vtkMergeFilter::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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.

int vtkMergeFilter::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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 150 of file vtkMergeFilter.h.


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

Generated on Wed Jun 3 19:17:08 2009 for VTK by  doxygen 1.5.6