Collaboration diagram for cpe::evaluator_spline:Public Member Functions | |
| evaluator_spline (const cpe::matrix4 &P) | |
| Direct constructor given a patch. More... | |
| double | operator() (const double &u, const double &v) const |
| Evaluation of the value of the interpolation at the (u,v) parameters. More... | |
| double | diff_u (const double &u, const double &v) const |
| Evaluation of the derivative with respect to u at the (u,v) parameters. More... | |
| double | diff_v (const double &u, const double &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.
| 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::fill_patch().
| 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::fill_patch().
| 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.
|
private |
Internal storage for the patch values.
Referenced by diff_u(), diff_v(), and operator()().