vtkAppendFilter Class Reference

#include <vtkAppendFilter.h>

Inheritance diagram for vtkAppendFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkAppendFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

appends one or more datasets together into a single unstructured grid

vtkAppendFilter is a filter that appends one of more datasets into a single unstructured grid. All geometry is extracted and appended, but point attributes (i.e., scalars, vectors, normals, field data, etc.) are extracted and appended only if all datasets have the point attributes available. (For example, if one dataset has scalars but another does not, scalars will not be appended.)

See also:
vtkAppendPolyData
Tests:
vtkAppendFilter (Tests)

Definition at line 39 of file vtkAppendFilter.h.


Public Types

typedef
vtkUnstructuredGridAlgorithm 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void MergePointsOn ()
virtual void MergePointsOff ()
void RemoveInput (vtkDataSet *in)
vtkDataSetCollectionGetInputList ()
vtkDataSetGetInput (int idx)
vtkDataSetGetInput ()
virtual int GetMergePoints ()
virtual void SetMergePoints (int)

Static Public Member Functions

static vtkAppendFilterNew ()
static int IsTypeOf (const char *type)
static vtkAppendFilterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkAppendFilter ()
 ~vtkAppendFilter ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
int AppendBlocksWithPointLocator (vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

vtkDataSetCollectionInputList
int MergePoints

Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 44 of file vtkAppendFilter.h.


Constructor & Destructor Documentation

vtkAppendFilter::vtkAppendFilter (  )  [protected]

vtkAppendFilter::~vtkAppendFilter (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkUnstructuredGridAlgorithm.

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

Reimplemented from vtkUnstructuredGridAlgorithm.

static int vtkAppendFilter::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 vtkUnstructuredGridAlgorithm.

virtual int vtkAppendFilter::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 vtkUnstructuredGridAlgorithm.

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

Reimplemented from vtkUnstructuredGridAlgorithm.

void vtkAppendFilter::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 vtkUnstructuredGridAlgorithm.

vtkDataSet* vtkAppendFilter::GetInput ( int  idx  ) 

Get any input of this filter.

Reimplemented from vtkUnstructuredGridAlgorithm.

vtkDataSet* vtkAppendFilter::GetInput (  )  [inline]

Get any input of this filter.

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 51 of file vtkAppendFilter.h.

virtual int vtkAppendFilter::GetMergePoints (  )  [virtual]

Get if the filter should merge coincidental points Note: The filter will only merge points if the ghost cell array doesn't exist Defaults to Off

virtual void vtkAppendFilter::SetMergePoints ( int   )  [virtual]

Set the filter to merge coincidental points. Note: The filter will only merge points if the ghost cell array doesn't exist Defaults to Off

virtual void vtkAppendFilter::MergePointsOn (  )  [virtual]

virtual void vtkAppendFilter::MergePointsOff (  )  [virtual]

void vtkAppendFilter::RemoveInput ( vtkDataSet in  ) 

Remove a dataset from the list of data to append.

vtkDataSetCollection* vtkAppendFilter::GetInputList (  ) 

Returns a copy of the input array. Modifications to this list will not be reflected in the actual inputs.

virtual int vtkAppendFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual int vtkAppendFilter::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 vtkUnstructuredGridAlgorithm.

int vtkAppendFilter::AppendBlocksWithPointLocator ( vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected]

This function appends multiple blocks / pieces into a vtkUnstructuredGrid data by using a point locator to merge duplicate points (when ghost cell information is not available from the input data blocks / pieces). This function should be called by RequestData() only.


Member Data Documentation

Definition at line 101 of file vtkAppendFilter.h.

Definition at line 105 of file vtkAppendFilter.h.


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

Generated on Wed Aug 24 11:28:42 2011 for VTK by  doxygen 1.5.6