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

#include <GteNaturalSplineCurve.h>

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

Public Member Functions

virtual void Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const
 
int GetNumPoints () const
 
Vector< N, Real > const * GetPoints () const
 
 NaturalSplineCurve (bool isFree, int numPoints, Vector< N, Real > const *points, Real const *times)
 
 NaturalSplineCurve (int numPoints, Vector< N, Real > const *points, Real const *times, Vector< N, Real > const &derivative0, Vector< N, Real > const &derivative1)
 
virtual ~NaturalSplineCurve ()
 
- 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 CreateClamped (Vector< N, Real > const &derivative0, Vector< N, Real > const &derivative1)
 
void CreateClosed ()
 
void CreateFree ()
 
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< Vector< N, Real > > mC
 
std::vector< Vector< N, Real > > mD
 
- 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::NaturalSplineCurve< N, Real >

Definition at line 18 of file GteNaturalSplineCurve.h.

Constructor & Destructor Documentation

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

Definition at line 69 of file GteNaturalSplineCurve.h.

template<int N, typename Real >
gte::NaturalSplineCurve< N, Real >::NaturalSplineCurve ( bool  isFree,
int  numPoints,
Vector< N, Real > const *  points,
Real const *  times 
)

Definition at line 74 of file GteNaturalSplineCurve.h.

template<int N, typename Real >
gte::NaturalSplineCurve< N, Real >::NaturalSplineCurve ( int  numPoints,
Vector< N, Real > const *  points,
Real const *  times,
Vector< N, Real > const &  derivative0,
Vector< N, Real > const &  derivative1 
)

Definition at line 101 of file GteNaturalSplineCurve.h.

Member Function Documentation

template<int N, typename Real >
void gte::NaturalSplineCurve< N, Real >::CreateClamped ( Vector< N, Real > const &  derivative0,
Vector< N, Real > const &  derivative1 
)
protected

Definition at line 307 of file GteNaturalSplineCurve.h.

template<int N, typename Real >
void gte::NaturalSplineCurve< N, Real >::CreateClosed ( )
protected

Definition at line 233 of file GteNaturalSplineCurve.h.

template<int N, typename Real >
void gte::NaturalSplineCurve< N, Real >::CreateFree ( )
protected

Definition at line 174 of file GteNaturalSplineCurve.h.

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

Implements gte::ParametricCurve< N, Real >.

Definition at line 133 of file GteNaturalSplineCurve.h.

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

Definition at line 376 of file GteNaturalSplineCurve.h.

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

Definition at line 121 of file GteNaturalSplineCurve.h.

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

Definition at line 127 of file GteNaturalSplineCurve.h.

Member Data Documentation

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

Definition at line 64 of file GteNaturalSplineCurve.h.

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

Definition at line 64 of file GteNaturalSplineCurve.h.

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

Definition at line 64 of file GteNaturalSplineCurve.h.

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

Definition at line 64 of file GteNaturalSplineCurve.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