Curves
A library for curves generation.
curves::VectorSpaceCurve< N > Class Template Reference

#include <VectorSpaceCurve.hpp>

Inheritance diagram for curves::VectorSpaceCurve< N >:
Inheritance graph

Public Types

typedef Curve< VectorSpaceConfig< N > > Parent
 
typedef Parent::ValueType ValueType
 
typedef Parent::DerivativeType DerivativeType
 
- Public Types inherited from curves::Curve< VectorSpaceConfig< N > >
typedef VectorSpaceConfig< N >::ValueType ValueType
 The value type of the curve. More...
 
typedef VectorSpaceConfig< N >::DerivativeType DerivativeType
 The curve's derivative type. More...
 

Public Member Functions

 VectorSpaceCurve ()
 
virtual ~VectorSpaceCurve ()
 
size_t dim () const
 Get the dimension of this curve. More...
 
- Public Member Functions inherited from curves::Curve< VectorSpaceConfig< N > >
 Curve ()
 
virtual ~Curve ()
 
virtual void clear ()=0
 Clear all the curve coefficients. More...
 
virtual void transformCurve (const ValueType T)=0
 Perform a rigid transformation on the left side of the curve. More...
 
virtual void print (const std::string &str="") const =0
 Print the value of the coefficient, for debugging and unit tests. More...
 
virtual Time getMinTime () const =0
 The dimension of the underlying manifold. More...
 
virtual Time getMaxTime () const =0
 The one past the last valid time for the curve. More...
 
virtual bool evaluate (ValueType &value, Time time) const =0
 Evaluate the ambient space of the curve. More...
 
virtual bool evaluateDerivative (DerivativeType &derivative, Time time, unsigned derivativeOrder) const =0
 
virtual void extend (const std::vector< Time > &times, const std::vector< ValueType > &values, std::vector< Key > *outKeys=NULL)=0
 
virtual void fitCurve (const std::vector< Time > &times, const std::vector< ValueType > &values, std::vector< Key > *outKeys=NULL)=0
 Fit a new curve to these data points. More...
 

Private Attributes

size_t dimension_
 The dimension of the vector space. More...
 

Detailed Description

template<int N>
class curves::VectorSpaceCurve< N >

Definition at line 17 of file VectorSpaceCurve.hpp.

Member Typedef Documentation

Definition at line 22 of file VectorSpaceCurve.hpp.

template<int N>
typedef Curve<VectorSpaceConfig<N> > curves::VectorSpaceCurve< N >::Parent

Definition at line 20 of file VectorSpaceCurve.hpp.

template<int N>
typedef Parent::ValueType curves::VectorSpaceCurve< N >::ValueType

Definition at line 21 of file VectorSpaceCurve.hpp.

Constructor & Destructor Documentation

template<int N>
curves::VectorSpaceCurve< N >::VectorSpaceCurve ( )
inline

Definition at line 24 of file VectorSpaceCurve.hpp.

template<int N>
virtual curves::VectorSpaceCurve< N >::~VectorSpaceCurve ( )
inlinevirtual

Definition at line 25 of file VectorSpaceCurve.hpp.

Member Function Documentation

template<int N>
size_t curves::VectorSpaceCurve< N >::dim ( ) const
inline

Get the dimension of this curve.

Definition at line 28 of file VectorSpaceCurve.hpp.

Member Data Documentation

template<int N>
size_t curves::VectorSpaceCurve< N >::dimension_
private

The dimension of the vector space.

Definition at line 34 of file VectorSpaceCurve.hpp.


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