VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataGradientStencil.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=========================================================================*/
34
35#ifndef __vtkvmtkPolyDataGradientStencil_h
36#define __vtkvmtkPolyDataGradientStencil_h
37
38#include "vtkObject.h"
39#include "vtkvmtkConstants.h"
41#include "vtkvmtkWin32Header.h"
42
43class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkPolyDataGradientStencil : public vtkvmtkPolyDataManifoldStencil
44{
45public:
46
49
50 virtual vtkIdType GetItemType() override {return VTK_VMTK_GRADIENT_STENCIL;};
51
52 void Build() override;
53
54protected:
57
58 void ScaleWithArea() override;
59
60 void Gamma(double p0[3], double p1[3], double p2[3], double gamma[3]);
61
62private:
64 void operator=(const vtkvmtkPolyDataGradientStencil&); // Not implemented.
65};
66
67#endif
68
Apply gradient weighting to the neighborhood connections of a surface.
static vtkvmtkPolyDataGradientStencil * New()
virtual void ScaleWithArea()=0
@ VTK_VMTK_GRADIENT_STENCIL