#include <Matrix33.h>
Public Member Functions | |
Matrix33 () | |
コンストラクタ | |
Matrix33 (float i00, float i01, float i02, float i10, float i11, float i12, float i20, float i21, float i22) | |
コンストラクタ | |
Matrix33 (const float *const source) | |
コンストラクタ | |
void | set (float s00, float s01, float s02, float s10, float s11, float s12, float s20, float s21, float s22) |
値の設定 | |
void | set (const float *const source) |
値の設定 | |
void | setZero () |
ゼロ行列設定 | |
void | setUnit () |
単位行列設定 | |
void | set (const Matrix34 &source) |
3×4行列の設定 | |
void | set (const Matrix44 &source) |
4×4行列の設定 | |
void | setScale (float scaleX, float scaleY, float scaleZ) |
スケールの設定 | |
void | setScale (const Vector3 &scale) |
スケールの設定 | |
void | addScale (float scaleX, float scaleY, float scaleZ) |
スケールの追加 | |
void | addScale (const Vector3 &scale) |
スケールの追加 | |
void | setRotationX (float radian) |
X軸回転の設定. | |
void | addRotationX (float radian) |
X軸回転の追加. | |
void | setRotationY (float radian) |
Y軸回転の設定. | |
void | addRotationY (float radian) |
Y軸回転の追加. | |
void | setRotationZ (float radian) |
Z軸回転の設定. | |
void | addRotationZ (float radian) |
Z軸回転の追加. | |
void | setRotationAxis (const Vector3 &axis, float radian) |
軸指定回転の設定 | |
void | addRotationAxis (const Vector3 &axis, float radian) |
軸指定回転の追加 | |
void | getRotationAxis (Vector3 *axis, float *radian) const |
軸指定回転の取得 | |
void | setRotationQuaternion (const Quaternion &quaternion) |
四元数回転の設定 | |
void | addRotationQuaternion (const Quaternion &quaternion) |
四元数回転の追加 | |
Quaternion | getRotationQuaternion () const |
四元数回転の取得 | |
void | setRotationXYZ (const Vector3 &radian) |
XYZ軸回転の設定. | |
void | addRotationXYZ (const Vector3 &radian) |
XYZ軸回転の追加. | |
bool | getRotationXYZ (Vector3 *radian) const |
XYZ軸回転の取得. | |
void | setRotationXZY (const Vector3 &radian) |
XZY軸回転の設定. | |
void | addRotationXZY (const Vector3 &radian) |
XZY軸回転の追加. | |
bool | getRotationXZY (Vector3 *radian) const |
XZY軸回転の取得. | |
void | setRotationYXZ (const Vector3 &radian) |
YXZ軸回転の設定. | |
void | addRotationYXZ (const Vector3 &radian) |
YXZ軸回転の追加. | |
bool | getRotationYXZ (Vector3 *radian) const |
YXZ軸回転の取得. | |
void | setRotationYZX (const Vector3 &radian) |
YZX軸回転の設定. | |
void | addRotationYZX (const Vector3 &radian) |
YZX軸回転の追加. | |
bool | getRotationYZX (Vector3 *radian) const |
YZX軸回転の取得. | |
void | setRotationZXY (const Vector3 &radian) |
ZXY軸回転の設定. | |
void | addRotationZXY (const Vector3 &radian) |
ZXY軸回転の追加. | |
bool | getRotationZXY (Vector3 *radian) const |
ZXY軸回転の取得. | |
void | setRotationZYX (const Vector3 &radian) |
ZYX軸回転の設定. | |
void | addRotationZYX (const Vector3 &radian) |
ZYX軸回転の追加. | |
bool | getRotationZYX (Vector3 *radian) const |
ZYX軸回転の取得. | |
Matrix33 | operator * (const Matrix33 &mtx) const |
行列乗算 | |
Matrix33 & | operator *= (Matrix33 mtx) |
代入行列乗算 | |
Vector3 | operator * (const Vector3 &vector) const |
ベクトル乗算 | |
Matrix33 | operator * (float value) const |
スカラー乗算 | |
Matrix33 & | operator *= (float value) |
スカラー乗算 | |
void | transpose () |
転置 | |
float | determinant () const |
行列式 | |
float | invert () |
逆行列 | |
float | invert (Matrix33 *invertMatrix) const |
逆行列 | |
bool | operator== (const Matrix33 &target) const |
行列が同じかどうか | |
bool | epsilonEquals (const Matrix33 &target, float epsilon) const |
行列が同じかどうか | |
bool | operator!= (const Matrix33 &target) const |
行列が同じでないかどうか | |
bool | notEpsilonEquals (const Matrix33 &target, float epsilon) const |
行列が同じでないかどうか | |
String | toString () const |
文字列化 | |
Static Public Attributes | |
const Matrix33 | zero |
ゼロ行列 | |
const Matrix33 | unit |
単位行列 |
右手座標系を使用します。 このクラスは継承しないで下さい。
Definition at line 43 of file Matrix33.h.
|
コンストラクタ このコンストラクタは初期値の設定を行わないため値は不定です。 Definition at line 96 of file Matrix33.h. Referenced by operator *(). |
|
コンストラクタ
Definition at line 110 of file Matrix33.h. |
|
コンストラクタ
Definition at line 123 of file Matrix33.h. |
|
軸指定回転の追加
Definition at line 336 of file Matrix33.h. References setRotationAxis(). |
|
四元数回転の追加
Definition at line 422 of file Matrix33.h. References setRotationQuaternion(). |
|
X軸回転の追加.
Definition at line 257 of file Matrix33.h. References setRotationX(). Referenced by setRotationYXZ(), setRotationYZX(), setRotationZXY(), and setRotationZYX(). |
|
XYZ軸回転の追加.
Definition at line 490 of file Matrix33.h. References setRotationXYZ(). |
|
XZY軸回転の追加.
Definition at line 537 of file Matrix33.h. References setRotationXZY(). |
|
Y軸回転の追加.
Definition at line 280 of file Matrix33.h. References setRotationY(). Referenced by setRotationXZY(), setRotationZXY(), and setRotationZYX(). |
|
YXZ軸回転の追加.
Definition at line 584 of file Matrix33.h. References setRotationYXZ(). |
|
YZX軸回転の追加.
Definition at line 631 of file Matrix33.h. References setRotationYZX(). |
|
Z軸回転の追加.
Definition at line 303 of file Matrix33.h. References setRotationZ(). Referenced by setRotationXZY(), setRotationYXZ(), and setRotationYZX(). |
|
ZXY軸回転の追加.
Definition at line 678 of file Matrix33.h. References setRotationZXY(). |
|
ZYX軸回転の追加.
Definition at line 725 of file Matrix33.h. References setRotationZYX(). |
|
スケールの追加
Definition at line 232 of file Matrix33.h. References setScale(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
スケールの追加
Definition at line 222 of file Matrix33.h. References setScale(). |
|
行列式
Definition at line 866 of file Matrix33.h. |
|
行列が同じかどうか
Definition at line 953 of file Matrix33.h. References Assert, m00, m01, m02, m10, m11, m12, m20, m21, and m22. Referenced by Lamp::OrientedBox::epsilonEquals(). |
|
軸指定回転の取得
Definition at line 347 of file Matrix33.h. References m00, m01, m02, m10, m11, m12, m20, m21, m22, Lamp::Vector3::normalize(), Lamp::Vector3::set(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
四元数回転の取得
Definition at line 432 of file Matrix33.h. References Lamp::Quaternion::array, m, m00, m01, m02, m10, m11, m12, m20, m21, m22, Lamp::Quaternion::w, Lamp::Quaternion::x, Lamp::Quaternion::y, and Lamp::Quaternion::z. |
|
XYZ軸回転の取得.
Definition at line 501 of file Matrix33.h. References m00, m01, m10, m11, m20, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
XZY軸回転の取得.
Definition at line 548 of file Matrix33.h. References m00, m02, m10, m11, m12, m20, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
YXZ軸回転の取得.
Definition at line 595 of file Matrix33.h. References m00, m01, m10, m11, m20, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
YZX軸回転の取得.
Definition at line 642 of file Matrix33.h. References m00, m01, m02, m11, m12, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
ZXY軸回転の取得.
Definition at line 689 of file Matrix33.h. References m00, m02, m10, m11, m12, m20, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
ZYX軸回転の取得.
Definition at line 736 of file Matrix33.h. References m00, m01, m02, m10, m12, m20, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
逆行列
Definition at line 907 of file Matrix33.h. References Assert, m00, m01, m02, m10, m11, m12, m20, m21, m22, and NULL. |
|
逆行列
Definition at line 877 of file Matrix33.h. References Assert, m00, m01, m02, m10, m11, m12, m20, m21, and m22. Referenced by Lamp::CharacterModel::buildDeformMatrixArray(), and Lamp::Plane::scaledTransform(). |
|
行列が同じでないかどうか
Definition at line 985 of file Matrix33.h. References Assert, m00, m01, m02, m10, m11, m12, m20, m21, and m22. Referenced by Lamp::OrientedBox::notEpsilonEquals(). |
|
スカラー乗算
Definition at line 822 of file Matrix33.h. References m00, m01, m02, m10, m11, m12, m20, m21, m22, and Matrix33(). |
|
ベクトル乗算
Definition at line 810 of file Matrix33.h. References m00, m01, m02, m10, m11, m12, m20, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
行列乗算 左側の行列から順に計算が適用されます。
Definition at line 766 of file Matrix33.h. References m00, m01, m02, m10, m11, m12, m20, m21, m22, and Matrix33(). |
|
スカラー乗算
Definition at line 834 of file Matrix33.h. |
|
代入行列乗算 左側の行列から順に計算が適用されます。
Definition at line 786 of file Matrix33.h. |
|
行列が同じでないかどうか
Definition at line 972 of file Matrix33.h. |
|
行列が同じかどうか
Definition at line 940 of file Matrix33.h. |
|
4×4行列の設定
Definition at line 56 of file Matrix33.cpp. References Lamp::Matrix44::m00, Lamp::Matrix44::m01, Lamp::Matrix44::m02, Lamp::Matrix44::m10, Lamp::Matrix44::m11, Lamp::Matrix44::m12, Lamp::Matrix44::m20, Lamp::Matrix44::m21, Lamp::Matrix44::m22, and set(). |
|
3×4行列の設定
Definition at line 49 of file Matrix33.cpp. References Lamp::Matrix34::m00, Lamp::Matrix34::m01, Lamp::Matrix34::m02, Lamp::Matrix34::m10, Lamp::Matrix34::m11, Lamp::Matrix34::m12, Lamp::Matrix34::m20, Lamp::Matrix34::m21, Lamp::Matrix34::m22, and set(). |
|
値の設定
Definition at line 157 of file Matrix33.h. |
|
値の設定
Definition at line 144 of file Matrix33.h. References m00, m01, m02, m10, m11, m12, m20, m21, and m22. Referenced by Lamp::CharacterModel::buildDeformMatrixArray(), Lamp::Plane::scaledTransform(), Lamp::OrientedBox::set(), set(), setRotationAxis(), setRotationX(), setRotationY(), setRotationZ(), setScale(), setUnit(), setZero(), and Lamp::OrientedBox::transform(). |
|
軸指定回転の設定
Definition at line 315 of file Matrix33.h. References Assert, Lamp::Vector3::isUnit(), set(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationAxis(). |
|
四元数回転の設定
Definition at line 391 of file Matrix33.h. References Assert, Lamp::Quaternion::isUnit(), m00, m01, m02, m10, m11, m12, m20, m21, m22, Lamp::Quaternion::w, Lamp::Quaternion::x, Lamp::Quaternion::y, and Lamp::Quaternion::z. Referenced by addRotationQuaternion(), and Lamp::OrientedBox::setRotationQuaternion(). |
|
X軸回転の設定.
Definition at line 245 of file Matrix33.h. References set(). Referenced by addRotationX(), and setRotationXZY(). |
|
XYZ軸回転の設定.
Definition at line 466 of file Matrix33.h. References m00, m01, m02, m10, m11, m12, m20, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationXYZ(), Lamp::OrientedBox::setRotationXYZ(), and Lamp::FirstPersonCameraController::windowProcedure(). |
|
XZY軸回転の設定.
Definition at line 527 of file Matrix33.h. References addRotationY(), addRotationZ(), setRotationX(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationXZY(). |
|
Y軸回転の設定.
Definition at line 268 of file Matrix33.h. References set(). Referenced by addRotationY(), setRotationYXZ(), and setRotationYZX(). |
|
YXZ軸回転の設定.
Definition at line 574 of file Matrix33.h. References addRotationX(), addRotationZ(), setRotationY(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationYXZ(). |
|
YZX軸回転の設定.
Definition at line 621 of file Matrix33.h. References addRotationX(), addRotationZ(), setRotationY(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationYZX(). |
|
Z軸回転の設定.
Definition at line 291 of file Matrix33.h. References set(). Referenced by addRotationZ(), setRotationZXY(), and setRotationZYX(). |
|
ZXY軸回転の設定.
Definition at line 668 of file Matrix33.h. References addRotationX(), addRotationY(), setRotationZ(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationZXY(). |
|
ZYX軸回転の設定.
Definition at line 715 of file Matrix33.h. References addRotationX(), addRotationY(), setRotationZ(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationZYX(). |
|
スケールの設定
Definition at line 212 of file Matrix33.h. References setScale(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
スケールの設定
Definition at line 202 of file Matrix33.h. References set(). Referenced by addScale(), and setScale(). |
|
文字列化
Definition at line 1006 of file Matrix33.h. References Lamp::String::format(), m00, m01, m02, m10, m11, m12, m20, m21, and m22. |
|
転置 m30、m31、m32は0クリアされます。 Definition at line 855 of file Matrix33.h. References m01, m02, m10, m12, m20, and m21. Referenced by Lamp::CharacterModel::buildDeformMatrixArray(), and Lamp::Plane::scaledTransform(). |