Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gte::TCBSplineCurve< N, Real > Class Template Reference

#include <GteTCBSplineCurve.h>

Inheritance diagram for gte::TCBSplineCurve< N, Real >:
Inheritance graph
[legend]

Public Member Functions

virtual void Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const
 
Real const * GetBiases () const
 
Real const * GetContinuities () const
 
int GetNumPoints () const
 
Vector< N, Real > const * GetPoints () const
 
Real const * GetTensions () const
 
 TCBSplineCurve (int numPoints, Vector< N, Real > const *points, Real const *times, Real const *tension, Real const *continuity, Real const *bias)
 
virtual ~TCBSplineCurve ()
 
- Public Member Functions inherited from gte::ParametricCurve< N, Real >
Real GetLength (Real t0, Real t1) const
 
int GetNumSegments () const
 
Vector< N, Real > GetPosition (Real t) const
 
Real GetSpeed (Real t) const
 
Vector< N, Real > GetTangent (Real t) const
 
Real GetTime (Real length) const
 
Real const * GetTimes () const
 
Real GetTMax () const
 
Real GetTMin () const
 
Real GetTotalLength () const
 
 operator bool () const
 
void SetMaxBisections (unsigned int maxBisections)
 
void SetRombergOrder (int order)
 
void SetTimeInterval (Real tmin, Real tmax)
 
void SubdivideByLength (int numPoints, Vector< N, Real > *points) const
 
void SubdivideByTime (int numPoints, Vector< N, Real > *points) const
 
virtual ~ParametricCurve ()
 

Protected Member Functions

void ComputePoly (int i0, int i1, int i2, int i3)
 
void GetKeyInfo (Real t, int &key, Real &dt) const
 
- Protected Member Functions inherited from gte::ParametricCurve< N, Real >
 ParametricCurve (Real tmin, Real tmax)
 
 ParametricCurve (int numSegments, Real const *times)
 

Protected Attributes

std::vector< Vector< N, Real > > mA
 
std::vector< Vector< N, Real > > mB
 
std::vector< Real > mBias
 
std::vector< Vector< N, Real > > mC
 
std::vector< Real > mContinuity
 
std::vector< Vector< N, Real > > mD
 
std::vector< Vector< N, Real > > mPoints
 
std::vector< Real > mTension
 
- Protected Attributes inherited from gte::ParametricCurve< N, Real >
std::vector< Real > mAccumulatedLength
 
bool mConstructed
 
unsigned int mMaxBisections
 
int mRombergOrder
 
std::vector< Real > mSegmentLength
 
std::vector< Real > mTime
 

Additional Inherited Members

- Protected Types inherited from gte::ParametricCurve< N, Real >
enum  { DEFAULT_ROMBERG_ORDER = 8, DEFAULT_MAX_BISECTIONS = 1024 }
 

Detailed Description

template<int N, typename Real>
class gte::TCBSplineCurve< N, Real >

Definition at line 17 of file GteTCBSplineCurve.h.

Constructor & Destructor Documentation

template<int N, typename Real >
gte::TCBSplineCurve< N, Real >::~TCBSplineCurve ( )
virtual

Definition at line 64 of file GteTCBSplineCurve.h.

template<int N, typename Real >
gte::TCBSplineCurve< N, Real >::TCBSplineCurve ( int  numPoints,
Vector< N, Real > const *  points,
Real const *  times,
Real const *  tension,
Real const *  continuity,
Real const *  bias 
)

Definition at line 69 of file GteTCBSplineCurve.h.

Member Function Documentation

template<int N, typename Real >
void gte::TCBSplineCurve< N, Real >::ComputePoly ( int  i0,
int  i1,
int  i2,
int  i3 
)
protected

Definition at line 183 of file GteTCBSplineCurve.h.

template<int N, typename Real >
void gte::TCBSplineCurve< N, Real >::Evaluate ( Real  t,
unsigned int  maxOrder,
Vector< N, Real >  values[4] 
) const
virtual

Implements gte::ParametricCurve< N, Real >.

Definition at line 141 of file GteTCBSplineCurve.h.

template<int N, typename Real >
Real const * gte::TCBSplineCurve< N, Real >::GetBiases ( ) const
inline

Definition at line 135 of file GteTCBSplineCurve.h.

template<int N, typename Real >
Real const * gte::TCBSplineCurve< N, Real >::GetContinuities ( ) const
inline

Definition at line 129 of file GteTCBSplineCurve.h.

template<int N, typename Real >
void gte::TCBSplineCurve< N, Real >::GetKeyInfo ( Real  t,
int key,
Real &  dt 
) const
protected

Definition at line 221 of file GteTCBSplineCurve.h.

template<int N, typename Real >
int gte::TCBSplineCurve< N, Real >::GetNumPoints ( ) const
inline

Definition at line 111 of file GteTCBSplineCurve.h.

template<int N, typename Real >
Vector< N, Real > const * gte::TCBSplineCurve< N, Real >::GetPoints ( ) const
inline

Definition at line 117 of file GteTCBSplineCurve.h.

template<int N, typename Real >
Real const * gte::TCBSplineCurve< N, Real >::GetTensions ( ) const
inline

Definition at line 123 of file GteTCBSplineCurve.h.

Member Data Documentation

template<int N, typename Real >
std::vector<Vector<N, Real> > gte::TCBSplineCurve< N, Real >::mA
protected

Definition at line 59 of file GteTCBSplineCurve.h.

template<int N, typename Real >
std::vector<Vector<N, Real> > gte::TCBSplineCurve< N, Real >::mB
protected

Definition at line 59 of file GteTCBSplineCurve.h.

template<int N, typename Real >
std::vector<Real> gte::TCBSplineCurve< N, Real >::mBias
protected

Definition at line 54 of file GteTCBSplineCurve.h.

template<int N, typename Real >
std::vector<Vector<N, Real> > gte::TCBSplineCurve< N, Real >::mC
protected

Definition at line 59 of file GteTCBSplineCurve.h.

template<int N, typename Real >
std::vector<Real> gte::TCBSplineCurve< N, Real >::mContinuity
protected

Definition at line 54 of file GteTCBSplineCurve.h.

template<int N, typename Real >
std::vector<Vector<N, Real> > gte::TCBSplineCurve< N, Real >::mD
protected

Definition at line 59 of file GteTCBSplineCurve.h.

template<int N, typename Real >
std::vector<Vector<N, Real> > gte::TCBSplineCurve< N, Real >::mPoints
protected

Definition at line 53 of file GteTCBSplineCurve.h.

template<int N, typename Real >
std::vector<Real> gte::TCBSplineCurve< N, Real >::mTension
protected

Definition at line 54 of file GteTCBSplineCurve.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06