VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataManifoldStencil.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=========================================================================*/
36
37#ifndef __vtkvmtkPolyDataManifoldStencil_h
38#define __vtkvmtkPolyDataManifoldStencil_h
39
40#include "vtkObject.h"
41#include "vtkvmtkStencil.h"
42#include "vtkPolyData.h"
43#include "vtkvmtkWin32Header.h"
44
45class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkPolyDataManifoldStencil : public vtkvmtkStencil
46{
47public:
48
50
55 vtkGetMacro(Area,double);
56
60 virtual void Build() override;
61
67 virtual void ComputeArea();
68
74 virtual void ScaleWithArea() = 0;
75
81
83
88 vtkGetMacro(UseExtendedNeighborhood,int);
89 vtkSetMacro(UseExtendedNeighborhood,int);
90 vtkBooleanMacro(UseExtendedNeighborhood,int);
92
93protected:
96
97 void ScaleWithAreaFactor(double factor);
98
99 double Area;
100
102
103private:
105 void operator=(const vtkvmtkPolyDataManifoldStencil&); // Not implemented.
106};
107
108#endif
109
virtual void ScaleWithArea()=0
virtual void DeepCopy(vtkvmtkItem *src) override
virtual void Build() override=0