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

appends one or more datasets together into a single unstructured grid More...

#include <vtkAppendFilter.h>

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

List of all members.

Public Types

typedef
vtkUnstructuredGridAlgorithm 
Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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
int OutputPointsPrecision

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 40 of file vtkAppendFilter.h.


Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 45 of file vtkAppendFilter.h.


Constructor & Destructor Documentation


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.

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.

Reimplemented from vtkUnstructuredGridAlgorithm.

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

Reimplemented from vtkUnstructuredGridAlgorithm.

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.

Get any input of this filter.

Reimplemented from vtkUnstructuredGridAlgorithm.

Get any input of this filter.

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 52 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]

Remove a dataset from the list of data to append.

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

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

Set/get the desired precision for the output types. See the documentation for the vtkAlgorithm::Precision enum for an explanation of the available precision settings.

Set/get the desired precision for the output types. See the documentation for the vtkAlgorithm::Precision enum for an explanation of the available precision settings.

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.

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 110 of file vtkAppendFilter.h.

Definition at line 114 of file vtkAppendFilter.h.

Definition at line 116 of file vtkAppendFilter.h.


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