36 #ifndef vtkMultiPieceDataSet_h 37 #define vtkMultiPieceDataSet_h 39 #include "vtkCommonDataModelModule.h" composite dataset to encapsulates a dataset consisting of partitions.
unsigned int GetNumberOfPieces()
Returns the number of pieces.
vtkDataObject * GetPieceAsDataObject(unsigned int pieceno)
Returns the piece at the given index.
abstract class to specify dataset behavior
unsigned int GetNumberOfPartitions()
Returns the number of partitions.
static vtkPartitionedDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
void SetNumberOfPieces(unsigned int numpieces)
Set the number of pieces.
#define VTK_MULTIPIECE_DATA_SET
void SetPiece(unsigned int pieceno, vtkDataObject *piece)
Sets the data object as the given piece.
static vtkPartitionedDataSet * New()
a simple class to control print indentation
composite dataset to encapsulates pieces of dataset.
vtkDataSet * GetPartition(unsigned int idx)
Returns the partition at the given index.
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
vtkDataSet * GetPiece(unsigned int pieceno)
Returns the piece at the given index.
void SetNumberOfPartitions(unsigned int numPartitions)
Set the number of partitionss.
vtkDataObject * GetPartitionAsDataObject(unsigned int idx)
Returns the partition at the given index.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data
void SetPartition(unsigned int idx, vtkDataObject *partition)
Sets the data object as the given partition.