|
VMTK
|
Implicit function that interpolates scalar point data with a radial basis function. More...
#include <vtkvmtkRBFInterpolation2.h>
Public Types | |
| enum | { THIN_PLATE_SPLINE , BIHARMONIC , TRIHARMONIC } |
| typedef vtkImplicitFunction | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkRBFInterpolation2 * | NewInstance () const |
| void | PrintSelf (std::ostream &os, vtkIndent indent) override |
| void | EvaluateGradient (double x[3], double n[3]) override |
| void | ComputeCoefficients () |
| vtkMTimeType | GetMTime () override |
| double | EvaluateFunction (double x[3]) override |
| double | EvaluateFunction (double x, double y, double z) override |
| virtual void | SetSource (vtkPolyData *) |
| virtual vtkPolyData * | GetSource () |
| virtual void | SetRBFType (int) |
| virtual int | GetRBFType () |
| void | SetRBFTypeToThinPlateSpline () |
| void | SetRBFTypeToBiharmonic () |
| void | SetRBFTypeToTriharmonic () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkRBFInterpolation2 * | SafeDownCast (vtkObjectBase *o) |
| static vtkvmtkRBFInterpolation2 * | New () |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkRBFInterpolation2 () | |
| ~vtkvmtkRBFInterpolation2 () | |
| double | EvaluateRBF (double c[3], double x[3]) |
Protected Attributes | |
| vtkPolyData * | Source |
| int | RBFType |
| vtkDoubleArray * | Coefficients |
Implicit function that interpolates scalar point data with a radial basis function.
vtkvmtkRBFInterpolation2 solves for a set of per-point coefficients such that a sum of radial basis functions (RBFs) centered at the points of Source exactly reproduces the scalar point data of Source, then evaluates that sum as an implicit function at arbitrary query points. It is a variant of vtkvmtkRBFInterpolation. The coefficients are found by solving a dense linear system (one equation per source point) the first time EvaluateFunction() is called, or explicitly via ComputeCoefficients(). EvaluateGradient() is not implemented.
Definition at line 47 of file vtkvmtkRBFInterpolation2.h.
| typedef vtkImplicitFunction vtkvmtkRBFInterpolation2::Superclass |
Definition at line 50 of file vtkvmtkRBFInterpolation2.h.
| anonymous enum |
| Enumerator | |
|---|---|
| THIN_PLATE_SPLINE | |
| BIHARMONIC | |
| TRIHARMONIC | |
Definition at line 107 of file vtkvmtkRBFInterpolation2.h.
|
protected |
Definition at line 34 of file vtkvmtkRBFInterpolation2.cxx.
|
protected |
Definition at line 41 of file vtkvmtkRBFInterpolation2.cxx.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
| vtkvmtkRBFInterpolation2 * vtkvmtkRBFInterpolation2::NewInstance | ( | ) | const |
|
override |
Definition at line 209 of file vtkvmtkRBFInterpolation2.cxx.
|
static |
|
override |
Evaluate polyball.
Definition at line 157 of file vtkvmtkRBFInterpolation2.cxx.
|
inlineoverride |
Evaluate polyball.
Definition at line 60 of file vtkvmtkRBFInterpolation2.h.
|
override |
Evaluate polyball gradient. Not implemented; issues a warning and leaves n untouched.
Definition at line 190 of file vtkvmtkRBFInterpolation2.cxx.
| void vtkvmtkRBFInterpolation2::ComputeCoefficients | ( | ) |
Solve the dense linear system that determines the per-point RBF coefficients required to interpolate the scalar point data of Source. Called automatically by EvaluateFunction() the first time it is invoked after Source (or its data) changes; may also be called explicitly to force recomputation.
Definition at line 82 of file vtkvmtkRBFInterpolation2.cxx.
|
virtual |
Set/get the source poly data whose points and point scalars define the interpolation problem: the RBFs are centered at the Source points and their coefficients are solved for so that the interpolant reproduces the Source point scalars exactly.
|
virtual |
Set/get the source poly data whose points and point scalars define the interpolation problem: the RBFs are centered at the Source points and their coefficients are solved for so that the interpolant reproduces the Source point scalars exactly.
|
virtual |
Set/get the type of radial basis function used, one of THIN_PLATE_SPLINE (r^2 log r, the default), BIHARMONIC (r), or TRIHARMONIC (r^3), where r is the distance to an RBF center.
|
virtual |
Set/get the type of radial basis function used, one of THIN_PLATE_SPLINE (r^2 log r, the default), BIHARMONIC (r), or TRIHARMONIC (r^3), where r is the distance to an RBF center.
|
inline |
Set/get the type of radial basis function used, one of THIN_PLATE_SPLINE (r^2 log r, the default), BIHARMONIC (r), or TRIHARMONIC (r^3), where r is the distance to an RBF center.
Definition at line 98 of file vtkvmtkRBFInterpolation2.h.
|
inline |
Set/get the type of radial basis function used, one of THIN_PLATE_SPLINE (r^2 log r, the default), BIHARMONIC (r), or TRIHARMONIC (r^3), where r is the distance to an RBF center.
Definition at line 100 of file vtkvmtkRBFInterpolation2.h.
|
inline |
Set/get the type of radial basis function used, one of THIN_PLATE_SPLINE (r^2 log r, the default), BIHARMONIC (r), or TRIHARMONIC (r^3), where r is the distance to an RBF center.
Definition at line 102 of file vtkvmtkRBFInterpolation2.h.
|
override |
Returns this object's MTime, taking into account the MTime of Source.
Definition at line 195 of file vtkvmtkRBFInterpolation2.cxx.
|
protected |
Definition at line 56 of file vtkvmtkRBFInterpolation2.cxx.
|
protected |
Definition at line 126 of file vtkvmtkRBFInterpolation2.h.
|
protected |
Definition at line 127 of file vtkvmtkRBFInterpolation2.h.
|
protected |
Definition at line 129 of file vtkvmtkRBFInterpolation2.h.