Composite dataset that organizes datasets into blocks.
More...
#include <vtkMultiBlockDataSet.h>
Inherits vtkCompositeDataSet.
Composite dataset that organizes datasets into blocks.
vtkMultiBlockDataSet is a vtkCompositeDataSet that stores a hierarchy of datasets. The dataset collection consists of multiple blocks. Each block can itself be a vtkMultiBlockDataSet, thus providing for a full tree structure. Sub-blocks are usually used to distribute blocks across processors. For example, a 1 block dataset can be distributed as following:
proc 0:
Block 0:
* ds 0
* (null)
proc 1:
Block 0:
* (null)
* ds 1
- Examples:
- vtkMultiBlockDataSet (Examples)
- Tests:
- vtkMultiBlockDataSet (Tests)
Definition at line 49 of file vtkMultiBlockDataSet.h.
| vtkMultiBlockDataSet::vtkMultiBlockDataSet |
( |
| ) |
|
|
protected |
| vtkMultiBlockDataSet::~vtkMultiBlockDataSet |
( |
| ) |
|
|
protected |
| virtual const char* vtkMultiBlockDataSet::GetClassName |
( |
| ) |
|
|
virtual |
| static int vtkMultiBlockDataSet::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
| virtual int vtkMultiBlockDataSet::IsA |
( |
const char * |
type | ) |
|
|
virtual |
| void vtkMultiBlockDataSet::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
| virtual int vtkMultiBlockDataSet::GetDataObjectType |
( |
| ) |
|
|
inlinevirtual |
| void vtkMultiBlockDataSet::SetNumberOfBlocks |
( |
unsigned int |
numBlocks | ) |
|
Set the number of blocks. This will cause allocation if the new number of blocks is greater than the current size. All new blocks are initialized to null.
| unsigned int vtkMultiBlockDataSet::GetNumberOfBlocks |
( |
| ) |
|
Returns the number of blocks.
| vtkDataObject* vtkMultiBlockDataSet::GetBlock |
( |
unsigned int |
blockno | ) |
|
Returns the block at the given index. It is recommended that one uses the iterators to iterate over composite datasets rather than using this API.
| void vtkMultiBlockDataSet::SetBlock |
( |
unsigned int |
blockno, |
|
|
vtkDataObject * |
block |
|
) |
| |
Sets the data object as the given block. The total number of blocks will be resized to fit the requested block no.
| void vtkMultiBlockDataSet::RemoveBlock |
( |
unsigned int |
blockno | ) |
|
Remove the given block from the dataset.
| int vtkMultiBlockDataSet::HasMetaData |
( |
unsigned int |
blockno | ) |
|
|
inline |
| vtkInformation* vtkMultiBlockDataSet::GetMetaData |
( |
unsigned int |
blockno | ) |
|
|
inline |
Retrieve an instance of this class from an information object.
Retrieve an instance of this class from an information object.
The documentation for this class was generated from the following file: