VMTK
vtkvmtkDataSetItems.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkDataSetItems.h,v $
5  Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
28 #ifndef __vtkvmtkDataSetItems_h
29 #define __vtkvmtkDataSetItems_h
30 
31 #include "vtkObject.h"
32 #include "vtkvmtkItems.h"
33 #include "vtkDataSet.h"
34 //#include "vtkvmtkDifferentialGeometryWin32Header.h"
35 #include "vtkvmtkWin32Header.h"
36 
37 class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkDataSetItems : public vtkvmtkItems
38 {
39 public:
40 
42 
43 /* vtkSetObjectMacro(DataSet,vtkDataSet); */
44 /* vtkGetObjectMacro(DataSet,vtkDataSet); */
45  void SetDataSet(vtkDataSet* dataSet) {this->DataSet = dataSet;};
46  vtkDataSet* GetDataSet() {return this->DataSet;};
47 
49  void Build();
50 
51  vtkSetMacro(ReallocateOnBuild,int)
52  vtkGetMacro(ReallocateOnBuild,int)
53  vtkBooleanMacro(ReallocateOnBuild,int)
54 
55 protected:
58 
59  vtkDataSet *DataSet;
60 
62 
63 private:
64  vtkvmtkDataSetItems(const vtkvmtkDataSetItems&); // Not implemented.
65  void operator=(const vtkvmtkDataSetItems&); // Not implemented.
66 };
67 
68 #endif
69 
void SetDataSet(vtkDataSet *dataSet)
Control allocation and memory footprint of item instances.
Definition: vtkvmtkItems.h:37
vtkDataSet * GetDataSet()
Create a collection of data set items, one for every point within the data set.