メインページ | ネームスペース一覧 | クラス階層 | 構成 | Directories | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ | 関連ページ

ネームスペース Spr

構成

ネームスペース

Featherstone's method で使われる"spatial matrix/vector"

上3つが(力,角速度,角加速度など)をあらわし, 下3つが(トルク,速度,加速度)をあらわす.(と思う) by hase 力とトルクで回転と並進が逆なので注意.

型定義

列挙型

関数

変数


説明

実行時型情報テンプレートライブラリ コンパイラのrttiを使わずマクロとテンプレートで実装してある.


型定義

typedef TMatrix2<float> Spr::Matrix2f
 

float版2×2行列.

TinyMat.h の 257 行で定義されています。

typedef TMatrix2<double> Spr::Matrix2d
 

double版2×2行列.

TinyMat.h の 259 行で定義されています。

typedef TMatrix3<float> Spr::Matrix3f
 

float版3×3行列.

TinyMat.h の 261 行で定義されています。

typedef TMatrix3<double> Spr::Matrix3d
 

double版3×3行列.

TinyMat.h の 263 行で定義されています。

typedef TVec2<float> Spr::Vec2f
 

float版2次元ベクトル

TinyVec.h の 213 行で定義されています。

typedef TVec2<double> Spr::Vec2d
 

double版2次元ベクトル

TinyVec.h の 215 行で定義されています。

typedef TVec3<float> Spr::Vec3f
 

float版3次元ベクトル

TinyVec.h の 217 行で定義されています。

typedef TVec3<double> Spr::Vec3d
 

double版3次元ベクトル

TinyVec.h の 219 行で定義されています。

typedef TVec4<float> Spr::Vec4f
 

float版4次元ベクトル

TinyVec.h の 221 行で定義されています。

typedef TVec4<double> Spr::Vec4d
 

double版4次元ベクトル

TinyVec.h の 223 行で定義されています。

typedef TQuaternion<float> Spr::Quaternionf
 

float版TQuaternion.

TQuaternion.h の 336 行で定義されています。

typedef TQuaternion<double> Spr::Quaterniond
 

double版TQuaternion.

TQuaternion.h の 338 行で定義されています。

typedef std::string Spr::FIString
 

FileIOで使う文字列型.

FIDocNode.h の 10 行で定義されています。

typedef const char* Spr::FIIteratorT
 

FISpiritで使用する入力文字列のイタレータの型.

FISpirit.h の 39 行で定義されています。

typedef SGObject Spr::CDUserRecord
 

ユーザレコードの基本クラス

CDFramePair.h の 117 行で定義されています。


列挙型

enum Spr::SGBehaviorPriority
 

シーンの振舞い(ビヘイビア)を管理するエンジン ビヘイビアの分類と優先順位 100の倍数は分類を表し、以下の位はその中での実行順序を規定する

SGBehaviorEngine.h の 10 行で定義されています。

enum Spr::CDGeometryID
 

衝突判定対象のID

CDGeometry.h の 12 行で定義されています。


関数

char* UTAcastError (  const char *   ) 
 

キャストに失敗した場合のassert関数

template<class T>
T& Singleton (   ) 
 

シングルトンクラス

BaseUtility.h の 157 行で定義されています。

template<class A, class B>
TQuaternion<A> operator * (  const TQuaternion< A > &  q1,
const TQuaternion< B > &  q2
) 
 

TQuaternion 同士の掛け算.回転変換としては,合成になる..

TQuaternion.h の 278 行で定義されています。

参照先 Spr::TQuaternion< ET >::W(), Spr::TQuaternion< ET >::X(), Spr::TQuaternion< ET >::Y(), と Spr::TQuaternion< ET >::Z().

template<class ET, class BD>
BD::ret_type operator * (  const TQuaternion< ET > &  q,
const PTM::TVectorBase<(3), BD > &  v
)  [inline]
 

TQuaternionでベクトルを回転. TQuaternion * vector * TQuaternion.conjugated() と同じ..

TQuaternion.h の 289 行で定義されています。

参照先 Spr::TQuaternion< ET >::conjugated().

template<class T1, class T2>
T1 dot (  const TQuaternion< T1 > &  q1,
const TQuaternion< T2 > &  q2
)  [inline]
 

TQuaternion の内積..

TQuaternion.h の 296 行で定義されています。

参照先 Spr::TQuaternion< ET >::W(), Spr::TQuaternion< ET >::X(), Spr::TQuaternion< ET >::Y(), と Spr::TQuaternion< ET >::Z().

std::ostream & Spr::operator<< (  std::ostream &  os,
FIString  s
)  [inline]
 

文字列の表示

FIDocNode.h の 21 行で定義されています。

void WBGetPortIO (   ) 
 

WindowsNT,2000 でI/Oポート直接アクセスをするために呼ぶ関数. これを呼んでおけば、_inp, _outp を行っても保護違反がおきなくなる。 giveio.sys を exeと同じフォルダか、Windowsのフォルダか、パスの通った フォルダに入れておくことが必要。

class class class class class bool BBoxIntersection (  Affinef  postureA,
Vec3f  centerA,
Vec3f  extentA,
Affinef  postureB,
Vec3f  centerB,
Vec3f  extentB
) 
 

BBox同士の交差判定.交差していれば true..

bool FindCommonPoint (  const CDConvex &  a,
const CDConvex &  b,
const Affinef &  a2w,
const Affinef &  b2w,
Vec3d &  v,
Vec3d &  pa,
Vec3d &  pb
) 
 

GJKで共有点を見つける.

void FindClosestPoints (  const CDConvex &  a,
const CDConvex &  b,
const Affinef &  a2w,
const Affinef &  b2w,
Vec3d &  pa,
Vec3d &  pb
) 
 

GJKで最近傍点対を見つける.

void RotationAlong (  Vec2d *  position,
double *  angle,
const Vec2d &  center,
double  rot
)  [inline]
 

ある点まわりの回転

PHGeometry2D.h の 463 行で定義されています。

SpSubVec3d& svitem (  SpVec6d &  v,
int  i
)  [inline]
 

要素アクセス

PHJoint.h の 315 行で定義されています。

double svdot (  const SpVec6d &  v1,
const SpVec6d &  v2
)  [inline]
 

独自の内積定義(v1^T * v2)

PHJoint.h の 322 行で定義されています。

Matrix3d mat (  const Vec3d &  v1,
const Vec3d &  v2
)  [inline]
 

v1 * v2^T で得られる行列

PHJoint.h の 329 行で定義されています。


変数

FIString Spr::zeroLengthString
 

長さ0の文字列

FIDocument.h の 15 行で定義されています。


Springheadに対してSun Apr 16 01:58:50 2006に生成されました。  doxygen 1.4.1