#include <Bone.h>
Public Member Functions | |
virtual const Matrix34 & | getLocalMatrix () |
ローカル行列の取得 | |
virtual const Matrix34 & | getModelMatrix () |
モデル行列の取得 | |
virtual const Matrix34 & | getDeformMatrix () |
変形行列の取得 | |
virtual void | setInversePoseMatrix (const Matrix34 &inversePoseMatrix) |
ポーズ逆行列の設定 | |
virtual const Matrix34 & | getInversePoseMatrix () const |
ポーズ逆行列の取得 | |
virtual void | setScale (const Vector3 &scale) |
スケールの設定 | |
virtual const Vector3 & | getScale () const |
スケールの取得 | |
virtual bool | isScaled () const |
スケールを使用しているか | |
virtual void | setRotationXYZ (const Vector3 &rotation) |
XYZ回転の設定. | |
virtual const Vector3 & | getRotationXYZ () |
XYZ回転の取得. | |
virtual void | setRotationQuaternion (const Quaternion &rotation) |
四元数回転の設定 | |
virtual const Quaternion & | getRotationQuaternion () |
四元数回転の取得 | |
virtual void | setTranslation (const Vector3 &translation) |
移動の設定 | |
virtual const Vector3 & | getTranslation () const |
移動の取得 | |
virtual void | addBone (Bone *bone) |
ボーンの追加 | |
virtual void | removeBone (Bone *bone) |
ボーンの削除 | |
virtual int | getBoneCount () const |
ボーン数の取得 | |
virtual Bone * | getBone (int index) const |
ボーンの取得 | |
virtual const String & | getName () const |
名前の取得 | |
virtual void | copyBoneValue (Bone *destination) const |
ボーンの値コピー | |
Protected Member Functions | |
Bone (const String &name) | |
コンストラクタ | |
virtual | ~Bone () |
デストラクタ | |
virtual bool | buildBoneMatrix (const Matrix34 &parentModelMatrix) |
ボーン行列の構築 | |
Protected Attributes | |
Axis3 | axis_ |
軸 | |
Matrix34 | inversePoseMatrix_ |
ポーズ逆行列 | |
Matrix34 | modelMatrix_ |
モデル行列 | |
Matrix34 | deformMatrix_ |
変形行列 | |
ArrayList< Bone * > | bones_ |
ボーン配列 | |
String | name_ |
名前 | |
Friends | |
class | CharacterModel |
Definition at line 37 of file Bone.h.
|
コンストラクタ
|
|
ボーンの追加
Definition at line 153 of file Bone.h. References Lamp::ArrayList< Bone * >::add(), and bones_. Referenced by Lamp::CharacterModel::copyCharacterModel(), Lamp::TextSceneLoader::readCharacterModel(), and Lamp::BinarySceneLoader::readCharacterModel(). |
|
ボーン行列の構築
Definition at line 47 of file Bone.cpp. References axis_, Lamp::Axis3::buildMatrix(), deformMatrix_, getBone(), getBoneCount(), getLocalMatrix(), inversePoseMatrix_, Lamp::Axis3::isScaled(), and modelMatrix_. Referenced by Lamp::CharacterModel::buildBoneMatrix(). |
|
ボーンの値コピー
Definition at line 41 of file Bone.cpp. References axis_, getInversePoseMatrix(), and setInversePoseMatrix(). Referenced by Lamp::CharacterModel::copyCharacterModel(). |
|
ボーンの取得
Definition at line 176 of file Bone.h. References Assert, bones_, Lamp::ArrayList< Bone * >::get(), and getBoneCount(). Referenced by Lamp::PrimitiveDrawRequestBuilder::buildBone(), buildBoneMatrix(), Lamp::CharacterModel::copyCharacterModel(), Lamp::TextSceneSaver::writeBoneLink(), and Lamp::BinarySceneSaver::writeBoneLink(). |
|
ボーン数の取得
Definition at line 169 of file Bone.h. References bones_, and Lamp::ArrayList< Bone * >::getCount(). Referenced by Lamp::PrimitiveDrawRequestBuilder::buildBone(), buildBoneMatrix(), Lamp::CharacterModel::copyCharacterModel(), getBone(), Lamp::TextSceneSaver::writeBoneLink(), and Lamp::BinarySceneSaver::writeBoneLink(). |
|
変形行列の取得
Definition at line 57 of file Bone.h. References deformMatrix_. Referenced by Lamp::PrimitiveDrawRequestBuilder::buildBone(), and Lamp::CharacterModel::buildDeformMatrixArray(). |
|
ポーズ逆行列の取得
Definition at line 72 of file Bone.h. References inversePoseMatrix_. Referenced by Lamp::PrimitiveDrawRequestBuilder::buildBone(), copyBoneValue(), Lamp::TextSceneSaver::writeBone(), and Lamp::BinarySceneSaver::writeBone(). |
|
ローカル行列の取得
Definition at line 45 of file Bone.h. References axis_, and Lamp::Axis3::getMatrix(). Referenced by buildBoneMatrix(). |
|
モデル行列の取得
Definition at line 51 of file Bone.h. References modelMatrix_. |
|
名前の取得
Definition at line 187 of file Bone.h. References name_. Referenced by Lamp::CharacterModel::copyCharacterModel(), Lamp::CharacterModel::destroyBone(), Lamp::TextSceneSaver::writeBone(), Lamp::BinarySceneSaver::writeBone(), and Lamp::TextSceneSaver::writeBoneLink(). |
|
四元数回転の取得
Definition at line 125 of file Bone.h. References axis_, and Lamp::Axis3::getRotationQuaternion(). |
|
XYZ回転の取得.
Definition at line 108 of file Bone.h. References axis_, and Lamp::Axis3::getRotationXYZ(). Referenced by Lamp::TextSceneSaver::writeBone(), and Lamp::BinarySceneSaver::writeBone(). |
|
スケールの取得
Definition at line 87 of file Bone.h. References axis_, and Lamp::Axis3::getScale(). Referenced by Lamp::TextSceneSaver::writeBone(), and Lamp::BinarySceneSaver::writeBone(). |
|
移動の取得
Definition at line 142 of file Bone.h. References axis_, and Lamp::Axis3::getTranslation(). Referenced by Lamp::TextSceneSaver::writeBone(), and Lamp::BinarySceneSaver::writeBone(). |
|
スケールを使用しているか
Definition at line 93 of file Bone.h. References axis_, and Lamp::Axis3::isScaled(). |
|
ボーンの削除
Definition at line 161 of file Bone.h. References bones_, and Lamp::ArrayList< Bone * >::removeByValue(). |
|
ポーズ逆行列の設定
Definition at line 64 of file Bone.h. References inversePoseMatrix_. Referenced by copyBoneValue(), Lamp::TextSceneLoader::readBone(), and Lamp::BinarySceneLoader::readBone(). |
|
四元数回転の設定
Definition at line 117 of file Bone.h. References axis_, and Lamp::Axis3::setRotationQuaternion(). Referenced by Lamp::CharacterModelAnimation::animate(). |
|
XYZ回転の設定.
Definition at line 100 of file Bone.h. References axis_, and Lamp::Axis3::setRotationXYZ(). Referenced by Lamp::CharacterModelAnimation::animate(), Lamp::TextSceneLoader::readBone(), and Lamp::BinarySceneLoader::readBone(). |
|
スケールの設定
Definition at line 81 of file Bone.h. References axis_, and Lamp::Axis3::setScale(). Referenced by Lamp::CharacterModelAnimation::animate(), Lamp::TextSceneLoader::readBone(), and Lamp::BinarySceneLoader::readBone(). |
|
移動の設定
Definition at line 134 of file Bone.h. References axis_, and Lamp::Axis3::setTranslation(). Referenced by Lamp::CharacterModelAnimation::animate(), Lamp::TextSceneLoader::readBone(), and Lamp::BinarySceneLoader::readBone(). |