VTK
vtkCompositeDataSet.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCompositeDataSet.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 =========================================================================*/
38 #ifndef vtkCompositeDataSet_h
39 #define vtkCompositeDataSet_h
40 
41 #include "vtkCommonDataModelModule.h" // For export macro
42 #include "vtkDataObject.h"
43 
45 class vtkCompositeDataSetInternals;
46 class vtkInformation;
49 
51 {
52 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57  virtual vtkCompositeDataIterator* NewIterator() =0;
58 
60  virtual int GetDataObjectType() {return VTK_COMPOSITE_DATA_SET;}
61 
65  virtual void CopyStructure(vtkCompositeDataSet* input)=0;
66 
71  virtual void SetDataSet(vtkCompositeDataIterator* iter, vtkDataObject* dataObj)=0;
72 
77  virtual vtkDataObject* GetDataSet(vtkCompositeDataIterator* iter)=0;
78 
79 
82  virtual unsigned long GetActualMemorySize();
83 
84  //BTX
86 
89  //ETX
91 
93  virtual void Initialize();
94 
96 
97  virtual void ShallowCopy(vtkDataObject *src);
98  virtual void DeepCopy(vtkDataObject *src);
100 
104  virtual vtkIdType GetNumberOfPoints();
105 
107  static vtkInformationStringKey* NAME();
108 
114  static vtkInformationIntegerKey* CURRENT_PROCESS_CAN_LOAD_BLOCK();
115 
116 //BTX
117  protected:
119  virtual ~vtkCompositeDataSet();
120  private:
121 
122  vtkCompositeDataSet(const vtkCompositeDataSet&); // Not implemented.
123  void operator=(const vtkCompositeDataSet&); // Not implemented.
124 //ETX
125 };
126 
127 #endif
128 
129 
static vtkDataObject * GetData(vtkInformation *info)
Store vtkAlgorithm input/output information.
#define VTK_COMPOSITE_DATA_SET
Definition: vtkType.h:75
virtual void Initialize()
int vtkIdType
Definition: vtkType.h:247
Key for string values in vtkInformation.
superclass for composite data iterators
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:38
Key for integer values in vtkInformation.
void PrintSelf(ostream &os, vtkIndent indent)
virtual unsigned long GetActualMemorySize()
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:64
virtual void DeepCopy(vtkDataObject *src)
#define VTKCOMMONDATAMODEL_EXPORT
virtual int GetDataObjectType()
virtual void ShallowCopy(vtkDataObject *src)