VMTK
Loading...
Searching...
No Matches
vtkvmtkDataSetItems.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15
16=========================================================================*/
33
34#ifndef __vtkvmtkDataSetItems_h
35#define __vtkvmtkDataSetItems_h
36
37#include "vtkObject.h"
38#include "vtkvmtkItems.h"
39#include "vtkDataSet.h"
40//#include "vtkvmtkDifferentialGeometryWin32Header.h"
41#include "vtkvmtkWin32Header.h"
42
43class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkDataSetItems : public vtkvmtkItems
44{
45public:
46
48
50
54/* vtkSetObjectMacro(DataSet,vtkDataSet); */
55/* vtkGetObjectMacro(DataSet,vtkDataSet); */
56 void SetDataSet(vtkDataSet* dataSet) {this->DataSet = dataSet;};
57 vtkDataSet* GetDataSet() {return this->DataSet;};
59
65 void Build();
66
68
73 vtkSetMacro(ReallocateOnBuild,int)
74 vtkGetMacro(ReallocateOnBuild,int)
75 vtkBooleanMacro(ReallocateOnBuild,int)
77
78protected:
81
82 vtkDataSet *DataSet;
83
85
86private:
87 vtkvmtkDataSetItems(const vtkvmtkDataSetItems&); // Not implemented.
88 void operator=(const vtkvmtkDataSetItems&); // Not implemented.
89};
90
91#endif
92
void SetDataSet(vtkDataSet *dataSet)