Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
Quaternionの補間 [詳細]
#include <TCurve.h>
Public 型 | |
typedef TQuaternion< T > | pos_t |
typedef TVec3< T > | vel_t |
typedef T | real_t |
typedef TCurve< TQuaternion< T > , TVec3< T >, T >::Point | Point |
Public 型 inherited from TCurve< TQuaternion< T >, TVec3< T >, T > | |
typedef TQuaternion< T > | pos_t |
typedef TVec3< T > | vel_t |
typedef T | real_t |
Public メソッド | |
pos_t | CalcPos (real_t t) |
vel_t | CalcVel (real_t t) |
vel_t | CalcAcc (real_t t) |
Public メソッド inherited from TCurve< TQuaternion< T >, TVec3< T >, T > | |
void | SetType (int t) |
int | GetType () const |
int | AddPoint (real_t t) |
点を追加する [詳細] | |
int | IndexFromID (int id) |
IDからインデックスを取得 | |
void | RemovePoint (int idx) |
size_t | NPoints () const |
real_t | GetTime (int idx) const |
void | SetTime (int idx, real_t t) |
pos_t | GetPos (int idx) const |
void | SetPos (int idx, pos_t p) |
vel_t | GetVel (int idx) const |
void | SetVel (int idx, vel_t v) |
std::pair< int, int > | GetSegment (real_t t) const |
int | GetNearest (real_t t) const |
Additional Inherited Members | |
Protected メソッド inherited from TCurve< TQuaternion< T >, TVec3< T >, T > | |
void | SortPoints () |
Protected 変数 inherited from TCurve< TQuaternion< T >, TVec3< T >, T > | |
int | type |
std::vector< struct Point > | points |