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

#include <GteBezierCurve.h>

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

Public Member Functions

 BezierCurve (int degree, Vector< N, Real > const *controls)
 
virtual void Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const
 
Vector< N, Real > const * GetControls () const
 
int GetDegree () const
 
int GetNumControls () const
 
virtual ~BezierCurve ()
 
- 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

Vector< N, Real > Compute (Real t, Real omt, int order) const
 
- Protected Member Functions inherited from gte::ParametricCurve< N, Real >
 ParametricCurve (Real tmin, Real tmax)
 
 ParametricCurve (int numSegments, Real const *times)
 

Protected Attributes

Array2< Real > mChoose
 
std::vector< Vector< N, Real > > mControls [4]
 
int mDegree
 
int mNumControls
 
- 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::BezierCurve< N, Real >

Definition at line 18 of file GteBezierCurve.h.

Constructor & Destructor Documentation

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

Definition at line 54 of file GteBezierCurve.h.

template<int N, typename Real >
gte::BezierCurve< N, Real >::BezierCurve ( int  degree,
Vector< N, Real > const *  controls 
)

Definition at line 59 of file GteBezierCurve.h.

Member Function Documentation

template<int N, typename Real >
Vector< N, Real > gte::BezierCurve< N, Real >::Compute ( Real  t,
Real  omt,
int  order 
) const
protected

Definition at line 176 of file GteBezierCurve.h.

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

Implements gte::ParametricCurve< N, Real >.

Definition at line 138 of file GteBezierCurve.h.

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

Definition at line 132 of file GteBezierCurve.h.

template<int N, typename Real >
int gte::BezierCurve< N, Real >::GetDegree ( ) const
inline

Definition at line 120 of file GteBezierCurve.h.

template<int N, typename Real >
int gte::BezierCurve< N, Real >::GetNumControls ( ) const
inline

Definition at line 126 of file GteBezierCurve.h.

Member Data Documentation

template<int N, typename Real >
Array2<Real> gte::BezierCurve< N, Real >::mChoose
protected

Definition at line 49 of file GteBezierCurve.h.

template<int N, typename Real >
std::vector<Vector<N, Real> > gte::BezierCurve< N, Real >::mControls[4]
protected

Definition at line 48 of file GteBezierCurve.h.

template<int N, typename Real >
int gte::BezierCurve< N, Real >::mDegree
protected

Definition at line 47 of file GteBezierCurve.h.

template<int N, typename Real >
int gte::BezierCurve< N, Real >::mNumControls
protected

Definition at line 47 of file GteBezierCurve.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:05