VTK
vtkPartitionedDataSetCollection.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPartitionedDataSetCollection.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
30 #ifndef vtkPartitionedDataSetCollection_h
31 #define vtkPartitionedDataSetCollection_h
32 
33 #include "vtkCommonDataModelModule.h" // For export macro
34 #include "vtkDataObjectTree.h"
35 
37 
38 class VTKCOMMONDATAMODEL_EXPORT vtkPartitionedDataSetCollection : public vtkDataObjectTree
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
50 
56  void SetNumberOfPartitionedDataSets(unsigned int numDataSets);
57 
61  unsigned int GetNumberOfPartitionedDataSets();
62 
67  vtkPartitionedDataSet* GetPartitionedDataSet(unsigned int idx);
68 
73  void SetPartitionedDataSet(unsigned int idx, vtkPartitionedDataSet* dataset);
74 
78  void RemovePartitionedDataSet(unsigned int idx);
79 
83  int HasMetaData(unsigned int idx)
84  { return this->Superclass::HasChildMetaData(idx); }
85 
91  vtkInformation* GetMetaData(unsigned int idx)
92  { return this->Superclass::GetChildMetaData(idx); }
93 
95 
101 
106  { return this->Superclass::GetMetaData(iter); }
107 
112  { return this->Superclass::HasMetaData(iter); }
113 
114 protected:
117 
118 private:
120  void operator=(const vtkPartitionedDataSetCollection&) = delete;
121 
122 };
123 
124 #endif
composite dataset to encapsulates a dataset consisting of partitions.
static vtkDataObject * New()
int HasMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
provides implementation for most abstract methods in the superclass vtkCompositeDataSet ...
Store vtkAlgorithm input/output information.
vtkInformation * GetMetaData(unsigned int idx)
Returns the meta-data for the block.
superclass for composite data iterators
#define VTK_PARTITIONED_DATA_SET_COLLECTION
Definition: vtkType.h:129
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
static vtkDataObjectTree * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
vtkInformation * GetMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
int HasMetaData(unsigned int idx)
Returns true if meta-data is available for a given block.
Composite dataset that groups datasets as a collection.