![]() |
PeriDyno 1.0.0
|
#include <AnimationCurve.h>
Public Types | |
typedef TDataType::Real | Real |
typedef TDataType::Coord | Coord |
typedef ::dyno::Mat4f | Mat |
Public Member Functions | |
AnimationCurve () | |
AnimationCurve (int size, Real dx, Real dy, Real dz) | |
~AnimationCurve () | |
void | set (int index, const std::vector< LongLong > &tim, const std::vector< Real > &val) |
Real | fbxTimeToSeconds (LongLong value) |
LongLong | secondsToFbxTime (Real value) |
void | setInitVal (Coord init) |
Coord | getCurveValueAlong (Real ptime) |
Coord | getCurveValueAll (Real ptime) |
Coord | getCurveValueCycle (Real ptime) |
Public Attributes | |
int | m_maxSize |
int | m_cur [3] |
Real | m_initVal [3] |
Real | m_endVal [3] |
std::vector< LongLong > | m_times [3] |
std::vector< Real > | m_values [3] |
Definition at line 13 of file AnimationCurve.h.
typedef TDataType::Coord dyno::AnimationCurve< TDataType >::Coord |
Definition at line 17 of file AnimationCurve.h.
typedef ::dyno::Mat4f dyno::AnimationCurve< TDataType >::Mat |
Definition at line 18 of file AnimationCurve.h.
typedef TDataType::Real dyno::AnimationCurve< TDataType >::Real |
Definition at line 16 of file AnimationCurve.h.
dyno::AnimationCurve< TDataType >::AnimationCurve | ( | ) |
Definition at line 10 of file AnimationCurve.cpp.
dyno::AnimationCurve< TDataType >::AnimationCurve | ( | int | size, |
Real | dx, | ||
Real | dy, | ||
Real | dz ) |
Definition at line 19 of file AnimationCurve.cpp.
dyno::AnimationCurve< TDataType >::~AnimationCurve | ( | ) |
Definition at line 31 of file AnimationCurve.cpp.
|
inline |
Definition at line 27 of file AnimationCurve.h.
AnimationCurve< TDataType >::Coord dyno::AnimationCurve< TDataType >::getCurveValueAll | ( | Real | ptime | ) |
AnimationCurve< TDataType >::Coord dyno::AnimationCurve< TDataType >::getCurveValueAlong | ( | Real | ptime | ) |
AnimationCurve< TDataType >::Coord dyno::AnimationCurve< TDataType >::getCurveValueCycle | ( | Real | ptime | ) |
|
inline |
void dyno::AnimationCurve< TDataType >::set | ( | int | index, |
const std::vector< LongLong > & | tim, | ||
const std::vector< Real > & | val ) |
Definition at line 36 of file AnimationCurve.cpp.
|
inline |
Definition at line 30 of file AnimationCurve.h.
int dyno::AnimationCurve< TDataType >::m_cur[3] |
Definition at line 46 of file AnimationCurve.h.
Real dyno::AnimationCurve< TDataType >::m_endVal[3] |
Definition at line 48 of file AnimationCurve.h.
Real dyno::AnimationCurve< TDataType >::m_initVal[3] |
Definition at line 47 of file AnimationCurve.h.
int dyno::AnimationCurve< TDataType >::m_maxSize |
Definition at line 44 of file AnimationCurve.h.
std::vector<LongLong> dyno::AnimationCurve< TDataType >::m_times[3] |
Definition at line 49 of file AnimationCurve.h.
std::vector<Real> dyno::AnimationCurve< TDataType >::m_values[3] |
Definition at line 50 of file AnimationCurve.h.