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