Go to the documentation of this file.
45 #ifndef vtkMultiBlockDataSet_h
46 #define vtkMultiBlockDataSet_h
48 #include "vtkCommonDataModelModule.h"
97 {
return this->Superclass::HasChildMetaData(blockno); }
105 {
return this->Superclass::GetChildMetaData(blockno); }
119 {
return this->Superclass::GetMetaData(iter); }
125 {
return this->Superclass::HasMetaData(iter); }
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataObject * GetBlock(unsigned int blockno)
Returns the block at the given index.
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
void RemoveBlock(unsigned int blockno)
Remove the given block from the dataset.
void SetNumberOfBlocks(unsigned int numBlocks)
Set the number of blocks.
Composite dataset that organizes datasets into blocks.
static vtkMultiBlockDataSet * GetData(vtkInformationVector *v, int i=0)
vtkInformation * GetMetaData(unsigned int blockno)
Returns the meta-data for the block.
superclass for composite data iterators
a simple class to control print indentation
static vtkMultiBlockDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
~vtkMultiBlockDataSet() override
vtkInformation * GetMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
void SetBlock(unsigned int blockno, vtkDataObject *block)
Sets the data object as the given block.
int HasMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
#define VTK_MULTIBLOCK_DATA_SET
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
unsigned int GetNumberOfBlocks()
Returns the number of blocks.
int HasMetaData(unsigned int blockno)
Returns true if meta-data is available for a given block.
static vtkMultiBlockDataSet * New()
general representation of visualization data