18 #ifndef vtkPartitionedDataSetCollection_h
19 #define vtkPartitionedDataSetCollection_h
21 #include "vtkCommonDataModelModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
47 void SetNumberOfPartitionedDataSets(
unsigned int numDataSets);
52 unsigned int GetNumberOfPartitionedDataSets()
const;
71 void RemovePartitionedDataSet(
unsigned int idx);
77 void SetPartition(
unsigned int idx,
unsigned int partition,
vtkDataObject*
object);
78 vtkDataSet* GetPartition(
unsigned int idx,
unsigned int partition);
79 vtkDataObject* GetPartitionAsDataObject(
unsigned int idx,
unsigned int partition);
85 unsigned int GetNumberOfPartitions(
unsigned int idx)
const;
91 void SetNumberOfPartitions(
unsigned int idx,
unsigned int numPartitions);
121 unsigned int GetCompositeIndex(
unsigned int idx)
const;
122 unsigned int GetCompositeIndex(
unsigned int idx,
unsigned int partition)
const;
138 return this->Superclass::GetMetaData(iter);
146 return this->Superclass::HasMetaData(iter);
182 VTK_ABI_NAMESPACE_END
void Initialize() override
Restore data object to initial state,.
composite dataset to encapsulates a dataset consisting of partitions.
static vtkDataObject * New()
provides implementation for most abstract methods in the superclass vtkCompositeDataSet ...
vtkTypeUInt32 vtkMTimeType
abstract class to specify dataset behavior
void CopyStructure(vtkCompositeDataSet *input) override
Copies the tree structure from the input.
vtkInformation * GetMetaData(unsigned int idx)
Returns the meta-data for the block.
vtkTypeBool HasMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
superclass for composite data iterators
#define VTK_PARTITIONED_DATA_SET_COLLECTION
void ShallowCopy(vtkDataObject *src) override
CompositeShallow, Shallow and Deep copy.
abstract superclass for composite (multi-block or AMR) datasets
void CompositeShallowCopy(vtkCompositeDataSet *src) override
CompositeShallow, Shallow and Deep copy.
a simple class to control print indentation
virtual vtkDataObjectTree * CreateForCopyStructure(vtkDataObjectTree *other)
When copying structure from another vtkDataObjectTree, this method gets called for create a new non-l...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDataObjectTree * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
void DeepCopy(vtkDataObject *src) override
CompositeShallow, Shallow and Deep copy.
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
hierarchical representation to use with vtkPartitionedDataSetCollection
vtkMTimeType GetMTime() override
Data objects are composite objects and need to check each part for MTime.
vtkInformation * GetMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
general representation of visualization data
vtkTypeBool HasMetaData(unsigned int idx)
Returns true if meta-data is available for a given block.
Composite dataset that groups datasets as a collection.