|
| SkeletonSerializer () |
|
virtual | ~SkeletonSerializer () |
|
void | exportSkeleton (const Skeleton *pSkeleton, const String &filename, Endian endianMode=ENDIAN_NATIVE) |
| Exports a skeleton to the file specified. More...
|
|
void | importSkeleton (DataStreamPtr &stream, Skeleton *pDest) |
| Imports Skeleton and animation data from a .skeleton file DataStream. More...
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
void * | operator new[] (size_t sz) |
|
|
size_t | calcAnimationSize (const Skeleton *pSkel, const Animation *pAnim) |
|
size_t | calcAnimationTrackSize (const Skeleton *pSkel, const NodeAnimationTrack *pTrack) |
|
size_t | calcBoneParentSize (const Skeleton *pSkel) |
|
size_t | calcBoneSize (const Skeleton *pSkel, const Bone *pBone) |
|
size_t | calcBoneSizeWithoutScale (const Skeleton *pSkel, const Bone *pBone) |
|
size_t | calcKeyFrameSize (const Skeleton *pSkel, const TransformKeyFrame *pKey) |
|
size_t | calcKeyFrameSizeWithoutScale (const Skeleton *pSkel, const TransformKeyFrame *pKey) |
|
size_t | calcSkeletonAnimationLinkSize (const Skeleton *pSkel, const LinkedSkeletonAnimationSource &link) |
|
virtual void | determineEndianness (DataStreamPtr &stream) |
| Determine the endianness of the incoming stream compared to native. More...
|
|
virtual void | determineEndianness (Endian requestedEndian) |
| Determine the endianness to write with based on option. More...
|
|
virtual void | flipEndian (void *pData, size_t size, size_t count) |
|
virtual void | flipEndian (void *pData, size_t size) |
|
virtual void | flipFromLittleEndian (void *pData, size_t size, size_t count=1) |
|
virtual void | flipToLittleEndian (void *pData, size_t size, size_t count=1) |
|
void | readAnimation (DataStreamPtr &stream, Skeleton *pSkel) |
|
void | readAnimationTrack (DataStreamPtr &stream, Animation *anim, Skeleton *pSkel) |
|
void | readBone (DataStreamPtr &stream, Skeleton *pSkel) |
|
void | readBoneParent (DataStreamPtr &stream, Skeleton *pSkel) |
|
void | readBools (DataStreamPtr &stream, bool *pDest, size_t count) |
|
virtual unsigned short | readChunk (DataStreamPtr &stream) |
|
virtual void | readFileHeader (DataStreamPtr &stream) |
|
void | readFloats (DataStreamPtr &stream, float *pDest, size_t count) |
|
void | readFloats (DataStreamPtr &stream, double *pDest, size_t count) |
|
void | readInts (DataStreamPtr &stream, uint32 *pDest, size_t count) |
|
void | readKeyFrame (DataStreamPtr &stream, NodeAnimationTrack *track, Skeleton *pSkel) |
|
void | readObject (DataStreamPtr &stream, Vector3 &pDest) |
|
void | readObject (DataStreamPtr &stream, Quaternion &pDest) |
|
void | readShorts (DataStreamPtr &stream, uint16 *pDest, size_t count) |
|
void | readSkeletonAnimationLink (DataStreamPtr &stream, Skeleton *pSkel) |
|
String | readString (DataStreamPtr &stream) |
|
String | readString (DataStreamPtr &stream, size_t numChars) |
|
void | writeAnimation (const Skeleton *pSkel, const Animation *anim) |
|
void | writeAnimationTrack (const Skeleton *pSkel, const NodeAnimationTrack *track) |
|
void | writeBone (const Skeleton *pSkel, const Bone *pBone) |
|
void | writeBoneParent (const Skeleton *pSkel, unsigned short boneId, unsigned short parentId) |
|
void | writeBools (const bool *const pLong, size_t count) |
|
virtual void | writeChunkHeader (uint16 id, size_t size) |
|
void | writeData (const void *const buf, size_t size, size_t count) |
|
virtual void | writeFileHeader (void) |
|
void | writeFloats (const float *const pfloat, size_t count) |
|
void | writeFloats (const double *const pfloat, size_t count) |
|
void | writeInts (const uint32 *const pInt, size_t count) |
|
void | writeKeyFrame (const Skeleton *pSkel, const TransformKeyFrame *key) |
|
void | writeObject (const Vector3 &vec) |
|
void | writeObject (const Quaternion &q) |
|
void | writeShorts (const uint16 *const pShort, size_t count) |
|
void | writeSkeleton (const Skeleton *pSkel) |
|
void | writeSkeletonAnimationLink (const Skeleton *pSkel, const LinkedSkeletonAnimationSource &link) |
|
void | writeString (const String &string) |
|
Class for serialising skeleton data to/from an OGRE .skeleton file.
- To export a Skeleton:
-
Create a Skeleton object and populate it using it's methods.
-
Call the exportSkeleton method
Definition at line 56 of file OgreSkeletonSerializer.h.