Public Member Functions | Private Member Functions | Private Attributes | List of all members
BSplineND< PointND > Class Template Reference

#include <BSplineND.h>

Public Member Functions

 BSplineND ()
 
void eval (double dPos, PointND &point)
 
double getMaxdPos () const
 
bool ipoWithConstSampleDist (double dIpoDist, std::vector< PointND > &ipoVec)
 
bool ipoWithNumSamples (int iNumPts, std::vector< PointND > &ipoVec)
 
void setCtrlPoints (const std::vector< PointND > &ctrlPointVec)
 
 ~BSplineND ()
 

Private Member Functions

double evalBasis (double t, unsigned int i, int n)
 

Private Attributes

std::vector< PointND > m_CtrlPointVec
 
double m_dLength
 
double m_iGrad
 
std::vector< double > m_KnotVec
 

Detailed Description

template<class PointND>
class BSplineND< PointND >

Implements a BSpline curve as a template class. a PointND type needs the following operators: operator=, copy constructor, p1 += p2, p1 * scalar there needs to be a function Distance(p1,p2) there needs to be a member function p1.zero()

Definition at line 37 of file BSplineND.h.

Constructor & Destructor Documentation

template<class PointND >
BSplineND< PointND >::BSplineND ( )
inline

Definition at line 80 of file BSplineND.h.

template<class PointND >
BSplineND< PointND >::~BSplineND ( )

Definition at line 88 of file BSplineND.h.

Member Function Documentation

template<class PointND>
void BSplineND< PointND >::eval ( double  dPos,
PointND &  point 
)

Definition at line 150 of file BSplineND.h.

template<class PointND >
double BSplineND< PointND >::evalBasis ( double  t,
unsigned int  i,
int  n 
)
private

Definition at line 304 of file BSplineND.h.

template<class PointND>
double BSplineND< PointND >::getMaxdPos ( ) const
inline

Definition at line 54 of file BSplineND.h.

template<class PointND>
bool BSplineND< PointND >::ipoWithConstSampleDist ( double  dIpoDist,
std::vector< PointND > &  ipoVec 
)

Definition at line 167 of file BSplineND.h.

template<class PointND>
bool BSplineND< PointND >::ipoWithNumSamples ( int  iNumPts,
std::vector< PointND > &  ipoVec 
)

Definition at line 274 of file BSplineND.h.

template<class PointND>
void BSplineND< PointND >::setCtrlPoints ( const std::vector< PointND > &  ctrlPointVec)

Definition at line 94 of file BSplineND.h.

Member Data Documentation

template<class PointND>
std::vector<PointND> BSplineND< PointND >::m_CtrlPointVec
private

Definition at line 61 of file BSplineND.h.

template<class PointND>
double BSplineND< PointND >::m_dLength
private

Definition at line 65 of file BSplineND.h.

template<class PointND>
double BSplineND< PointND >::m_iGrad
private

Definition at line 58 of file BSplineND.h.

template<class PointND>
std::vector<double> BSplineND< PointND >::m_KnotVec
private

Definition at line 63 of file BSplineND.h.


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


cob_trajectory_controller
Author(s): Alexander Bubeck
autogenerated on Thu Apr 8 2021 02:39:55