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 =========================================================================*/
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)
81  { return this->Superclass::HasChildMetaData(idx); }
82 
88  vtkInformation* GetMetaData(unsigned int idx)
89  { return this->Superclass::GetChildMetaData(idx); }
90 
92 
98 
103  { return this->Superclass::GetMetaData(iter); }
104 
109  { return this->Superclass::HasMetaData(iter); }
110 
111 protected:
114 
115 private:
117  void operator=(const vtkPartitionedDataSetCollection&) = delete;
118 
119 };
120 
121 #endif
vtkPartitionedDataSet
composite dataset to encapsulates a dataset consisting of partitions.
Definition: vtkPartitionedDataSet.h:46
vtkDataObjectTree
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
Definition: vtkDataObjectTree.h:46
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPartitionedDataSetCollection::GetDataObjectType
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
Definition: vtkPartitionedDataSetCollection.h:46
VTK_PARTITIONED_DATA_SET_COLLECTION
#define VTK_PARTITIONED_DATA_SET_COLLECTION
Definition: vtkType.h:129
vtkPartitionedDataSetCollection::GetMetaData
vtkInformation * GetMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
Definition: vtkPartitionedDataSetCollection.h:102
vtkPartitionedDataSetCollection::HasMetaData
int HasMetaData(unsigned int idx)
Returns true if meta-data is available for a given block.
Definition: vtkPartitionedDataSetCollection.h:80
vtkCompositeDataIterator
superclass for composite data iterators
Definition: vtkCompositeDataIterator.h:35
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDataObjectTree::GetData
static vtkDataObjectTree * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkX3D::info
Definition: vtkX3D.h:376
vtkPartitionedDataSetCollection::HasMetaData
int HasMetaData(vtkCompositeDataIterator *iter) override
Unhiding superclass method.
Definition: vtkPartitionedDataSetCollection.h:108
vtkDataObjectTree::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPartitionedDataSetCollection
Composite dataset that groups datasets as a collection.
Definition: vtkPartitionedDataSetCollection.h:35
vtkDataObjectTree.h
vtkPartitionedDataSetCollection::GetMetaData
vtkInformation * GetMetaData(unsigned int idx)
Returns the meta-data for the block.
Definition: vtkPartitionedDataSetCollection.h:88
vtkDataObject::New
static vtkDataObject * New()