cpe::evaluator_spline Class Reference
+ Collaboration diagram for cpe::evaluator_spline:

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...
 

Detailed Description

Functor class to Evaluate spline

Constructor & Destructor Documentation

cpe::evaluator_spline::evaluator_spline ( const cpe::matrix4 P)

Direct constructor given a patch.

Member Function Documentation

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.

Member Data Documentation

cpe::matrix4 cpe::evaluator_spline::P
private

Internal storage for the patch values.

Referenced by diff_u(), diff_v(), and operator()().


The documentation for this class was generated from the following files: