VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataStencilFlowFilter.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 __vtkvmtkPolyDataStencilFlowFilter_h
38#define __vtkvmtkPolyDataStencilFlowFilter_h
39
40#include "vtkPolyDataAlgorithm.h"
41#include "vtkvmtkConstants.h"
42//#include "vtkvmtkDifferentialGeometryWin32Header.h"
43#include "vtkvmtkWin32Header.h"
44
45class vtkvmtkStencils;
46
47class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkPolyDataStencilFlowFilter : public vtkPolyDataAlgorithm
48{
49public:
51 vtkTypeMacro(vtkvmtkPolyDataStencilFlowFilter,vtkPolyDataAlgorithm);
52
54
61 vtkSetMacro(StencilType,int);
62 vtkGetMacro(StencilType,int);
72
74
78 vtkSetMacro(NumberOfIterations,int);
79 vtkGetMacro(NumberOfIterations,int);
81
83
88 vtkSetMacro(RelaxationFactor,double);
89 vtkGetMacro(RelaxationFactor,double);
91
93
98 vtkSetMacro(ProcessBoundary,int);
99 vtkGetMacro(ProcessBoundary,int);
100 vtkBooleanMacro(ProcessBoundary,int);
102
104
109 vtkSetMacro(ConstrainOnSurface,int);
110 vtkGetMacro(ConstrainOnSurface,int);
111 vtkBooleanMacro(ConstrainOnSurface,int);
113
115
120 vtkSetMacro(MaximumDisplacement,double);
121 vtkGetMacro(MaximumDisplacement,double);
123
124protected:
127
128 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
129
130 void ReleaseStencils();
131
134
137
139
142
143private:
145 void operator=(const vtkvmtkPolyDataStencilFlowFilter&); // Not implemented.
146};
147
148#endif
149
virtual void SetStencilType(int)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkPolyDataStencilFlowFilter * New()
Create an empty, umbrella, area weighted umbrella, finite-element LP, or finite-volume finite-element...
@ VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL
@ VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL
@ VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL
@ VTK_VMTK_UMBRELLA_STENCIL