VTK  9.0.1
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 =========================================================================*/
27 #ifndef vtkPartitionedDataSetCollection_h
28 #define vtkPartitionedDataSetCollection_h
29 
30 #include "vtkCommonDataModelModule.h" // For export macro
31 #include "vtkDataObjectTree.h"
32 
34 
35 class VTKCOMMONDATAMODEL_EXPORT vtkPartitionedDataSetCollection : public vtkDataObjectTree
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
47 
53  void SetNumberOfPartitionedDataSets(unsigned int numDataSets);
54 
58  unsigned int GetNumberOfPartitionedDataSets();
59 
64  vtkPartitionedDataSet* GetPartitionedDataSet(unsigned int idx);
65 
70  void SetPartitionedDataSet(unsigned int idx, vtkPartitionedDataSet* dataset);
71 
75  void RemovePartitionedDataSet(unsigned int idx);
76 
80  int HasMetaData(unsigned int idx) { return this->Superclass::HasChildMetaData(idx); }
81 
87  vtkInformation* GetMetaData(unsigned int idx) { return this->Superclass::GetChildMetaData(idx); }
88 
90 
96 
101  {
102  return this->Superclass::GetMetaData(iter);
103  }
104 
109  {
110  return this->Superclass::HasMetaData(iter);
111  }
112 
113 protected:
116 
117 private:
119  void operator=(const vtkPartitionedDataSetCollection&) = delete;
120 };
121 
122 #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:123
a simple class to control print indentation
Definition: vtkIndent.h:33
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.