GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 全メンバ一覧
designlab::RotationMatrix3x3 構造体final

3次元の回転行列を表す構造体. [詳解]

#include <math_rotation_matrix.h>

公開メンバ関数

 RotationMatrix3x3 ()
 単位行列を生成する.
 
 RotationMatrix3x3 (const float r11, const float r12, const float r13, const float r21, const float r22, const float r23, const float r31, const float r32, const float r33)
 任意の回転行列を生成する.
 
 RotationMatrix3x3 (const RotationMatrix3x3 &other)=default
 
 RotationMatrix3x3 (RotationMatrix3x3 &&other) noexcept=default
 
RotationMatrix3x3operator= (const RotationMatrix3x3 &other)=default
 
 ~RotationMatrix3x3 ()=default
 
RotationMatrix3x3 operator* (const RotationMatrix3x3 &other) const
 
std::string ToString () const
 回転行列を文字列に変換する.
 

静的公開メンバ関数

static RotationMatrix3x3 CreateRotationMatrixX (float angle)
 x軸周りに回転する回転行列を生成する.
 
static RotationMatrix3x3 CreateRotationMatrixY (float angle)
 y軸周りに回転する回転行列を生成する.
 
static RotationMatrix3x3 CreateRotationMatrixZ (float angle)
 z軸周りに回転する回転行列を生成する.
 

公開変数類

std::array< std::array< float, 3 >, 3 > element
 

詳解

3次元の回転行列を表す構造体.

回転行列については以下の参考資料を確認すること.

参考

math_rotation_matrix.h32 行目に定義があります。

構築子と解体子

◆ RotationMatrix3x3() [1/4]

designlab::RotationMatrix3x3::RotationMatrix3x3 ( )
inline

単位行列を生成する.

math_rotation_matrix.h35 行目に定義があります。

被呼び出し関係図:

◆ RotationMatrix3x3() [2/4]

designlab::RotationMatrix3x3::RotationMatrix3x3 ( const float  r11,
const float  r12,
const float  r13,
const float  r21,
const float  r22,
const float  r23,
const float  r31,
const float  r32,
const float  r33 
)
inline

任意の回転行列を生成する.

math_rotation_matrix.h42 行目に定義があります。

◆ RotationMatrix3x3() [3/4]

designlab::RotationMatrix3x3::RotationMatrix3x3 ( const RotationMatrix3x3 other)
default

◆ RotationMatrix3x3() [4/4]

designlab::RotationMatrix3x3::RotationMatrix3x3 ( RotationMatrix3x3 &&  other)
defaultnoexcept

◆ ~RotationMatrix3x3()

designlab::RotationMatrix3x3::~RotationMatrix3x3 ( )
default

関数詳解

◆ CreateRotationMatrixX()

RotationMatrix3x3 designlab::RotationMatrix3x3::CreateRotationMatrixX ( float  angle)
static

x軸周りに回転する回転行列を生成する.

引数
[in]angle回転角 [rad]
戻り値
x軸周りに回転する回転行列.

math_rotation_matrix.cpp38 行目に定義があります。

呼び出し関係図:
被呼び出し関係図:

◆ CreateRotationMatrixY()

RotationMatrix3x3 designlab::RotationMatrix3x3::CreateRotationMatrixY ( float  angle)
static

y軸周りに回転する回転行列を生成する.

引数
[in]angle回転角 [rad]
戻り値
y軸周りに回転する回転行列.

math_rotation_matrix.cpp50 行目に定義があります。

呼び出し関係図:
被呼び出し関係図:

◆ CreateRotationMatrixZ()

RotationMatrix3x3 designlab::RotationMatrix3x3::CreateRotationMatrixZ ( float  angle)
static

z軸周りに回転する回転行列を生成する.

引数
[in]angle回転角 [rad]
戻り値
z軸周りに回転する回転行列.

math_rotation_matrix.cpp62 行目に定義があります。

呼び出し関係図:
被呼び出し関係図:

◆ operator*()

RotationMatrix3x3 designlab::RotationMatrix3x3::operator* ( const RotationMatrix3x3 other) const

math_rotation_matrix.cpp18 行目に定義があります。

◆ operator=()

RotationMatrix3x3 & designlab::RotationMatrix3x3::operator= ( const RotationMatrix3x3 other)
default

◆ ToString()

std::string designlab::RotationMatrix3x3::ToString ( ) const

回転行列を文字列に変換する.

戻り値
回転行列を表す文字列.

math_rotation_matrix.cpp74 行目に定義があります。

呼び出し関係図:

メンバ詳解

◆ element

std::array<std::array<float, 3>, 3> designlab::RotationMatrix3x3::element

データの並びについて.
| R11 R12 R13 |
| R21 R22 R23 |
| R31 R32 R33 |

R11は element[0][0],R12は element[0][1],R32は element[2][1]となる.
つまり,element[ 行 - 1 ][ 列 - 1 ]となる.

math_rotation_matrix.h87 行目に定義があります。


この構造体詳解は次のファイルから抽出されました: