#include <nurbscore.h>
Inherited by nmn::Nurbs< Coordinates, _parameter_count >.
Inheritance diagram for nmn::NurbsCore< Coordinates, _parameter_count >:

Public Member Functions | |
| NurbsCore () | |
| Constructor. | |
| virtual | ~NurbsCore () |
| Destructor. | |
| const UnsignedInt & | getParameterCount () const |
| Returns the number of parameters for the NURBS Object. | |
| const Matrix< Coordinates, _parameter_count > & | getControlPoints () const |
| Returns the n-dimensional matrix of control points. | |
| const std::vector< BasisFunction > & | getBasisFunctions () const |
| Returns a vector of all the basis function of the NURBS object. | |
| const BasisFunction & | getBasisFunction (const UnsignedInt ¶meter_index) const |
| Returns the i-th basis function of the NURBS object. | |
| void | setControlPoints (const Matrix< Coordinates, _parameter_count > &new_control_points) |
| Sets the matrix of control points for the NURBS object. | |
| void | setBasisFunctions (const std::vector< BasisFunction > &new_basis_functions) |
| Sets all the basis function for the NURBS object. | |
| void | setBasisFunction (const UnsignedInt ¶meter_index, const BasisFunction &new_basis_function) |
| Sets the i-th basis function. | |
| Coordinates | evaluate (const Float *parameters) |
| Evaluates the NURBS object for fixed parameters' values. | |
| Coordinates | derive (const Float *parameters, const UnsignedInt ¶meter_index) |
| Evaluates the partial derivative of the NURBS object for fixed parameters' values respect to the i-th parameter. | |
Protected Member Functions | |
| virtual Coordinates | evaluateCurve (const Float ¶meter, const BasisFunction &basis_function, const std::vector< Coordinates > &control_points) |
| not yet documented | |
| virtual Coordinates | deriveCurve (const Float ¶meter, const BasisFunction &basis_function, const std::vector< Coordinates > &control_points) |
| not yet documented | |
Protected Attributes | |
| Matrix< Coordinates, _parameter_count > | _control_points |
| std::vector< BasisFunction > | _basis_functions |
Classes | |
| struct | Derivator |
| struct | Derivator< Owner, 1 > |
| struct | Evaluator |
| struct | Evaluator< Owner, 1 > |
| Coordinates | data type for control points coordinates. | |
| _parameter_count | number of parameter for the NURBS object. |
| nmn::NurbsCore< Coordinates, _parameter_count >::NurbsCore | ( | ) |
Constructor.
| nmn::NurbsCore< Coordinates, _parameter_count >::~NurbsCore | ( | ) | [virtual] |
Destructor.
| Coordinates nmn::NurbsCore< Coordinates, _parameter_count >::derive | ( | const Float * | parameters, | |
| const UnsignedInt & | parameter_index | |||
| ) |
Evaluates the partial derivative of the NURBS object for fixed parameters' values respect to the i-th parameter.
| parameters | fixed values of parameters for NURBS object derivative evaluation. | |
| parameter_index | i-th parameter |
| Coordinates nmn::NurbsCore< Coordinates, _parameter_count >::deriveCurve | ( | const Float & | parameter, | |
| const BasisFunction & | basis_function, | |||
| const std::vector< Coordinates > & | control_points | |||
| ) | [protected, virtual] |
not yet documented
| Coordinates nmn::NurbsCore< Coordinates, _parameter_count >::evaluate | ( | const Float * | parameters | ) |
Evaluates the NURBS object for fixed parameters' values.
| parameters | fixed values of parameters for NURBS object evaluation. |
| Coordinates nmn::NurbsCore< Coordinates, _parameter_count >::evaluateCurve | ( | const Float & | parameter, | |
| const BasisFunction & | basis_function, | |||
| const std::vector< Coordinates > & | control_points | |||
| ) | [protected, virtual] |
not yet documented
| const BasisFunction & nmn::NurbsCore< Coordinates, _parameter_count >::getBasisFunction | ( | const UnsignedInt & | parameter_index | ) | const |
Returns the i-th basis function of the NURBS object.
| parameter_index | index of the basis function relative to the i-th parameter. |
| const std::vector< BasisFunction > & nmn::NurbsCore< Coordinates, _parameter_count >::getBasisFunctions | ( | ) | const |
Returns a vector of all the basis function of the NURBS object.
The number of the basis functions is equal to the number of the NURBS object's parameters.
| const Matrix< Coordinates, _parameter_count > & nmn::NurbsCore< Coordinates, _parameter_count >::getControlPoints | ( | ) | const |
Returns the n-dimensional matrix of control points.
The matrix' dimension count is equal to the number of the NURBS object's parameters.
| const UnsignedInt & nmn::NurbsCore< Coordinates, _parameter_count >::getParameterCount | ( | ) | const |
Returns the number of parameters for the NURBS Object.
| void nmn::NurbsCore< Coordinates, _parameter_count >::setBasisFunction | ( | const UnsignedInt & | parameter_index, | |
| const BasisFunction & | new_basis_function | |||
| ) |
Sets the i-th basis function.
| parameter_index | index of the basis function relative to the i-th parameter. | |
| new_basis_function | new basis function. |
| void nmn::NurbsCore< Coordinates, _parameter_count >::setBasisFunctions | ( | const std::vector< BasisFunction > & | new_basis_functions | ) |
Sets all the basis function for the NURBS object.
| new_basis_functions | new basis functions vector |
| void nmn::NurbsCore< Coordinates, _parameter_count >::setControlPoints | ( | const Matrix< Coordinates, _parameter_count > & | new_control_points | ) |
Sets the matrix of control points for the NURBS object.
| new_control_points | new matrix of control points. |
std::vector< BasisFunction > nmn::NurbsCore< Coordinates, _parameter_count >::_basis_functions [protected] |
Matrix< Coordinates, _parameter_count > nmn::NurbsCore< Coordinates, _parameter_count >::_control_points [protected] |
1.4.7