![]() ![]() ![]()
|
SophiaFramework 2.2 |
#include <SFB3DUtil.hpp>
class SFB3DUtil : public SFBQuery;
typedef SFB3DUtil& SFB3DUtilRef; typedef SFB3DUtil* SFB3DUtilPtr; typedef SFB3DUtil** SFB3DUtilHandle; typedef const SFB3DUtil ConstSFB3DUtil; typedef const SFB3DUtil& ConstSFB3DUtilRef; typedef const SFB3DUtil* ConstSFB3DUtilPtr; typedef const SFB3DUtil** ConstSFB3DUtilHandle;
このクラスは BREW 2.1 以降でのみ使用可能です。
BREW API I3DUtil
| パブリック関数 | ||
|---|---|---|
| public |
AddRef (SFBBase から継承) | インターフェイスの参照カウントをインクリメントします。 |
| public |
GetRotateMatrix | X、Y、またはZ軸を中心とした回転の変換マトリックスを計算します。 |
| public |
GetRotateVMatrix | 原点からの与えられたベクトルを中心とした回転の変換マトリックスを計算します。 |
| public |
GetUnitVector | ソースベクトルの単位ベクトルを計算します。 |
| public |
GetViewTransformMatrix | 与えられた位置、見る方向、および見上げる方向について、 固定小数点の変換マトリックスを計算します。 |
| public static |
Instance | I3DUtil インターフェイスのインスタンスを取得します。 |
| public |
MatrixMultiply | 2つの固定小数点マトリックスを掛け合わせます。 |
| public |
QueryInterface (SFBQuery から継承) | このオブジェクトからの別の API を問い合わせます。 |
| public |
Release (SFBBase から継承) | インターフェイスの参照カウントをデクリメントします。 |
| public |
Self (SFBQuery から継承) | オブジェクトを単一インタフェースで実装する際に使用します。 |
| public |
SetIdentityMatrix | 変換マトリックスの回転部分(3x3)をQ12形式の単位マトリックスに設定します。 |
| public |
SetTranslationMatrix | Q12 固定小数点形式形式の与えられた平行移動ベクトルについて、 変換マトリックスの平行移動部分を設定します。 |
| public |
cos | コサイン(余弦)を計算します。 |
| public |
sin | サイン(正弦)を計算します。 |
| public |
sqrt | 平方根を計算します。 |
BREW API I3DUtil_cos
[ public ] SFCError GetRotateMatrix( SInt32 angle AEE3DTransformMatrix * pMatrixOut AEE3DRotateType axis );
BREW API I3DUtil_GetRotateMatrix
[ public ] SFCError GetRotateVMatrix( const AEE3DPoint * pVector SInt32 angle AEE3DTransformMatrix * pMatrixOut );
BREW API I3DUtil_GetRotateVMatrix
[ public ] SFCError GetUnitVector( const AEE3DPoint * pSrc AEE3DPoint * pDst );
結果のベクトルはQ12形式です。
BREW API I3DUtil_GetUnitVector
[ public ] SFCError GetViewTransformMatrix( const AEE3DPoint * pPosition const AEE3DPoint * pLook const AEE3DPoint * pUp AEE3DTransformMatrix * pMatrixOut );
各方向ベクトルは、3D ポイントまたはQ12 形式でのベクトルとして指定します。
BREW API I3DUtil_GetViewTransformMatrix
[ public, static ] SFUBrewPtr<SFB3DUtil> Instance(Void);
[ public ] SFCError MatrixMultiply( AEE3DTransformMatrix * pMatrixOut const AEE3DTransformMatrix * pMatrixIn );
BREW API I3DUtil_MatrixMultiply
[ public ] SFCError SetIdentityMatrix( AEE3DTransformMatrix * pMatrixOut );
BREW API I3DUtil_SetIdentityMatrix
[ public ] SFCError SetTranslationMatrix( AEE3DPoint * pVector AEE3DTransformMatrix * pMatrix );
BREW API I3DUtil_SetTranslationMatrix
BREW API I3DUtil_sin
BREW API I3DUtil_sqrt
| Copyright(C) 2003-2004 Sophia Cradle Inc., All Rights Reserved. |
![]() ![]() ![]()
|