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

#include <GteBSplineCurve.h>

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

Public Member Functions

 BSplineCurve (BasisFunctionInput< Real > const &input, Vector< N, Real > const *controls)
 
virtual void Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const
 
BasisFunction< Real > const & GetBasisFunction () const
 
Vector< N, Real > const & GetControl (int i) const
 
Vector< N, Real > const * GetControls () const
 
Vector< N, Real > * GetControls ()
 
int GetNumControls () const
 
void SetControl (int i, Vector< N, Real > const &control)
 
- 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 ()
 

Private Member Functions

Vector< N, Real > Compute (unsigned int order, int imin, int imax) const
 

Private Attributes

BasisFunction< Real > mBasisFunction
 
std::vector< Vector< N, Real > > mControls
 

Additional Inherited Members

- Protected Types inherited from gte::ParametricCurve< N, Real >
enum  { DEFAULT_ROMBERG_ORDER = 8, DEFAULT_MAX_BISECTIONS = 1024 }
 
- Protected Member Functions inherited from gte::ParametricCurve< N, Real >
 ParametricCurve (Real tmin, Real tmax)
 
 ParametricCurve (int numSegments, Real const *times)
 
- 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
 

Detailed Description

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

Definition at line 17 of file GteBSplineCurve.h.

Constructor & Destructor Documentation

template<int N, typename Real >
gte::BSplineCurve< N, Real >::BSplineCurve ( BasisFunctionInput< Real > const &  input,
Vector< N, Real > const *  controls 
)

Definition at line 58 of file GteBSplineCurve.h.

Member Function Documentation

template<int N, typename Real >
Vector< N, Real > gte::BSplineCurve< N, Real >::Compute ( unsigned int  order,
int  imin,
int  imax 
) const
private

Definition at line 175 of file GteBSplineCurve.h.

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

Implements gte::ParametricCurve< N, Real >.

Definition at line 136 of file GteBSplineCurve.h.

template<int N, typename Real >
BasisFunction< Real > const & gte::BSplineCurve< N, Real >::GetBasisFunction ( ) const
inline

Definition at line 90 of file GteBSplineCurve.h.

template<int N, typename Real >
Vector< N, Real > const & gte::BSplineCurve< N, Real >::GetControl ( int  i) const

Definition at line 123 of file GteBSplineCurve.h.

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

Definition at line 102 of file GteBSplineCurve.h.

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

Definition at line 108 of file GteBSplineCurve.h.

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

Definition at line 96 of file GteBSplineCurve.h.

template<int N, typename Real >
void gte::BSplineCurve< N, Real >::SetControl ( int  i,
Vector< N, Real > const &  control 
)

Definition at line 114 of file GteBSplineCurve.h.

Member Data Documentation

template<int N, typename Real >
BasisFunction<Real> gte::BSplineCurve< N, Real >::mBasisFunction
private

Definition at line 52 of file GteBSplineCurve.h.

template<int N, typename Real >
std::vector<Vector<N, Real> > gte::BSplineCurve< N, Real >::mControls
private

Definition at line 53 of file GteBSplineCurve.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