VTK
|
merges multiblock inputs into a single multiblock output More...
#include <vtkMultiBlockMergeFilter.h>
Public Types | |
typedef vtkMultiBlockDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkMultiBlockMergeFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddInputData (vtkDataObject *) |
void | AddInputData (int, vtkDataObject *) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMultiBlockMergeFilter * | SafeDownCast (vtkObjectBase *o) |
static vtkMultiBlockMergeFilter * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
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) |
merges multiblock inputs into a single multiblock output
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 32 of file vtkMultiBlockMergeFilter.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Definition at line 36 of file vtkMultiBlockMergeFilter.h.
vtkMultiBlockMergeFilter::vtkMultiBlockMergeFilter | ( | ) | [protected] |
vtkMultiBlockMergeFilter::~vtkMultiBlockMergeFilter | ( | ) | [protected] |
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual vtkObjectBase* vtkMultiBlockMergeFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
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.
Assign a data object as input. Note that this method does not establish a pipeline connection. Use AddInputConnection() to setup a pipeline connection.
void vtkMultiBlockMergeFilter::AddInputData | ( | int | , |
vtkDataObject * | |||
) |
Assign a data object as input. Note that this method does not establish a pipeline connection. Use AddInputConnection() to setup a pipeline connection.
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] |