#include <Matrix34.h>
Public Member Functions | |
Matrix34 () | |
コンストラクタ | |
Matrix34 (float i00, float i01, float i02, float i03, float i10, float i11, float i12, float i13, float i20, float i21, float i22, float i23) | |
コンストラクタ | |
Matrix34 (const float *const source) | |
コンストラクタ | |
void | set (float s00, float s01, float s02, float s03, float s10, float s11, float s12, float s13, float s20, float s21, float s22, float s23) |
値の設定 | |
void | set (const float *const source) |
値の設定 | |
void | setZero () |
ゼロ行列設定 | |
void | setUnit () |
単位行列設定 | |
void | set (const Matrix33 &source) |
3×3行列の設定 | |
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軸回転の取得. | |
void | setTranslation (float translationX, float translationY, float translationZ) |
移動の設定 | |
void | setTranslation (const Vector3 &translation) |
移動の設定 | |
void | addTranslation (float translationX, float translationY, float translationZ) |
移動の追加 | |
void | addTranslation (const Vector3 &translation) |
移動の追加 | |
Vector3 | getTranslation () const |
移動の取得 | |
void | setTransformationXYZ (const Vector3 &radian, const Vector3 &translation) |
XYZ回転の変換設定. | |
void | addTransformationXYZ (const Vector3 &radian, const Vector3 &translation) |
XYZ回転の変換追加. | |
void | setTransformationXYZ (const Vector3 &scale, const Vector3 &radian, const Vector3 &translation) |
XYZ回転の変換設定. | |
void | addTransformationXYZ (const Vector3 &scale, const Vector3 &radian, const Vector3 &translation) |
XYZ回転の変換追加. | |
void | setTransformationQuaternion (const Quaternion &quaternion, const Vector3 &translation) |
四元数回転の変換設定 | |
void | addTransformationQuaternion (const Quaternion &quaternion, const Vector3 &translation) |
四元数回転の変換追加 | |
void | setTransformationQuaternion (const Vector3 &scale, const Quaternion &quaternion, const Vector3 &translation) |
四元数回転の変換設定 | |
void | addTransformationQuaternion (const Vector3 &scale, const Quaternion &quaternion, const Vector3 &translation) |
四元数回転の変換追加 | |
Matrix34 | operator * (const Matrix34 &mtx) const |
行列乗算 | |
Matrix34 & | operator *= (Matrix34 mtx) |
代入行列乗算 | |
Vector3 | operator * (const Vector3 &vector) const |
ベクトル乗算 | |
Vector3 | multiply33 (const Vector3 &vector) const |
3x3のベクトル乗算 | |
Matrix34 | operator * (float value) const |
スカラー乗算 | |
Matrix34 & | operator *= (float value) |
スカラー乗算 | |
void | transpose () |
転置 | |
float | determinant () const |
行列式 | |
float | invert () |
逆行列 | |
float | invert (Matrix34 *invertMatrix) const |
逆行列 | |
void | invertTransformation () |
変換行列の逆行列 | |
void | invertTransformation (Matrix34 *invertMatrix) const |
変換行列の逆行列 | |
bool | operator== (const Matrix34 &target) const |
行列が同じかどうか | |
bool | epsilonEquals (const Matrix34 &target, float epsilon) const |
行列が同じかどうか | |
bool | operator!= (const Matrix34 &target) const |
行列が同じでないかどうか | |
bool | notEpsilonEquals (const Matrix34 &target, float epsilon) const |
行列が同じでないかどうか | |
String | toString () const |
文字列化 | |
Static Public Attributes | |
const Matrix34 | zero |
ゼロ行列 | |
const Matrix34 | unit |
単位行列 |
右手座標系を使用します。 このクラスは継承しないで下さい。 m30, m31, m32, m33要素が演算に必要な場合、0.f, 0.f, 0.f, 1.fと仮定します。
Definition at line 44 of file Matrix34.h.
|
コンストラクタ このコンストラクタは初期値の設定を行わないため値は不定です。 Definition at line 103 of file Matrix34.h. Referenced by operator *(). |
|
コンストラクタ
Definition at line 120 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
コンストラクタ
Definition at line 133 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
軸指定回転の追加
Definition at line 352 of file Matrix34.h. References setRotationAxis(). |
|
四元数回転の追加
Definition at line 441 of file Matrix34.h. References setRotationQuaternion(). |
|
X軸回転の追加.
Definition at line 270 of file Matrix34.h. References setRotationX(). Referenced by setRotationYXZ(), setRotationYZX(), setRotationZXY(), and setRotationZYX(). |
|
XYZ軸回転の追加.
Definition at line 512 of file Matrix34.h. References setRotationXYZ(). |
|
XZY軸回転の追加.
Definition at line 559 of file Matrix34.h. References setRotationXZY(). |
|
Y軸回転の追加.
Definition at line 293 of file Matrix34.h. References setRotationY(). Referenced by setRotationXZY(), setRotationZXY(), and setRotationZYX(). |
|
YXZ軸回転の追加.
Definition at line 606 of file Matrix34.h. References setRotationYXZ(). |
|
YZX軸回転の追加.
Definition at line 653 of file Matrix34.h. References setRotationYZX(). |
|
Z軸回転の追加.
Definition at line 316 of file Matrix34.h. References setRotationZ(). Referenced by setRotationXZY(), setRotationYXZ(), and setRotationYZX(). |
|
ZXY軸回転の追加.
Definition at line 700 of file Matrix34.h. References setRotationZXY(). |
|
ZYX軸回転の追加.
Definition at line 747 of file Matrix34.h. References setRotationZYX(). |
|
スケールの追加
Definition at line 245 of file Matrix34.h. References setScale(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
スケールの追加
Definition at line 235 of file Matrix34.h. References setScale(). |
|
四元数回転の変換追加 スケール、四元数回転、移動の順に変換を追加します
Definition at line 1030 of file Matrix34.h. References setTransformationQuaternion(). |
|
四元数回転の変換追加 四元数回転、移動の順に変換を追加します
Definition at line 974 of file Matrix34.h. References setTransformationQuaternion(). |
|
XYZ回転の変換追加. スケール、XYZ回転、移動の順に変換を追加します
Definition at line 920 of file Matrix34.h. References setTransformationXYZ(). |
|
XYZ回転の変換追加. XYZ回転、移動の順に変換を追加します
Definition at line 872 of file Matrix34.h. References setTransformationXYZ(). |
|
移動の追加
Definition at line 819 of file Matrix34.h. References setTranslation(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
移動の追加
Definition at line 808 of file Matrix34.h. References setTranslation(). |
|
行列式
Definition at line 1172 of file Matrix34.h. |
|
行列が同じかどうか
Definition at line 1335 of file Matrix34.h. References Assert, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
軸指定回転の取得
Definition at line 363 of file Matrix34.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 451 of file Matrix34.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 523 of file Matrix34.h. References m00, m01, m10, m11, m20, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
XZY軸回転の取得.
Definition at line 570 of file Matrix34.h. References m00, m02, m10, m11, m12, m20, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
YXZ軸回転の取得.
Definition at line 617 of file Matrix34.h. References m00, m01, m10, m11, m20, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
YZX軸回転の取得.
Definition at line 664 of file Matrix34.h. References m00, m01, m02, m11, m12, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
ZXY軸回転の取得.
Definition at line 711 of file Matrix34.h. References m00, m02, m10, m11, m12, m20, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
ZYX軸回転の取得.
Definition at line 758 of file Matrix34.h. References m00, m01, m02, m10, m12, m20, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
移動の取得
Definition at line 829 of file Matrix34.h. Referenced by Lamp::Plane::scaledTransform(), Lamp::Plane::transform(), and Lamp::LODSceneNode::traverse(). |
|
逆行列
Definition at line 1228 of file Matrix34.h. References Assert, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, and NULL. |
|
逆行列
Definition at line 1183 of file Matrix34.h. References Assert, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
変換行列の逆行列 変換行列には回転と移動しか含まれていないと仮定する
Definition at line 1293 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
変換行列の逆行列 変換行列には回転と移動しか含まれていないと仮定する Definition at line 1274 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by Lamp::PrimitiveDrawRequestBuilder::buildBone(), and Lamp::StaticDeformedMeshCollision::intersection(). |
|
3x3のベクトル乗算
Definition at line 1112 of file Matrix34.h. References m00, m01, m02, m10, m11, m12, m20, m21, m22, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by Lamp::Capsule::scaledTransform(), Lamp::CharacterMesh::skinningDeformPN(), Lamp::CharacterMesh::stitchingDeformPN(), Lamp::Segment::transform(), Lamp::Ray::transform(), Lamp::Plane::transform(), Lamp::Line::transform(), Lamp::Cone::transform(), Lamp::Capsule::transform(), and Lamp::DirectionalLight::traverse(). |
|
行列が同じでないかどうか
Definition at line 1373 of file Matrix34.h. References Assert, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
スカラー乗算
Definition at line 1124 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, and Matrix34(). |
|
ベクトル乗算
Definition at line 1100 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
行列乗算 左側の行列から順に計算が適用されます。
Definition at line 1047 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, and Matrix34(). |
|
スカラー乗算
Definition at line 1136 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
代入行列乗算 左側の行列から順に計算が適用されます。
Definition at line 1070 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
行列が同じでないかどうか
Definition at line 1357 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
行列が同じかどうか
Definition at line 1319 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
4×4行列の設定
Definition at line 56 of file Matrix34.cpp. References Lamp::Matrix44::m00, Lamp::Matrix44::m01, Lamp::Matrix44::m02, Lamp::Matrix44::m03, Lamp::Matrix44::m10, Lamp::Matrix44::m11, Lamp::Matrix44::m12, Lamp::Matrix44::m13, Lamp::Matrix44::m20, Lamp::Matrix44::m21, Lamp::Matrix44::m22, Lamp::Matrix44::m23, and set(). |
|
3×3行列の設定
Definition at line 49 of file Matrix34.cpp. References Lamp::Matrix33::m00, Lamp::Matrix33::m01, Lamp::Matrix33::m02, Lamp::Matrix33::m10, Lamp::Matrix33::m11, Lamp::Matrix33::m12, Lamp::Matrix33::m20, Lamp::Matrix33::m21, Lamp::Matrix33::m22, and set(). |
|
値の設定
Definition at line 170 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
値の設定
Definition at line 157 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. Referenced by set(), setRotationAxis(), setRotationX(), setRotationY(), setRotationZ(), setScale(), setTranslation(), setUnit(), and setZero(). |
|
軸指定回転の設定
Definition at line 328 of file Matrix34.h. References Assert, Lamp::Vector3::isUnit(), set(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationAxis(). |
|
四元数回転の設定
Definition at line 407 of file Matrix34.h. References Assert, Lamp::Quaternion::isUnit(), m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Quaternion::w, Lamp::Quaternion::x, Lamp::Quaternion::y, and Lamp::Quaternion::z. Referenced by addRotationQuaternion(). |
|
X軸回転の設定.
Definition at line 258 of file Matrix34.h. References set(). Referenced by addRotationX(), and setRotationXZY(). |
|
XYZ軸回転の設定.
Definition at line 485 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationXYZ(). |
|
XZY軸回転の設定.
Definition at line 549 of file Matrix34.h. References addRotationY(), addRotationZ(), setRotationX(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationXZY(). |
|
Y軸回転の設定.
Definition at line 281 of file Matrix34.h. References set(). Referenced by addRotationY(), setRotationYXZ(), and setRotationYZX(). |
|
YXZ軸回転の設定.
Definition at line 596 of file Matrix34.h. References addRotationX(), addRotationZ(), setRotationY(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationYXZ(). |
|
YZX軸回転の設定.
Definition at line 643 of file Matrix34.h. References addRotationX(), addRotationZ(), setRotationY(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationYZX(). |
|
Z軸回転の設定.
Definition at line 304 of file Matrix34.h. References set(). Referenced by addRotationZ(), setRotationZXY(), and setRotationZYX(). |
|
ZXY軸回転の設定.
Definition at line 690 of file Matrix34.h. References addRotationX(), addRotationY(), setRotationZ(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationZXY(). |
|
ZYX軸回転の設定.
Definition at line 737 of file Matrix34.h. References addRotationX(), addRotationY(), setRotationZ(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addRotationZYX(). |
|
スケールの設定
Definition at line 225 of file Matrix34.h. References setScale(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
スケールの設定
Definition at line 215 of file Matrix34.h. References set(). Referenced by addScale(), and setScale(). |
|
四元数回転の変換設定 スケール、四元数回転、移動の順に変換する行列を作成します
Definition at line 990 of file Matrix34.h. References Assert, Lamp::Quaternion::isUnit(), m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Quaternion::w, Lamp::Vector3::x, Lamp::Quaternion::x, Lamp::Vector3::y, Lamp::Quaternion::y, Lamp::Vector3::z, and Lamp::Quaternion::z. |
|
四元数回転の変換設定 四元数回転、移動の順に変換する行列を作成します
Definition at line 935 of file Matrix34.h. References Assert, Lamp::Quaternion::isUnit(), m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Quaternion::w, Lamp::Vector3::x, Lamp::Quaternion::x, Lamp::Vector3::y, Lamp::Quaternion::y, Lamp::Vector3::z, and Lamp::Quaternion::z. Referenced by addTransformationQuaternion(), Lamp::Axis3::buildMatrix(), Lamp::PrimitiveRenderer::request(), and Lamp::PrimitiveRenderer::requestLine(). |
|
XYZ回転の変換設定. スケール、XYZ回転、移動の順に変換する行列を作成します
Definition at line 888 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
XYZ回転の変換設定. XYZ回転、移動の順に変換する行列を作成します
Definition at line 841 of file Matrix34.h. References m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by addTransformationXYZ(), Lamp::Axis3::buildMatrix(), Lamp::PrimitiveRenderer::request(), and Lamp::PrimitiveRenderer::requestLine(). |
|
移動の設定
Definition at line 798 of file Matrix34.h. References setTranslation(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
移動の設定
Definition at line 787 of file Matrix34.h. References set(). Referenced by addTranslation(), and setTranslation(). |
|
文字列化
Definition at line 1397 of file Matrix34.h. References Lamp::String::format(), m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, and m23. |
|
転置 m30、m31、m32は0クリアされます。 Definition at line 1160 of file Matrix34.h. |