45#ifndef vtkMultiBlockDataSet_h
46#define vtkMultiBlockDataSet_h
48#include "vtkCommonDataModelModule.h"
superclass for composite data iterators
virtual int HasMetaData(vtkCompositeDataIterator *iter)
Returns if any meta-data associated with the position pointed by the iterator.
virtual vtkInformation * GetMetaData(vtkCompositeDataIterator *iter)
Returns the meta-data associated with the position pointed by the iterator.
int HasChildMetaData(unsigned int index)
Returns if meta-data information is available for the given child index.
vtkInformation * GetChildMetaData(unsigned int index)
Returns the meta-data at a given index.
a simple class to control print indentation
vtkInformation * GetMetaData(unsigned int blockno)
Returns the meta-data for the block.
static vtkMultiBlockDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
void SetNumberOfBlocks(unsigned int numBlocks)
Set the number of blocks.
void RemoveBlock(unsigned int blockno)
Remove the given block from the dataset.
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkMultiBlockDataSet() override
vtkDataObjectTree * CreateForCopyStructure(vtkDataObjectTree *other) override
Overridden to create a vtkMultiPieceDataSet whenever a vtkPartitionedDataSet is encountered.
void SetBlock(unsigned int blockno, vtkDataObject *block)
Sets the data object as the given block.
unsigned int GetNumberOfBlocks()
Returns the number of blocks.
static vtkMultiBlockDataSet * New()
int HasMetaData(unsigned int blockno)
Returns true if meta-data is available for a given block.
vtkInformation * GetMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
static vtkMultiBlockDataSet * GetData(vtkInformationVector *v, int i=0)
Retrieve an instance of this class from an information object.
vtkDataObject * GetBlock(unsigned int blockno)
Returns the block at the given index.
int HasMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
#define VTK_MULTIBLOCK_DATA_SET