 |
VTK
9.1.0
|
Go to the documentation of this file.
27 #ifndef vtkPartitionedDataSetCollection_h
28 #define vtkPartitionedDataSetCollection_h
30 #include "vtkCommonDataModelModule.h"
104 int HasMetaData(
unsigned int idx) {
return this->Superclass::HasChildMetaData(idx); }
146 return this->Superclass::GetMetaData(iter);
154 return this->Superclass::HasMetaData(iter);
vtkDataSet * GetPartition(unsigned int idx, unsigned int partition)
API to get/set partitions using a tuple index.
static vtkPartitionedDataSetCollection * New()
hierarchical representation to use with vtkPartitionedDataSetCollection
composite dataset to encapsulates a dataset consisting of partitions.
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
static vtkPartitionedDataSetCollection * GetData(vtkInformationVector *v, int i=0)
Retrieve an instance of this class from an information object.
void CopyStructure(vtkCompositeDataSet *input) override
Overridden to handle vtkDataAssembly.
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
void RemovePartitionedDataSet(unsigned int idx)
Remove the given block from the dataset.
vtkMTimeType GetMTime() override
Overridden to include DataAssembly MTime.
void SetPartition(unsigned int idx, unsigned int partition, vtkDataObject *object)
API to get/set partitions using a tuple index.
#define VTK_PARTITIONED_DATA_SET_COLLECTION
vtkDataObjectTree * CreateForCopyStructure(vtkDataObjectTree *other) override
Overridden to create a vtkPartitionedDataSet whenever a vtkMultiPieceDataSet is encountered.
abstract superclass for composite (multi-block or AMR) datasets
void SetDataAssembly(vtkDataAssembly *assembly)
DataAssembly provides a way to define hierarchical organization of partitioned-datasets.
vtkInformation * GetMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
void SetPartitionedDataSet(unsigned int idx, vtkPartitionedDataSet *dataset)
Sets the data object as the given block.
void Initialize() override
Overridden to handle vtkDataAssembly.
~vtkPartitionedDataSetCollection() override
void DeepCopy(vtkDataObject *src) override
Overridden to handle vtkDataAssembly.
static vtkPartitionedDataSetCollection * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
int HasMetaData(unsigned int idx)
Returns true if meta-data is available for a given block.
unsigned int GetNumberOfPartitionedDataSets() const
Returns the number of blocks.
vtkPartitionedDataSet * GetPartitionedDataSet(unsigned int idx) const
Returns the block at the given index.
superclass for composite data iterators
a simple class to control print indentation
unsigned int GetCompositeIndex(unsigned int idx) const
Returns the composite index (sometimes referred to as the flat-index) for either a partitioned datase...
unsigned int GetNumberOfPartitions(unsigned int idx) const
Returns the number of partitions in a partitioned dataset at the given index.
void SetNumberOfPartitionedDataSets(unsigned int numDataSets)
Set the number of blocks.
vtkPartitionedDataSetCollection()
abstract class to specify dataset behavior
int HasMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ShallowCopy(vtkDataObject *src) override
Overridden to handle vtkDataAssembly.
Composite dataset that groups datasets as a collection.
unsigned int GetCompositeIndex(unsigned int idx, unsigned int partition) const
Returns the composite index (sometimes referred to as the flat-index) for either a partitioned datase...
vtkDataObject * GetPartitionAsDataObject(unsigned int idx, unsigned int partition)
API to get/set partitions using a tuple index.
vtkInformation * GetMetaData(unsigned int idx)
Returns the meta-data for the block.
general representation of visualization data
void SetNumberOfPartitions(unsigned int idx, unsigned int numPartitions)
Set number of partitions at a given index.
vtkTypeUInt32 vtkMTimeType