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