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
moCurve2< Real > Class Template Referenceabstract

#include <moMathCurve.h>

Inheritance diagram for moCurve2< Real >:
moAbstract moMultipleCurve2< Real > moSingleCurve2< Real >

Classes

class  PointList
 

Public Member Functions

 moCurve2 (Real fTMin, Real fTMax)
 
virtual ~moCurve2 ()
 
Real GetMinTime () const
 
Real GetMaxTime () const
 
void SetTimeInterval (Real fTMin, Real fTMax)
 
virtual moVector2< Real > GetPosition (Real fTime) const =0
 
virtual moVector2< Real > GetFirstDerivative (Real fTime) const =0
 
virtual moVector2< Real > GetSecondDerivative (Real fTime) const =0
 
virtual moVector2< Real > GetThirdDerivative (Real fTime) const =0
 
virtual Real GetLength (Real fT0, Real fT1) const =0
 
Real GetSpeed (Real fTime) const
 
Real GetTotalLength () const
 
moVector2< Real > GetTangent (Real fTime) const
 
moVector2< Real > GetNormal (Real fTime) const
 
void GetFrame (Real fTime, moVector2< Real > &rkPosition, moVector2< Real > &rkTangent, moVector2< Real > &rkNormal) const
 
Real GetCurvature (Real fTime) const
 
void SubdivideByTime (int iNumPoints, moVector2< Real > *&rakPoint) const
 
virtual Real GetTime (Real fLength, int iIterations=32, Real fTolerance=(Real) 1e-06) const =0
 
void SubdivideByLength (int iNumPoints, moVector2< Real > *&rakPoint) const
 
void SubdivideByVariation (Real fMinVariation, int iMaxLevel, int &riNumPoints, moVector2< Real > *&rakPoint) const
 
virtual Real GetVariation (Real fT0, Real fT1, const moVector2< Real > *pkP0=0, const moVector2< Real > *pkP1=0) const =0
 
- 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 SubdivideByVariation (Real fT0, const moVector2< Real > &rkP0, Real fT1, const moVector2< Real > &rkP1, Real fMinVariation, int iLevel, int &riNumPoints, PointList *&rpkList) const
 

Protected Attributes

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 moCurve2< Real >

Definition at line 49 of file moMathCurve.h.

Constructor & Destructor Documentation

template<class Real >
moCurve2< Real >::moCurve2 ( Real  fTMin,
Real  fTMax 
)
inline

Definition at line 54 of file moMathCurve.h.

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

Definition at line 61 of file moMathCurve.h.

Member Function Documentation

template<class Real >
Real moCurve2< Real >::GetCurvature ( Real  fTime) const
inline

Definition at line 139 of file moMathCurve.h.

template<class Real >
virtual moVector2<Real> moCurve2< Real >::GetFirstDerivative ( Real  fTime) const
pure virtual
template<class Real >
void moCurve2< Real >::GetFrame ( Real  fTime,
moVector2< Real > &  rkPosition,
moVector2< Real > &  rkTangent,
moVector2< Real > &  rkNormal 
) const
inline

Definition at line 129 of file moMathCurve.h.

template<class Real >
virtual Real moCurve2< Real >::GetLength ( Real  fT0,
Real  fT1 
) const
pure virtual
template<class Real >
Real moCurve2< Real >::GetMaxTime ( ) const
inline

Definition at line 76 of file moMathCurve.h.

template<class Real >
Real moCurve2< Real >::GetMinTime ( ) const
inline

Definition at line 70 of file moMathCurve.h.

template<class Real >
moVector2<Real> moCurve2< Real >::GetNormal ( Real  fTime) const
inline

Definition at line 120 of file moMathCurve.h.

template<class Real >
virtual moVector2<Real> moCurve2< Real >::GetPosition ( Real  fTime) const
pure virtual
template<class Real >
virtual moVector2<Real> moCurve2< Real >::GetSecondDerivative ( Real  fTime) const
pure virtual
template<class Real >
Real moCurve2< Real >::GetSpeed ( Real  fTime) const
inline

Definition at line 98 of file moMathCurve.h.

template<class Real >
moVector2<Real> moCurve2< Real >::GetTangent ( Real  fTime) const
inline

Definition at line 112 of file moMathCurve.h.

template<class Real >
virtual moVector2<Real> moCurve2< Real >::GetThirdDerivative ( Real  fTime) const
pure virtual
template<class Real >
virtual Real moCurve2< Real >::GetTime ( Real  fLength,
int  iIterations = 32,
Real  fTolerance = (Real) 1e-06 
) const
pure virtual
template<class Real >
Real moCurve2< Real >::GetTotalLength ( ) const
inline

Definition at line 106 of file moMathCurve.h.

template<class Real >
virtual Real moCurve2< Real >::GetVariation ( Real  fT0,
Real  fT1,
const moVector2< Real > *  pkP0 = 0,
const moVector2< Real > *  pkP1 = 0 
) const
pure virtual

Implemented in moMultipleCurve2< Real >.

template<class Real >
void moCurve2< Real >::SetTimeInterval ( Real  fTMin,
Real  fTMax 
)
inline

Definition at line 82 of file moMathCurve.h.

template<class Real >
void moCurve2< Real >::SubdivideByLength ( int  iNumPoints,
moVector2< Real > *&  rakPoint 
) const
inline

Definition at line 180 of file moMathCurve.h.

template<class Real >
void moCurve2< Real >::SubdivideByTime ( int  iNumPoints,
moVector2< Real > *&  rakPoint 
) const
inline

Definition at line 159 of file moMathCurve.h.

template<class Real >
void moCurve2< Real >::SubdivideByVariation ( Real  fMinVariation,
int  iMaxLevel,
int &  riNumPoints,
moVector2< Real > *&  rakPoint 
) const
inline

Definition at line 199 of file moMathCurve.h.

template<class Real >
void moCurve2< Real >::SubdivideByVariation ( Real  fT0,
const moVector2< Real > &  rkP0,
Real  fT1,
const moVector2< Real > &  rkP1,
Real  fMinVariation,
int  iLevel,
int &  riNumPoints,
PointList *&  rpkList 
) const
inlineprotected

Definition at line 253 of file moMathCurve.h.

Member Data Documentation

template<class Real >
Real moCurve2< Real >::m_fTMax
protected

Definition at line 237 of file moMathCurve.h.

template<class Real >
Real moCurve2< Real >::m_fTMin
protected

Definition at line 237 of file moMathCurve.h.


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