VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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;
48 
49 class VTKCOMMONDATAMODEL_EXPORT vtkCompositeDataSet : public vtkDataObject
50 {
51 public:
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56  virtual vtkCompositeDataIterator* NewIterator() =0;
57 
59  virtual int GetDataObjectType() {return VTK_COMPOSITE_DATA_SET;}
60 
64  virtual void CopyStructure(vtkCompositeDataSet* input)=0;
65 
70  virtual void SetDataSet(vtkCompositeDataIterator* iter, vtkDataObject* dataObj)=0;
71 
76  virtual vtkDataObject* GetDataSet(vtkCompositeDataIterator* iter)=0;
77 
78 
81  virtual unsigned long GetActualMemorySize();
82 
83  //BTX
85 
86  static vtkCompositeDataSet* GetData(vtkInformation* info);
87  static vtkCompositeDataSet* GetData(vtkInformationVector* v, int i=0);
88  //ETX
90 
92  virtual void Initialize();
93 
95 
96  virtual void ShallowCopy(vtkDataObject *src);
97  virtual void DeepCopy(vtkDataObject *src);
99 
103  virtual vtkIdType GetNumberOfPoints();
104 
106  static vtkInformationStringKey* NAME();
107 
108 //BTX
109  protected:
111  virtual ~vtkCompositeDataSet();
112  private:
113 
114  vtkCompositeDataSet(const vtkCompositeDataSet&); // Not implemented.
115  void operator=(const vtkCompositeDataSet&); // Not implemented.
116 //ETX
117 };
118 
119 #endif
120 
121 
Store vtkAlgorithm input/output information.
#define VTK_COMPOSITE_DATA_SET
Definition: vtkType.h:77
int vtkIdType
Definition: vtkType.h:268
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
Store zero or more vtkInformation instances.
helper class to get VTK data object types as string and instantiate them
virtual int GetDataObjectType()