VTK
|
composite dataset to encapsulates pieces of dataset. More...
#include <vtkMultiPieceDataSet.h>
composite dataset to encapsulates pieces of dataset.
A vtkMultiPieceDataSet dataset groups multiple data pieces together. For example, say that a simulation broke a volume into 16 piece so that each piece can be processed with 1 process in parallel. We want to load this volume in a visualization cluster of 4 nodes. Each node will get 4 pieces, not necessarily forming a whole rectangular piece. In this case, it is not possible to append the 4 pieces together into a vtkImageData. In this case, these 4 pieces can be collected together using a vtkMultiPieceDataSet. Note that vtkMultiPieceDataSet is intended to be included in other composite datasets eg. vtkMultiBlockDataSet, vtkHierarchicalBoxDataSet. Hence the lack of algorithms producting vtkMultiPieceDataSet.
Definition at line 42 of file vtkMultiPieceDataSet.h.
Reimplemented from vtkDataObjectTree.
Definition at line 46 of file vtkMultiPieceDataSet.h.
vtkMultiPieceDataSet::vtkMultiPieceDataSet | ( | ) | [protected] |
vtkMultiPieceDataSet::~vtkMultiPieceDataSet | ( | ) | [protected] |
static vtkMultiPieceDataSet* vtkMultiPieceDataSet::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataObject.
static int vtkMultiPieceDataSet::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 vtkDataObjectTree.
virtual int vtkMultiPieceDataSet::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 vtkDataObjectTree.
static vtkMultiPieceDataSet* vtkMultiPieceDataSet::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataObjectTree.
virtual vtkObjectBase* vtkMultiPieceDataSet::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataObjectTree.
Reimplemented from vtkDataObjectTree.
void vtkMultiPieceDataSet::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 vtkDataObjectTree.
virtual int vtkMultiPieceDataSet::GetDataObjectType | ( | ) | [inline, virtual] |
Return class name of data type (see vtkType.h for definitions).
Reimplemented from vtkCompositeDataSet.
Definition at line 50 of file vtkMultiPieceDataSet.h.
void vtkMultiPieceDataSet::SetNumberOfPieces | ( | unsigned int | numpieces | ) |
Set the number of pieces. This will cause allocation if the new number of pieces is greater than the current size. All new pieces are initialized to null.
unsigned int vtkMultiPieceDataSet::GetNumberOfPieces | ( | ) |
Returns the number of pieces.
vtkDataSet* vtkMultiPieceDataSet::GetPiece | ( | unsigned int | pieceno | ) |
Returns the piece at the given index.
vtkDataObject* vtkMultiPieceDataSet::GetPieceAsDataObject | ( | unsigned int | pieceno | ) |
Returns the piece at the given index.
void vtkMultiPieceDataSet::SetPiece | ( | unsigned int | pieceno, |
vtkDataObject * | piece | ||
) |
Sets the data object as the given piece. The total number of pieces will be resized to fit the requested piece no.
int vtkMultiPieceDataSet::HasMetaData | ( | unsigned int | piece | ) | [inline] |
Returns true if meta-data is available for a given piece.
Definition at line 73 of file vtkMultiPieceDataSet.h.
vtkInformation* vtkMultiPieceDataSet::GetMetaData | ( | unsigned int | pieceno | ) | [inline] |
Returns the meta-data for the piece. If none is already present, a new vtkInformation object will be allocated. Use HasMetaData to avoid allocating vtkInformation objects.
Definition at line 81 of file vtkMultiPieceDataSet.h.
static vtkMultiPieceDataSet* vtkMultiPieceDataSet::GetData | ( | vtkInformation * | info | ) | [static] |
Retrieve an instance of this class from an information object.
Reimplemented from vtkDataObjectTree.
static vtkMultiPieceDataSet* vtkMultiPieceDataSet::GetData | ( | vtkInformationVector * | v, |
int | i = 0 |
||
) | [static] |
Retrieve an instance of this class from an information object.
Reimplemented from vtkDataObjectTree.
virtual vtkInformation* vtkMultiPieceDataSet::GetMetaData | ( | vtkCompositeDataIterator * | iter | ) | [inline, virtual] |
Unhiding superclass method.
Reimplemented from vtkDataObjectTree.
Definition at line 95 of file vtkMultiPieceDataSet.h.
virtual int vtkMultiPieceDataSet::HasMetaData | ( | vtkCompositeDataIterator * | iter | ) | [inline, virtual] |
Unhiding superclass method.
Reimplemented from vtkDataObjectTree.
Definition at line 101 of file vtkMultiPieceDataSet.h.