![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework 4.1 |

| BREW 2.0 | BREW 2.1 | BREW 3.0 | BREW 3.1 |
|---|---|---|---|
| × | ○ | × | × |
| パブリック関数 | |
|---|---|
| SInt32 |
Cos(
SInt32 angle
)
コサイン( 余弦 )を計算します。
|
| SFCError |
GetRotateMatrix(
SInt32 angle
, AEE3DTransformMatrix* matrixOut
, AEE3DRotateType axis
)
X、Y、または Z 軸を中心とした回転の変換マトリックスを計算します。
|
| SFCError |
GetRotateVMatrix(
AEE3DPoint const * vector
, SInt32 angle
, AEE3DTransformMatrix* matrixOut
)
原点からの与えられたベクトルを中心とした回転の変換マトリックスを計算します。
|
| SFCError |
GetUnitVector(
AEE3DPoint const * src
, AEE3DPoint* dst
)
ソースベクトルの単位ベクトルを計算します。
|
| SFCError |
GetViewTransformMatrix(
AEE3DPoint const * position
, AEE3DPoint const * look
, AEE3DPoint const * up
, AEE3DTransformMatrix* matrixOut
)
与えられた位置、見る方向、および見上げる方向について、
固定小数点の変換マトリックスを計算します。
|
| SFCError |
MatrixMultiply(
AEE3DTransformMatrix* matrixOut
, AEE3DTransformMatrix const * matrixIn
)
2つの固定小数点マトリックスを掛け合わせます。
|
| static SFB3DUtilSmp |
NewInstance( Void )
SFB3DUtil クラスのインスタンスを生成します。
|
| SFCError |
SetIdentityMatrix(
AEE3DTransformMatrix* matrixOut
)
変換マトリックスの回転部分( 3 x 3 )を Q12 形式の単位マトリックスに設定します。
|
| SFCError |
SetTranslationMatrix(
AEE3DPoint* vector
, AEE3DTransformMatrix* matrix
)
Q12 固定小数点形式形式の与えられた平行移動ベクトルについて、
変換マトリックスの平行移動部分を設定します。
|
| SInt32 |
Sin(
SInt32 angle
) サイン( 正弦 )を計算します。
|
| UInt32 |
Sqrt(
UInt32 number
) 平方根を計算します。
|
| SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(SFBQuery から継承)
QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle ) (SFBQuery から継承) このオブジェクトからの別の API を問い合わせます。
|
| SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(SFBQuery から継承)
このオブジェクトからの別の API を問い合わせます。
|
| Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(SFBQuery から継承)
オブジェクトを単一インターフェースで実装するときに使います。
|
| SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(SFBQuery から継承)
オブジェクトを単一インターフェースで実装するときに使います。
|
[ public ] SFCError GetRotateMatrix( SInt32 angle // Q12 形式での回転角度( PI = 2048 ) AEE3DTransformMatrix* matrixOut // 結果の変換マトリックスへのポインター AEE3DRotateType axis // 回転の中心軸 );
[ public ] SFCError GetRotateVMatrix( AEE3DPoint const * vector // Q12 形式での回転について、原点からのベクトルへのポインター SInt32 angle // Q12 形式での回転角度( PI = 2048 ) AEE3DTransformMatrix* matrixOut // 結果の変換マトリックスへのポインター );
[ public ] SFCError GetUnitVector( AEE3DPoint const * src // ソースベクトルへのポインター AEE3DPoint* dst // 結果の単位ベクトルへのポインター );
結果のベクトルは Q12 形式です。
[ public ] SFCError GetViewTransformMatrix( AEE3DPoint const * position // ビューアの位置ベクトルへのポインター AEE3DPoint const * look // 見る方向の方向ベクトルへのポインター AEE3DPoint const * up // 見上げる方向の方向ベクトルへのポインター AEE3DTransformMatrix* matrixOut // 結果の変換マトリックスへのポインター );
各方向ベクトルは、3D ポイントまたは Q12 形式でのベクトルとして指定します。
[ public ] SFCError MatrixMultiply( AEE3DTransformMatrix* matrixOut // 左の被乗数と結果のマトリックス AEE3DTransformMatrix const * matrixIn // 右の被乗数 );
[ public, static ] SFB3DUtilSmp NewInstance(Void);
[ public ] SFCError SetIdentityMatrix( AEE3DTransformMatrix* matrixOut // 結果のマトリックスへのポインター );
[ public ] SFCError SetTranslationMatrix( AEE3DPoint* vector // Q12 固定小数点形式形式の平行移動ベクトルのポインター AEE3DTransformMatrix* matrix // 結果のマトリックスへのポインター );
|
Copyright (C) 2002 - 2008 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|