#include <vtkMultiBlockMergeFilter.h>
vtkMultiBlockMergeFilter is an M to 1 filter similar to vtkMultiBlockDataGroupFilter. However where as that class creates N groups in the output for N inputs, this creates 1 group in the output with N datasets inside it. In actuality if the inputs have M blocks, this will produce M blocks, each of which has N datasets. Inside the merged group, the i'th data set comes from the i'th data set in the i'th input.
Definition at line 31 of file vtkMultiBlockMergeFilter.h.
Public Types | |
typedef vtkMultiBlockDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddInput (vtkDataObject *) |
void | AddInput (int, vtkDataObject *) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMultiBlockMergeFilter * | SafeDownCast (vtkObject *o) |
static vtkMultiBlockMergeFilter * | New () |
Protected Member Functions | |
vtkMultiBlockMergeFilter () | |
~vtkMultiBlockMergeFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
int | IsMultiPiece (vtkMultiBlockDataSet *) |
int | Merge (unsigned int numPieces, unsigned int pieceNo, vtkMultiBlockDataSet *output, vtkMultiBlockDataSet *input) |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Definition at line 35 of file vtkMultiBlockMergeFilter.h.
vtkMultiBlockMergeFilter::vtkMultiBlockMergeFilter | ( | ) | [protected] |
vtkMultiBlockMergeFilter::~vtkMultiBlockMergeFilter | ( | ) | [protected] |
virtual const char* vtkMultiBlockMergeFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
static int vtkMultiBlockMergeFilter::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 vtkMultiBlockDataSetAlgorithm.
virtual int vtkMultiBlockMergeFilter::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 vtkMultiBlockDataSetAlgorithm.
static vtkMultiBlockMergeFilter* vtkMultiBlockMergeFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
void vtkMultiBlockMergeFilter::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 vtkMultiBlockDataSetAlgorithm.
static vtkMultiBlockMergeFilter* vtkMultiBlockMergeFilter::New | ( | ) | [static] |
Construct object with PointIds and CellIds on; and ids being generated as scalars.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
void vtkMultiBlockMergeFilter::AddInput | ( | vtkDataObject * | ) |
Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
void vtkMultiBlockMergeFilter::AddInput | ( | int | , | |
vtkDataObject * | ||||
) |
Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
int vtkMultiBlockMergeFilter::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual int vtkMultiBlockMergeFilter::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 vtkMultiBlockDataSetAlgorithm.
int vtkMultiBlockMergeFilter::IsMultiPiece | ( | vtkMultiBlockDataSet * | ) | [protected] |
int vtkMultiBlockMergeFilter::Merge | ( | unsigned int | numPieces, | |
unsigned int | pieceNo, | |||
vtkMultiBlockDataSet * | output, | |||
vtkMultiBlockDataSet * | input | |||
) | [protected] |