32 #ifndef ossimThinPlateSpline_HEADER 33 #define ossimThinPlateSpline_HEADER 49 VIZ_GEOREF_SPLINE_POINT_WAS_DELETED
59 rhs.resize(_nof_vars);
60 coef.resize(_nof_vars);
62 for (
int v = 0; v < _nof_vars; v++ )
63 for (
int i = 0; i < 3; i++ )
66 type = VIZ_GEOREF_SPLINE_ZERO_POINTS;
102 type = VIZ_GEOREF_SPLINE_ZERO_POINTS;
109 int addPoint(
const double Px,
const double Py,
const double *Pvars );
110 int deletePoint(
const double Px,
const double Py );
111 int getPoint(
const double Px,
const double Py,
double *Pvars )
const;
112 bool getXy(
int index,
double&
x,
double&
y)
const;
113 bool changePoint(
int index,
double x,
double y,
double* Pvars);
114 void reset(
void) { _nof_points = 0; }
118 double baseFunc(
const double x1,
const double y1,
119 const double x2,
const double y2 )
const;
132 std::vector<double>
x;
133 std::vector<double>
y;
135 std::vector<std::vector<double> >
rhs;
136 std::vector<std::vector<double> >
coef;
138 std::vector<double>
u;
void getToler(double &tx, double &ty) const
std::vector< int > unused
std::vector< std::vector< double > > rhs
std::vector< std::vector< double > > coef
vizGeorefInterType getInterpolationType() const
ossimThinPlateSpline(int nof_vars=1)
int getNumberOfPoints() const
void setToler(double tx, double ty)
std::vector< double > _Ainv