130 std::vector<double> &l_knots, std::vector<vpImagePoint> &l_controlPoints,
131 std::vector<double> &l_weights);
185 for (
unsigned int i = 0; i < weights.size(); i++)
186 list.push_back(*(&(weights[0]) + i));
197 for (std::list<double>::const_iterator it = list.begin(); it != list.end(); ++it) {
198 weights.push_back(*it);
219 std::vector<vpImagePoint> &l_controlPoints, std::vector<double> &l_weights);
252 static vpImagePoint *computeCurveDersPoint(
double l_u,
unsigned int l_i,
unsigned int l_p,
unsigned int l_der,
253 std::vector<double> &l_knots, std::vector<vpImagePoint> &l_controlPoints,
254 std::vector<double> &l_weights);
269 vpImagePoint *computeCurveDersPoint(
double u,
unsigned int der);
288 static void curveKnotIns(
double l_u,
unsigned int l_k,
unsigned int l_s,
unsigned int l_r,
unsigned int l_p,
289 std::vector<double> &l_knots, std::vector<vpImagePoint> &l_controlPoints,
290 std::vector<double> &l_weights);
304 void curveKnotIns(
double u,
unsigned int s = 0,
unsigned int r = 1);
320 static void refineKnotVectCurve(
double *l_x,
unsigned int l_r,
unsigned int l_p, std::vector<double> &l_knots,
321 std::vector<vpImagePoint> &l_controlPoints, std::vector<double> &l_weights);
333 void refineKnotVectCurve(
double *x,
unsigned int r);
361 static unsigned int removeCurveKnot(
double l_u,
unsigned int l_r,
unsigned int l_num,
double l_TOL,
unsigned int l_s,
362 unsigned int l_p, std::vector<double> &l_knots,
363 std::vector<vpImagePoint> &l_controlPoints, std::vector<double> &l_weights);
386 unsigned int removeCurveKnot(
double l_u,
unsigned int l_r,
unsigned int l_num,
double l_TOL);
401 static void globalCurveInterp(std::vector<vpImagePoint> &l_crossingPoints,
unsigned int l_p,
402 std::vector<double> &l_knots, std::vector<vpImagePoint> &l_controlPoints,
403 std::vector<double> &l_weights);
427 void globalCurveInterp(
const std::list<vpImagePoint> &l_crossingPoints);
439 void globalCurveInterp(
const std::list<vpMeSite> &l_crossingPoints);
448 void globalCurveInterp();
467 static void globalCurveApprox(std::vector<vpImagePoint> &l_crossingPoints,
unsigned int l_p,
unsigned int l_n,
468 std::vector<double> &l_knots, std::vector<vpImagePoint> &l_controlPoints,
469 std::vector<double> &l_weights);
501 void globalCurveApprox(
const std::list<vpImagePoint> &l_crossingPoints,
unsigned int n);
518 void globalCurveApprox(
const std::list<vpMeSite> &l_crossingPoints,
unsigned int n);
529 void globalCurveApprox(
unsigned int n);
static vpImagePoint computeCurvePoint(double l_u, unsigned int l_i, unsigned int l_p, std::vector< double > &l_knots, std::vector< vpImagePoint > &l_controlPoints)
static vpImagePoint * computeCurveDers(double l_u, unsigned int l_i, unsigned int l_p, unsigned int l_der, std::vector< double > &l_knots, std::vector< vpImagePoint > &l_controlPoints)