#include <BinaryAnimationLoader.h>
Public Member Functions | |
BinaryAnimationLoader () | |
コンストラクタ | |
virtual | ~BinaryAnimationLoader () |
デストラクタ | |
virtual void | load (const String &filePath, AnimationManager *manager) |
ロード | |
virtual void | load (BinaryReader *binaryReader, AnimationManager *manager) |
ロード | |
Protected Member Functions | |
virtual void | readHeader () |
ヘッダの読み込み | |
virtual void | readAnimationSet () |
アニメーションセットの読み込み | |
virtual void | readCameraAnimation () |
カメラアニメーションの読み込み | |
virtual void | readCameraAnimationData () |
カメラアニメーションデータの読み込み | |
virtual void | readSceneNodeAnimation () |
シーンノードアニメーションの読み込み | |
virtual void | readSceneNodeAnimationData () |
シーンノードアニメーションデータの読み込み | |
virtual void | readCharacterModelAnimation () |
キャラクタモデルアニメーションの読み込み | |
virtual void | readCharacterModelAnimationData () |
キャラクタモデルアニメーションデータの読み込み | |
virtual void | readAnimationSetLink () |
アニメーションセットリンクの読み込み | |
virtual void | readCameraAnimationLink () |
カメラアニメーションリンクの読み込み | |
virtual void | readSceneNodeAnimationLink () |
シーンノードアニメーションリンクの読み込み | |
virtual void | readCharacterModelAnimationLink () |
キャラクタモデルアニメーションリンクの読み込み | |
virtual VectorInterpolator * | readVectorInterpolator () |
ベクトル補間の読み込み | |
virtual VectorInterpolator * | readVectorConstantInterpolator () |
ベクトル定数補間の読み込み | |
virtual VectorInterpolator * | readVectorArrayInterpolator () |
ベクトル配列補間の読み込み | |
virtual VectorInterpolator * | readVectorLinearInterpolator () |
ベクトル線形補間の読み込み | |
virtual RotationInterpolator * | readRotationInterpolator () |
回転補間の読み込み | |
virtual RotationInterpolator * | readRotationConstantInterpolator () |
回転定数補間の読み込み | |
virtual RotationInterpolator * | readEulerArrayInterpolator () |
オイラー回転配列補間の読み込み | |
virtual RotationInterpolator * | readQuaternionArrayInterpolator () |
四元数回転配列補間の読み込み | |
virtual RotationInterpolator * | readQuaternionLinearInterpolator () |
四元数回転線形補間の読み込み | |
virtual String | readString () |
文字列の読み込み | |
virtual Vector3 | readVector3 () |
三次元ベクトルの読み込み | |
virtual Quaternion | readQuaternion () |
四元数の読み込み | |
virtual void | align () |
アライメントを取る | |
Protected Attributes | |
BinaryReader * | reader_ |
リーダ | |
AnimationManager * | manager_ |
アニメーションマネージャ |
Definition at line 39 of file BinaryAnimationLoader.h.
|
ロード
Definition at line 69 of file BinaryAnimationLoader.cpp. References align(), Assert, DebugOut, Lamp::String::getBytes(), Lamp::Reader::getPosition(), Lamp::Reader::isEnd(), manager_, readAnimationSet(), readAnimationSetLink(), readCameraAnimation(), readCameraAnimationData(), readCameraAnimationLink(), readCharacterModelAnimation(), readCharacterModelAnimationData(), readCharacterModelAnimationLink(), reader_, readHeader(), Lamp::BinaryReader::readInt(), readSceneNodeAnimation(), readSceneNodeAnimationData(), readSceneNodeAnimationLink(), readString(), and Lamp::Reader::skip(). |
|
ロード
Definition at line 57 of file BinaryAnimationLoader.cpp. References ErrorOut, and Lamp::FilePath::existFile(). Referenced by Lamp::SceneFramework::loadScene(). |
|
オイラー回転配列補間の読み込み
Definition at line 555 of file BinaryAnimationLoader.cpp. References reader_, Lamp::BinaryReader::readInt(), readVector3(), Lamp::EulerArrayInterpolator::setSize(), and Lamp::EulerArrayInterpolator::setValue(). Referenced by readRotationInterpolator(). |
|
四元数の読み込み
Definition at line 460 of file BinaryAnimationLoader.cpp. References Lamp::Quaternion::array, Lamp::Reader::readBytes(), and reader_. Referenced by readQuaternionArrayInterpolator(), readQuaternionLinearInterpolator(), and readRotationConstantInterpolator(). |
|
四元数回転配列補間の読み込み
Definition at line 565 of file BinaryAnimationLoader.cpp. References reader_, Lamp::BinaryReader::readInt(), readQuaternion(), Lamp::QuaternionArrayInterpolator::setSize(), and Lamp::QuaternionArrayInterpolator::setValue(). Referenced by readRotationInterpolator(). |
|
四元数回転線形補間の読み込み
Definition at line 578 of file BinaryAnimationLoader.cpp. References reader_, Lamp::BinaryReader::readFloat(), Lamp::BinaryReader::readInt(), readQuaternion(), Lamp::QuaternionLinearInterpolator::setKey(), and Lamp::QuaternionLinearInterpolator::setKeyCount(). Referenced by readRotationInterpolator(). |
|
回転定数補間の読み込み
Definition at line 544 of file BinaryAnimationLoader.cpp. References reader_, Lamp::BinaryReader::readFloat(), readQuaternion(), Lamp::RotationConstantInterpolator::setLength(), and Lamp::RotationConstantInterpolator::setQuaternion(). Referenced by readRotationInterpolator(). |
|
回転補間の読み込み
Definition at line 523 of file BinaryAnimationLoader.cpp. References ErrorOut, Lamp::Reader::getPosition(), NULL, reader_, readEulerArrayInterpolator(), Lamp::BinaryReader::readInt(), readQuaternionArrayInterpolator(), readQuaternionLinearInterpolator(), and readRotationConstantInterpolator(). Referenced by readCameraAnimationData(), readCharacterModelAnimationData(), and readSceneNodeAnimationData(). |
|
文字列の読み込み
Definition at line 431 of file BinaryAnimationLoader.cpp. References align(), Lamp::Reader::readBytes(), reader_, and Lamp::BinaryReader::readInt(). Referenced by load(), readAnimationSet(), readAnimationSetLink(), readCameraAnimation(), readCameraAnimationData(), readCameraAnimationLink(), readCharacterModelAnimation(), readCharacterModelAnimationData(), readCharacterModelAnimationLink(), readHeader(), readSceneNodeAnimation(), readSceneNodeAnimationData(), and readSceneNodeAnimationLink(). |
|
三次元ベクトルの読み込み
Definition at line 453 of file BinaryAnimationLoader.cpp. References Lamp::Vector3::array, Lamp::Reader::readBytes(), and reader_. Referenced by readEulerArrayInterpolator(), readVectorArrayInterpolator(), readVectorConstantInterpolator(), and readVectorLinearInterpolator(). |
|
ベクトル配列補間の読み込み
Definition at line 498 of file BinaryAnimationLoader.cpp. References reader_, Lamp::BinaryReader::readInt(), readVector3(), Lamp::VectorArrayInterpolator::setSize(), and Lamp::VectorArrayInterpolator::setValue(). Referenced by readVectorInterpolator(). |
|
ベクトル定数補間の読み込み
Definition at line 488 of file BinaryAnimationLoader.cpp. References reader_, Lamp::BinaryReader::readFloat(), readVector3(), Lamp::VectorConstantInterpolator::setLength(), and Lamp::VectorConstantInterpolator::setValue(). Referenced by readVectorInterpolator(). |
|
ベクトル補間の読み込み
Definition at line 469 of file BinaryAnimationLoader.cpp. References ErrorOut, Lamp::Reader::getPosition(), NULL, reader_, Lamp::BinaryReader::readInt(), readVectorArrayInterpolator(), readVectorConstantInterpolator(), and readVectorLinearInterpolator(). Referenced by readCameraAnimationData(), readCharacterModelAnimationData(), and readSceneNodeAnimationData(). |
|
ベクトル線形補間の読み込み
Definition at line 508 of file BinaryAnimationLoader.cpp. References reader_, Lamp::BinaryReader::readFloat(), Lamp::BinaryReader::readInt(), readVector3(), Lamp::VectorLinearInterpolator::setKey(), and Lamp::VectorLinearInterpolator::setKeyCount(). Referenced by readVectorInterpolator(). |