#include <vtkAppendFilter.h>
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.)
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) |
void | RemoveInput (vtkDataSet *in) |
vtkDataSetCollection * | GetInputList () |
vtkDataSet * | GetInput (int idx) |
vtkDataSet * | GetInput () |
Static Public Member Functions | |
static vtkAppendFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkAppendFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkAppendFilter () | |
~vtkAppendFilter () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
Protected Attributes | |
vtkDataSetCollection * | InputList |
vtkAppendFilter::vtkAppendFilter | ( | ) | [protected] |
vtkAppendFilter::~vtkAppendFilter | ( | ) | [protected] |
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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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. BTX
Reimplemented from vtkUnstructuredGridAlgorithm.
vtkDataSet* vtkAppendFilter::GetInput | ( | ) | [inline] |
Get any input of this filter. BTX
Reimplemented from vtkUnstructuredGridAlgorithm.
Definition at line 50 of file vtkAppendFilter.h.
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.
vtkDataSetCollection* vtkAppendFilter::InputList [protected] |
Definition at line 73 of file vtkAppendFilter.h.