VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkAppendFilter Class Reference

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

#include <vtkAppendFilter.h>

Inherits vtkUnstructuredGridAlgorithm.

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)
 
vtkDataSetCollection * GetInputList ()
 
vtkDataSet * GetInput (int idx)
 
vtkDataSet * GetInput ()
 
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 vtkObjectBase * NewInstanceInternal () const
 
 vtkAppendFilter ()
 
 ~vtkAppendFilter ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
int AppendBlocksWithPointLocator (vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 

Protected Attributes

vtkDataSetCollection * InputList
 
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

typedef vtkUnstructuredGridAlgorithm vtkAppendFilter::Superclass

Definition at line 45 of file vtkAppendFilter.h.

Constructor & Destructor Documentation

vtkAppendFilter::vtkAppendFilter ( )
protected
vtkAppendFilter::~vtkAppendFilter ( )
protected

Member Function Documentation

static vtkAppendFilter* vtkAppendFilter::New ( )
static
static int vtkAppendFilter::IsTypeOf ( const char *  type)
static
virtual int vtkAppendFilter::IsA ( const char *  type)
virtual
static vtkAppendFilter* vtkAppendFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkAppendFilter::NewInstanceInternal ( ) const
protectedvirtual
vtkAppendFilter* vtkAppendFilter::NewInstance ( ) const
void vtkAppendFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
vtkDataSet* vtkAppendFilter::GetInput ( int  idx)

Get any input of this filter.

vtkDataSet* vtkAppendFilter::GetInput ( )
inline

Get any input of this filter.

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

virtual int vtkAppendFilter::GetOutputPointsPrecision ( )
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.

virtual int vtkAppendFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkAppendFilter::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
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

vtkDataSetCollection* vtkAppendFilter::InputList
protected

Definition at line 110 of file vtkAppendFilter.h.

int vtkAppendFilter::MergePoints
protected

Definition at line 114 of file vtkAppendFilter.h.

int vtkAppendFilter::OutputPointsPrecision
protected

Definition at line 116 of file vtkAppendFilter.h.


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