VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataMeanCurvature.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=========================================================================*/
35
36#ifndef __vtkvmtkPolyDataMeanCurvature_h
37#define __vtkvmtkPolyDataMeanCurvature_h
38
39#include "vtkObject.h"
40#include "vtkPolyDataAlgorithm.h"
41#include "vtkvmtkStencils.h"
42//#include "vtkvmtkDifferentialGeometryWin32Header.h"
43#include "vtkvmtkWin32Header.h"
44
45class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkPolyDataMeanCurvature : public vtkPolyDataAlgorithm
46{
47public:
48
50 vtkTypeMacro(vtkvmtkPolyDataMeanCurvature,vtkPolyDataAlgorithm);
51 void PrintSelf(std::ostream& os, vtkIndent indent) override;
52
54
62 vtkSetMacro(StencilType,int);
63 vtkGetMacro(StencilType,int);
72
73
75
82
84
91
93
99 vtkBooleanMacro(ComputeMeanCurvatureScalars,int);
101
103
109 vtkBooleanMacro(ComputeMeanCurvatureNormals,int);
111
112protected:
115
116 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
117
118 void ComputePointMeanCurvatureVector(vtkPolyData* input, vtkIdType pointId, double* meanCurvatureVector);
119 void ReleaseStencils();
120
125
128
129private:
131 void operator=(const vtkvmtkPolyDataMeanCurvature&); // Not implemented.
132};
133
134#endif
135
virtual void SetStencilType(int)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(std::ostream &os, vtkIndent indent) override
static vtkvmtkPolyDataMeanCurvature * New()
void ComputePointMeanCurvatureVector(vtkPolyData *input, vtkIdType pointId, double *meanCurvatureVector)
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