Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
gte::ParametricCurve< N, Real > Class Template Referenceabstract

#include <GteParametricCurve.h>

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

Public Member Functions

virtual void Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const =0
 
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 Types

enum  { DEFAULT_ROMBERG_ORDER = 8, DEFAULT_MAX_BISECTIONS = 1024 }
 

Protected Member Functions

 ParametricCurve (Real tmin, Real tmax)
 
 ParametricCurve (int numSegments, Real const *times)
 

Protected Attributes

std::vector< Real > mAccumulatedLength
 
bool mConstructed
 
unsigned int mMaxBisections
 
int mRombergOrder
 
std::vector< Real > mSegmentLength
 
std::vector< Real > mTime
 

Detailed Description

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

Definition at line 20 of file GteParametricCurve.h.

Member Enumeration Documentation

template<int N, typename Real >
anonymous enum
protected
Enumerator
DEFAULT_ROMBERG_ORDER 
DEFAULT_MAX_BISECTIONS 

Definition at line 82 of file GteParametricCurve.h.

Constructor & Destructor Documentation

template<int N, typename Real >
gte::ParametricCurve< N, Real >::ParametricCurve ( Real  tmin,
Real  tmax 
)
protected

Definition at line 99 of file GteParametricCurve.h.

template<int N, typename Real >
gte::ParametricCurve< N, Real >::ParametricCurve ( int  numSegments,
Real const *  times 
)
protected

Definition at line 115 of file GteParametricCurve.h.

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

Definition at line 130 of file GteParametricCurve.h.

Member Function Documentation

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

Definition at line 212 of file GteParametricCurve.h.

template<int N, typename Real >
int gte::ParametricCurve< N, Real >::GetNumSegments ( ) const
inline

Definition at line 153 of file GteParametricCurve.h.

template<int N, typename Real >
Vector< N, Real > gte::ParametricCurve< N, Real >::GetPosition ( Real  t) const

Definition at line 187 of file GteParametricCurve.h.

template<int N, typename Real >
Real gte::ParametricCurve< N, Real >::GetSpeed ( Real  t) const

Definition at line 204 of file GteParametricCurve.h.

template<int N, typename Real >
Vector< N, Real > gte::ParametricCurve< N, Real >::GetTangent ( Real  t) const

Definition at line 195 of file GteParametricCurve.h.

template<int N, typename Real >
Real gte::ParametricCurve< N, Real >::GetTime ( Real  length) const

Definition at line 286 of file GteParametricCurve.h.

template<int N, typename Real >
Real const * gte::ParametricCurve< N, Real >::GetTimes ( ) const
inline

Definition at line 159 of file GteParametricCurve.h.

template<int N, typename Real >
Real gte::ParametricCurve< N, Real >::GetTMax ( ) const
inline

Definition at line 147 of file GteParametricCurve.h.

template<int N, typename Real >
Real gte::ParametricCurve< N, Real >::GetTMin ( ) const
inline

Definition at line 141 of file GteParametricCurve.h.

template<int N, typename Real >
Real gte::ParametricCurve< N, Real >::GetTotalLength ( ) const

Definition at line 274 of file GteParametricCurve.h.

template<int N, typename Real >
gte::ParametricCurve< N, Real >::operator bool ( ) const
inline

Definition at line 135 of file GteParametricCurve.h.

template<int N, typename Real >
void gte::ParametricCurve< N, Real >::SetMaxBisections ( unsigned int  maxBisections)

Definition at line 181 of file GteParametricCurve.h.

template<int N, typename Real >
void gte::ParametricCurve< N, Real >::SetRombergOrder ( int  order)

Definition at line 175 of file GteParametricCurve.h.

template<int N, typename Real >
void gte::ParametricCurve< N, Real >::SetTimeInterval ( Real  tmin,
Real  tmax 
)

Definition at line 165 of file GteParametricCurve.h.

template<int N, typename Real >
void gte::ParametricCurve< N, Real >::SubdivideByLength ( int  numPoints,
Vector< N, Real > *  points 
) const

Definition at line 342 of file GteParametricCurve.h.

template<int N, typename Real >
void gte::ParametricCurve< N, Real >::SubdivideByTime ( int  numPoints,
Vector< N, Real > *  points 
) const

Definition at line 330 of file GteParametricCurve.h.

Member Data Documentation

template<int N, typename Real >
std::vector<Real> gte::ParametricCurve< N, Real >::mAccumulatedLength
mutableprotected

Definition at line 90 of file GteParametricCurve.h.

template<int N, typename Real >
bool gte::ParametricCurve< N, Real >::mConstructed
protected

Definition at line 94 of file GteParametricCurve.h.

template<int N, typename Real >
unsigned int gte::ParametricCurve< N, Real >::mMaxBisections
protected

Definition at line 92 of file GteParametricCurve.h.

template<int N, typename Real >
int gte::ParametricCurve< N, Real >::mRombergOrder
protected

Definition at line 91 of file GteParametricCurve.h.

template<int N, typename Real >
std::vector<Real> gte::ParametricCurve< N, Real >::mSegmentLength
mutableprotected

Definition at line 89 of file GteParametricCurve.h.

template<int N, typename Real >
std::vector<Real> gte::ParametricCurve< N, Real >::mTime
protected

Definition at line 88 of file GteParametricCurve.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