libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moMultipleCurve3< Real > Class Template Referenceabstract

#include <moMathCurve.h>

Inheritance diagram for moMultipleCurve3< Real >:
moCurve3< Real > moAbstract

Public Member Functions

 moMultipleCurve3 (int iSegments, Real *afTime)
 
virtual ~moMultipleCurve3 ()
 
int GetSegments () const
 
const Real * GetTimes () const
 
virtual Real GetLength (Real fT0, Real fT1) const
 
virtual Real GetTime (Real fLength, int iIterations=32, Real fTolerance=(Real) 1e-06) const
 
virtual Real GetVariation (Real fT0, Real fT1, const moVector3< Real > *pkP0=0, const moVector3< Real > *pkP1=0) const
 
- Public Member Functions inherited from moCurve3< Real >
 moCurve3 (Real fTMin, Real fTMax)
 
virtual ~moCurve3 ()
 
Real GetMinTime () const
 
Real GetMaxTime () const
 
void SetTimeInterval (Real fTMin, Real fTMax)
 
virtual moVector3< Real > GetPosition (Real fTime) const =0
 
virtual moVector3< Real > GetFirstDerivative (Real fTime) const =0
 
virtual moVector3< Real > GetSecondDerivative (Real fTime) const =0
 
virtual moVector3< Real > GetThirdDerivative (Real fTime) const =0
 
Real GetSpeed (Real fTime) const
 
Real GetTotalLength () const
 
moVector3< Real > GetTangent (Real fTime) const
 
moVector3< Real > GetNormal (Real fTime) const
 
moVector3< Real > GetBinormal (Real fTime) const
 
void GetFrame (Real fTime, moVector3< Real > &rkPosition, moVector3< Real > &rkTangent, moVector3< Real > &rkNormal, moVector3< Real > &rkBinormal) const
 
Real GetCurvature (Real fTime) const
 
Real GetTorsion (Real fTime) const
 
void SubdivideByTime (int iNumPoints, moVector3< Real > *&rakPoint) const
 
void SubdivideByLength (int iNumPoints, moVector3< Real > *&rakPoint) const
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Protected Member Functions

void GetKeyInfo (Real fTime, int &riKey, Real &rfDt) const
 
void InitializeLength () const
 
virtual Real GetSpeedKey (int iKey, Real fTime) const =0
 
virtual Real GetLengthKey (int iKey, Real fT0, Real fT1) const =0
 
virtual Real GetVariationKey (int iKey, Real fT0, Real fT1, const moVector3< Real > &rkA, const moVector3< Real > &rkB) const =0
 
- Protected Member Functions inherited from moCurve3< Real >
void SubdivideByVariation (Real fT0, const moVector3< Real > &rkP0, Real fT1, const moVector3< Real > &rkP1, Real fMinVariation, int iLevel, int &riNumPoints, PointList *&rpkList) const
 

Static Protected Member Functions

static Real GetSpeedWithData (Real fTime, void *pvData)
 

Protected Attributes

int m_iSegments
 
Real * m_afTime
 
Real * m_afLength
 
Real * m_afAccumLength
 
- Protected Attributes inherited from moCurve3< Real >
Real m_fTMin
 
Real m_fTMax
 

Additional Inherited Members

- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 
- Static Public Attributes inherited from moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 

Detailed Description

template<class Real>
class moMultipleCurve3< Real >

Definition at line 930 of file moMathCurve.h.

Constructor & Destructor Documentation

template<class Real >
moMultipleCurve3< Real >::moMultipleCurve3 ( int  iSegments,
Real *  afTime 
)
inline

Definition at line 935 of file moMathCurve.h.

template<class Real >
virtual moMultipleCurve3< Real >::~moMultipleCurve3 ( )
inlinevirtual

Definition at line 944 of file moMathCurve.h.

Member Function Documentation

template<class Real >
void moMultipleCurve3< Real >::GetKeyInfo ( Real  fTime,
int &  riKey,
Real &  rfDt 
) const
inlineprotected

Definition at line 1129 of file moMathCurve.h.

template<class Real >
virtual Real moMultipleCurve3< Real >::GetLength ( Real  fT0,
Real  fT1 
) const
inlinevirtual

Implements moCurve3< Real >.

Definition at line 959 of file moMathCurve.h.

template<class Real >
virtual Real moMultipleCurve3< Real >::GetLengthKey ( int  iKey,
Real  fT0,
Real  fT1 
) const
protectedpure virtual
template<class Real >
int moMultipleCurve3< Real >::GetSegments ( ) const
inline

Definition at line 951 of file moMathCurve.h.

template<class Real >
virtual Real moMultipleCurve3< Real >::GetSpeedKey ( int  iKey,
Real  fTime 
) const
protectedpure virtual
template<class Real >
static Real moMultipleCurve3< Real >::GetSpeedWithData ( Real  fTime,
void *  pvData 
)
inlinestaticprotected

Definition at line 1178 of file moMathCurve.h.

template<class Real >
virtual Real moMultipleCurve3< Real >::GetTime ( Real  fLength,
int  iIterations = 32,
Real  fTolerance = (Real)1e-06 
) const
inlinevirtual

Implements moCurve3< Real >.

Definition at line 992 of file moMathCurve.h.

template<class Real >
const Real* moMultipleCurve3< Real >::GetTimes ( ) const
inline

Definition at line 954 of file moMathCurve.h.

template<class Real >
virtual Real moMultipleCurve3< Real >::GetVariation ( Real  fT0,
Real  fT1,
const moVector3< Real > *  pkP0 = 0,
const moVector3< Real > *  pkP1 = 0 
) const
inlinevirtual

Implements moCurve3< Real >.

Definition at line 1059 of file moMathCurve.h.

template<class Real >
virtual Real moMultipleCurve3< Real >::GetVariationKey ( int  iKey,
Real  fT0,
Real  fT1,
const moVector3< Real > &  rkA,
const moVector3< Real > &  rkB 
) const
protectedpure virtual
template<class Real >
void moMultipleCurve3< Real >::InitializeLength ( ) const
inlineprotected

Definition at line 1154 of file moMathCurve.h.

Member Data Documentation

template<class Real >
Real* moMultipleCurve3< Real >::m_afAccumLength
mutableprotected

Definition at line 1127 of file moMathCurve.h.

template<class Real >
Real* moMultipleCurve3< Real >::m_afLength
mutableprotected

Definition at line 1126 of file moMathCurve.h.

template<class Real >
Real* moMultipleCurve3< Real >::m_afTime
protected

Definition at line 1119 of file moMathCurve.h.

template<class Real >
int moMultipleCurve3< Real >::m_iSegments
protected

Definition at line 1118 of file moMathCurve.h.


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