Public Member Functions | |
evaluator_spline (const cpe::matrix4 &P) | |
Direct constructor given a patch. | |
double | operator() (const double &u, const double &v) const |
Evaluation of the value of the interpolation at the (u,v) parameters. | |
double | diff_u (const double &u, const double &v) const |
Evaluation of the derivative with respect to u at the (u,v) parameters. | |
double | diff_v (const double &u, const double &v) const |
Evaluation of the derivative with respect to v at the (u,v) parameters. | |
Private Attributes | |
cpe::matrix4 | P |
Internal storage for the patch values. |
Functor class to Evaluate spline
cpe::evaluator_spline::evaluator_spline | ( | const cpe::matrix4 & | P | ) |
Direct constructor given a patch.
double cpe::evaluator_spline::diff_u | ( | const double & | u, | |
const double & | v | |||
) | const |
Evaluation of the derivative with respect to u at the (u,v) parameters.
References P.
Referenced by scene::load_model().
double cpe::evaluator_spline::diff_v | ( | const double & | u, | |
const double & | v | |||
) | const |
Evaluation of the derivative with respect to v at the (u,v) parameters.
References P.
Referenced by scene::load_model().
double cpe::evaluator_spline::operator() | ( | const double & | u, | |
const double & | v | |||
) | const |
Evaluation of the value of the interpolation at the (u,v) parameters.
References P.
cpe::matrix4 cpe::evaluator_spline::P [private] |
Internal storage for the patch values.
Referenced by diff_u(), diff_v(), and operator()().