VMTK
Loading...
Searching...
No Matches
Contrib
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
49
class
VTK_VMTK_CONTRIB_EXPORT
vtkvmtkPolyDataGeodesicRBFInterpolation
:
public
vtkPolyDataAlgorithm
50
{
51
public
:
52
static
vtkvmtkPolyDataGeodesicRBFInterpolation
*
New
();
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
);
91
void
SetRBFTypeToThinPlateSpline
()
92
{ this->
SetRBFType
(
THIN_PLATE_SPLINE
); }
93
void
SetRBFTypeToBiharmonic
()
94
{ this->
SetRBFType
(
BIHARMONIC
); }
95
void
SetRBFTypeToTriharmonic
()
96
{ this->
SetRBFType
(
TRIHARMONIC
); }
97
98
99
//BTX
100
enum
101
{
102
THIN_PLATE_SPLINE
,
103
BIHARMONIC
,
104
TRIHARMONIC
105
};
106
//ETX
107
108
protected
:
109
vtkvmtkPolyDataGeodesicRBFInterpolation
();
110
~vtkvmtkPolyDataGeodesicRBFInterpolation
();
111
112
virtual
int
RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override
;
113
114
double
EvaluateRBF(
double
r);
115
116
char
*
InterpolatedArrayName
;
117
118
vtkIdList*
SeedIds
;
119
vtkDataArray*
SeedValues
;
120
121
int
RBFType
;
122
123
private
:
124
vtkvmtkPolyDataGeodesicRBFInterpolation
(
const
vtkvmtkPolyDataGeodesicRBFInterpolation
&);
// Not implemented.
125
void
operator=(
const
vtkvmtkPolyDataGeodesicRBFInterpolation
&);
// Not implemented.
126
};
127
128
#endif
129
vtkvmtkPolyDataGeodesicRBFInterpolation
Interpolate a point-based array over a surface using a radial basis function of the mesh geodesic dis...
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:50
vtkvmtkPolyDataGeodesicRBFInterpolation::vtkvmtkPolyDataGeodesicRBFInterpolation
vtkvmtkPolyDataGeodesicRBFInterpolation()
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.cxx:47
vtkvmtkPolyDataGeodesicRBFInterpolation::THIN_PLATE_SPLINE
@ THIN_PLATE_SPLINE
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:102
vtkvmtkPolyDataGeodesicRBFInterpolation::BIHARMONIC
@ BIHARMONIC
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:103
vtkvmtkPolyDataGeodesicRBFInterpolation::TRIHARMONIC
@ TRIHARMONIC
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:104
vtkvmtkPolyDataGeodesicRBFInterpolation::InterpolatedArrayName
char * InterpolatedArrayName
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:116
vtkvmtkPolyDataGeodesicRBFInterpolation::SeedIds
vtkIdList * SeedIds
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:118
vtkvmtkPolyDataGeodesicRBFInterpolation::SeedValues
vtkDataArray * SeedValues
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:119
vtkvmtkPolyDataGeodesicRBFInterpolation::SetRBFTypeToBiharmonic
void SetRBFTypeToBiharmonic()
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:93
vtkvmtkPolyDataGeodesicRBFInterpolation::RBFType
int RBFType
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:121
vtkvmtkPolyDataGeodesicRBFInterpolation::New
static vtkvmtkPolyDataGeodesicRBFInterpolation * New()
vtkvmtkPolyDataGeodesicRBFInterpolation::SetRBFTypeToThinPlateSpline
void SetRBFTypeToThinPlateSpline()
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:91
vtkvmtkPolyDataGeodesicRBFInterpolation::SetRBFTypeToTriharmonic
void SetRBFTypeToTriharmonic()
Definition
vtkvmtkPolyDataGeodesicRBFInterpolation.h:95
vtkvmtkPolyDataGeodesicRBFInterpolation::SetRBFType
virtual void SetRBFType(int)
Generated by
1.15.0