VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataGeodesicRBFInterpolation.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 Note: this class was contributed by
17 Tangui Morvan
18 Kalkulo AS
19 Simula Research Laboratory
20=========================================================================*/
37
38#ifndef __vtkvmtkPolyDataGeodesicRBFInterpolation_h
39#define __vtkvmtkPolyDataGeodesicRBFInterpolation_h
40
41#include "vtkPolyDataAlgorithm.h"
42//#include "vtkvmtkComputationalGeometryWin32Header.h"
43#include "vtkvmtkWin32Header.h"
44
45#include "vtkPolyData.h"
46#include "vtkIdList.h"
47#include "vtkDoubleArray.h"
48
49class VTK_VMTK_CONTRIB_EXPORT vtkvmtkPolyDataGeodesicRBFInterpolation : public vtkPolyDataAlgorithm
50{
51public:
53 vtkTypeMacro(vtkvmtkPolyDataGeodesicRBFInterpolation,vtkPolyDataAlgorithm);
54
56
60 vtkSetObjectMacro(SeedIds,vtkIdList);
61 vtkGetObjectMacro(SeedIds,vtkIdList);
63
65
69 vtkSetObjectMacro(SeedValues,vtkDataArray);
70 vtkGetObjectMacro(SeedValues,vtkDataArray);
72
74
79 vtkSetStringMacro(InterpolatedArrayName);
80 vtkGetStringMacro(InterpolatedArrayName);
82
84
89 vtkSetMacro(RBFType,int);
90 vtkGetMacro(RBFType,int);
97
98
99//BTX
100 enum
101 {
105 };
106//ETX
107
108protected:
111
112 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
113
114 double EvaluateRBF(double r);
115
117
118 vtkIdList* SeedIds;
119 vtkDataArray* SeedValues;
120
122
123private:
125 void operator=(const vtkvmtkPolyDataGeodesicRBFInterpolation&); // Not implemented.
126};
127
128#endif
129
Interpolate a point-based array over a surface using a radial basis function of the mesh geodesic dis...
static vtkvmtkPolyDataGeodesicRBFInterpolation * New()