30 #ifndef vtkPartitionedDataSet_h
31 #define vtkPartitionedDataSet_h
33 #include "vtkCommonDataModelModule.h"
36 VTK_ABI_NAMESPACE_BEGIN
102 return this->Superclass::GetMetaData(iter);
110 return this->Superclass::HasMetaData(iter);
134 VTK_ABI_NAMESPACE_END
superclass for composite data iterators
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
general representation of visualization data
abstract class to specify dataset behavior
a simple class to control print indentation
composite dataset to encapsulates a dataset consisting of partitions.
unsigned int GetNumberOfPartitions()
Returns the number of partitions.
static vtkPartitionedDataSet * GetData(vtkInformationVector *v, int i=0)
Retrieve an instance of this class from an information object.
vtkTypeBool HasMetaData(unsigned int idx)
Returns true if meta-data is available for a given partition.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkPartitionedDataSet() override
vtkDataSet * GetPartition(unsigned int idx)
Returns the partition at the given index.
vtkInformation * GetMetaData(unsigned int idx)
Returns the meta-data for the partition.
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
vtkInformation * GetMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
vtkTypeBool HasMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
vtkDataObjectTree * CreateForCopyStructure(vtkDataObjectTree *) override
vtkPartitionedDataSet cannot contain non-leaf children.
static vtkPartitionedDataSet * New()
vtkDataObject * GetPartitionAsDataObject(unsigned int idx)
Returns the partition at the given index.
void RemoveNullPartitions()
Removes all partitions that have null datasets and resizes the dataset.
void SetNumberOfPartitions(unsigned int numPartitions)
Set the number of partitions.
void SetPartition(unsigned int idx, vtkDataObject *partition)
Sets the data object as the given partition.
static vtkPartitionedDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
#define VTK_PARTITIONED_DATA_SET