nmn::Nurbs< Coordinates, _parameter_count > Class Template Reference

Nurbs class inherits from NurbsCore class and implements some useful functionalities. More...

#include <nurbs.h>

Inherits nmn::NurbsCore< Coordinates, _parameter_count >< Coordinates, _parameter_count >.

Inheritance diagram for nmn::Nurbs< Coordinates, _parameter_count >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Nurbs ()
 Constructor.
virtual ~Nurbs ()
 Destructor.
Matrix< Coordinates, _parameter_count > evaluate (UnsignedInt precision_level=1)
 Evaluates all the NURBS object by a certain precision.

Protected Attributes

UnsignedInt _precision

Classes

struct  Evaluator
struct  Evaluator< Owner, 1 >

Detailed Description

template<typename Coordinates, UnsignedInt _parameter_count = 0>
class nmn::Nurbs< Coordinates, _parameter_count >

Nurbs class inherits from NurbsCore class and implements some useful functionalities.

This class stills appear incomplete, but it is a good example about the right way about to extend the NurbsCore class.


Constructor & Destructor Documentation

template<typename Coordinates, UnsignedInt _parameter_count>
nmn::Nurbs< Coordinates, _parameter_count >::Nurbs (  ) 

Constructor.

template<typename Coordinates, UnsignedInt _parameter_count>
nmn::Nurbs< Coordinates, _parameter_count >::~Nurbs (  )  [virtual]

Destructor.


Member Function Documentation

template<typename Coordinates, UnsignedInt _parameter_count>
Matrix< Coordinates, _parameter_count > nmn::Nurbs< Coordinates, _parameter_count >::evaluate ( UnsignedInt  precision_level = 1  ) 

Evaluates all the NURBS object by a certain precision.

Parameters:
precision_level identify the precision to evaluate the NURBS object.
Returns an m-dimensional matrix of n-dimensional points of the NURBS object, where m = _parameter_count and n is the dimension count of a control point. The parameter precision_level identifies the step count that each NURBS object parameter does between two successive knots of the associated basis function's knot vector.


Member Data Documentation

template<typename Coordinates, UnsignedInt _parameter_count = 0>
UnsignedInt nmn::Nurbs< Coordinates, _parameter_count >::_precision [protected]


The documentation for this class was generated from the following files:
Generated on Sun Nov 18 21:29:40 2007 for nmnurbs by  doxygen 1.4.7