OGRE: Ogre::MeshSerializerImpl Class Reference - OGRE Documentation

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

# Ogre::MeshSerializerImpl Class Reference
[Resources]

Internal implementation of Mesh reading / writing for the latest version of the .mesh format. More...

`#include <OgreMeshSerializerImpl.h>`

Inheritance diagram for Ogre::MeshSerializerImpl:
[legend]

List of all members.

## Public Types
enum | Endian { ENDIAN_NATIVE, ENDIAN_BIG, ENDIAN_LITTLE }
| The endianness of written files. More...
## Public Member Functions
| MeshSerializerImpl ()
virtual | ~MeshSerializerImpl ()
void | exportMesh (const Mesh *pMesh, const String &filename, Endian endianMode=ENDIAN_NATIVE)
| Exports a mesh to the file specified.
void | importMesh (DataStreamPtr &stream, Mesh *pDest, MeshSerializerListener *listener)
| Imports Mesh and (optionally) Material data from a .mesh file DataStream.
void * | operator new (size_t sz, const char *file, int line, const char *func)
| operator new, with debug line info
void * | operator new (size_t sz)
void * | operator new (size_t sz, void *ptr)
| placement operator new
void * | operator new[] (size_t sz, const char *file, int line, const char *func)
| array operator new, with debug line info
void * | operator new[] (size_t sz)
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 *)
## Protected Member Functions
virtual void | writeSubMeshNameTable (const Mesh *pMesh)
virtual void | writeMesh (const Mesh *pMesh)
virtual void | writeSubMesh (const SubMesh *s)
virtual void | writeSubMeshOperation (const SubMesh *s)
virtual void | writeSubMeshTextureAliases (const SubMesh *s)
virtual void | writeGeometry (const VertexData *pGeom)
virtual void | writeSkeletonLink (const String &skelName)
virtual void | writeMeshBoneAssignment (const VertexBoneAssignment &assign)
virtual void | writeSubMeshBoneAssignment (const VertexBoneAssignment &assign)
virtual void | writeLodInfo (const Mesh *pMesh)
virtual void | writeLodSummary (unsigned short numLevels, bool manual, const LodStrategy *strategy)
virtual void | writeLodUsageManual (const MeshLodUsage &usage)
virtual void | writeLodUsageGenerated (const Mesh *pMesh, const MeshLodUsage &usage, unsigned short lodNum)
virtual void | writeBoundsInfo (const Mesh *pMesh)
virtual void | writeEdgeList (const Mesh *pMesh)
virtual void | writeAnimations (const Mesh *pMesh)
virtual void | writeAnimation (const Animation *anim)
virtual void | writePoses (const Mesh *pMesh)
virtual void | writePose (const Pose *pose)
virtual void | writeAnimationTrack (const VertexAnimationTrack *track)
virtual void | writeMorphKeyframe (const VertexMorphKeyFrame *kf, size_t vertexCount)
virtual void | writePoseKeyframe (const VertexPoseKeyFrame *kf)
virtual void | writePoseKeyframePoseRef (const VertexPoseKeyFrame::PoseRef &poseRef)
virtual void | writeExtremes (const Mesh *pMesh)
virtual void | writeSubMeshExtremes (unsigned short idx, const SubMesh *s)
virtual size_t | calcMeshSize (const Mesh *pMesh)
virtual size_t | calcSubMeshSize (const SubMesh *pSub)
virtual size_t | calcGeometrySize (const VertexData *pGeom)
virtual size_t | calcSkeletonLinkSize (const String &skelName)
virtual size_t | calcBoneAssignmentSize (void)
virtual size_t | calcSubMeshOperationSize (const SubMesh *pSub)
virtual size_t | calcSubMeshNameTableSize (const Mesh *pMesh)
virtual size_t | calcEdgeListSize (const Mesh *pMesh)
virtual size_t | calcEdgeListLodSize (const EdgeData *data, bool isManual)
virtual size_t | calcEdgeGroupSize (const EdgeData::EdgeGroup &group)
virtual size_t | calcPosesSize (const Mesh *pMesh)
virtual size_t | calcPoseSize (const Pose *pose)
virtual size_t | calcAnimationsSize (const Mesh *pMesh)
virtual size_t | calcAnimationSize (const Animation *anim)
virtual size_t | calcAnimationTrackSize (const VertexAnimationTrack *track)
virtual size_t | calcMorphKeyframeSize (const VertexMorphKeyFrame *kf, size_t vertexCount)
virtual size_t | calcPoseKeyframeSize (const VertexPoseKeyFrame *kf)
virtual size_t | calcPoseKeyframePoseRefSize (void)
virtual size_t | calcPoseVertexSize (void)
virtual size_t | calcSubMeshTextureAliasesSize (const SubMesh *pSub)
virtual void | readTextureLayer (DataStreamPtr &stream, Mesh *pMesh, MaterialPtr &pMat)
virtual void | readSubMeshNameTable (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readMesh (DataStreamPtr &stream, Mesh *pMesh, MeshSerializerListener *listener)
virtual void | readSubMesh (DataStreamPtr &stream, Mesh *pMesh, MeshSerializerListener *listener)
virtual void | readSubMeshOperation (DataStreamPtr &stream, Mesh *pMesh, SubMesh *sub)
virtual void | readSubMeshTextureAlias (DataStreamPtr &stream, Mesh *pMesh, SubMesh *sub)
virtual void | readGeometry (DataStreamPtr &stream, Mesh *pMesh, VertexData *dest)
virtual void | readGeometryVertexDeclaration (DataStreamPtr &stream, Mesh *pMesh, VertexData *dest)
virtual void | readGeometryVertexElement (DataStreamPtr &stream, Mesh *pMesh, VertexData *dest)
virtual void | readGeometryVertexBuffer (DataStreamPtr &stream, Mesh *pMesh, VertexData *dest)
virtual void | readSkeletonLink (DataStreamPtr &stream, Mesh *pMesh, MeshSerializerListener *listener)
virtual void | readMeshBoneAssignment (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readSubMeshBoneAssignment (DataStreamPtr &stream, Mesh *pMesh, SubMesh *sub)
virtual void | readMeshLodInfo (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readMeshLodUsageManual (DataStreamPtr &stream, Mesh *pMesh, unsigned short lodNum, MeshLodUsage &usage)
virtual void | readMeshLodUsageGenerated (DataStreamPtr &stream, Mesh *pMesh, unsigned short lodNum, MeshLodUsage &usage)
virtual void | readBoundsInfo (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readEdgeList (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readEdgeListLodInfo (DataStreamPtr &stream, EdgeData *edgeData)
virtual void | readPoses (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readPose (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readAnimations (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readAnimation (DataStreamPtr &stream, Mesh *pMesh)
virtual void | readAnimationTrack (DataStreamPtr &stream, Animation *anim, Mesh *pMesh)
virtual void | readMorphKeyFrame (DataStreamPtr &stream, VertexAnimationTrack *track)
virtual void | readPoseKeyFrame (DataStreamPtr &stream, VertexAnimationTrack *track)
virtual void | readExtremes (DataStreamPtr &stream, Mesh *pMesh)
virtual void | flipFromLittleEndian (void *pData, size_t vertexCount, size_t vertexSize, const VertexDeclaration::VertexElementList &elems)
| Flip an entire vertex buffer from little endian.
virtual void | flipToLittleEndian (void *pData, size_t vertexCount, size_t vertexSize, const VertexDeclaration::VertexElementList &elems)
| Flip an entire vertex buffer to little endian.
virtual void | flipEndian (void *pData, size_t vertexCount, size_t vertexSize, const VertexDeclaration::VertexElementList &elems)
| Flip the endianness of an entire vertex buffer, passed in as a pointer to locked or temporary memory.
virtual void | writeFileHeader (void)
virtual void | writeChunkHeader (uint16 id, size_t size)
void | writeFloats (const float *const pfloat, size_t count)
void | writeFloats (const double *const pfloat, size_t count)
void | writeShorts (const uint16 *const pShort, size_t count)
void | writeInts (const uint32 *const pInt, size_t count)
void | writeBools (const bool *const pLong, size_t count)
void | writeObject (const Vector3 &vec)
void | writeObject (const Quaternion &q)
void | writeString (const String &string)
void | writeData (const void *const buf, size_t size, size_t count)
virtual void | readFileHeader (DataStreamPtr &stream)
virtual unsigned short | readChunk (DataStreamPtr &stream)
void | readBools (DataStreamPtr &stream, bool *pDest, size_t count)
void | readFloats (DataStreamPtr &stream, float *pDest, size_t count)
void | readFloats (DataStreamPtr &stream, double *pDest, size_t count)
void | readShorts (DataStreamPtr &stream, uint16 *pDest, size_t count)
void | readInts (DataStreamPtr &stream, uint32 *pDest, size_t count)
void | readObject (DataStreamPtr &stream, Vector3 &pDest)
void | readObject (DataStreamPtr &stream, Quaternion &pDest)
String | readString (DataStreamPtr &stream)
String | readString (DataStreamPtr &stream, size_t numChars)
virtual void | flipToLittleEndian (void *pData, size_t size, size_t count=1)
virtual void | flipFromLittleEndian (void *pData, size_t size, size_t count=1)
virtual void | flipEndian (void *pData, size_t size, size_t count)
virtual void | flipEndian (void *pData, size_t size)
virtual void | determineEndianness (DataStreamPtr &stream)
| Determine the endianness of the incoming stream compared to native.
virtual void | determineEndianness (Endian requestedEndian)
| Determine the endianness to write with based on option.
## Protected Attributes
uint32 | mCurrentstreamLen
FILE * | mpfFile
String | mVersion
bool | mFlipEndian

## Detailed Description

Internal implementation of Mesh reading / writing for the latest version of the .mesh format.

Remarks:
  In order to maintain compatibility with older versions of the .mesh format, there will be alternative subclasses of this class to load older versions, whilst this class will remain to load the latest version.

Definition at line 57 of file OgreMeshSerializerImpl.h.

## Member Enumeration Documentation

enum Ogre::Serializer::Endian`[inherited]`

The endianness of written files.

Enumerator:

  ENDIAN_NATIVE | Use the platform native endian.
  ENDIAN_BIG | Use big endian (0x1000 is serialised as 0x10 0x00).
  ENDIAN_LITTLE | Use little endian (0x1000 is serialised as 0x00 0x10).

Definition at line 56 of file OgreSerializer.h.

## Constructor & Destructor Documentation

Ogre::MeshSerializerImpl::MeshSerializerImpl | ( |  | ) |

virtual Ogre::MeshSerializerImpl::~MeshSerializerImpl | ( |  | ) | `[virtual]`

## Member Function Documentation

virtual size_t Ogre::MeshSerializerImpl::calcAnimationSize | ( | const Animation * | anim | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcAnimationsSize | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcAnimationTrackSize | ( | const VertexAnimationTrack * | track | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcBoneAssignmentSize | ( | void |  | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcEdgeGroupSize | ( | const EdgeData::EdgeGroup & | group | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcEdgeListLodSize | ( | const EdgeData * | data,
|  | bool | isManual |
| ) |  |  | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcEdgeListSize | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcGeometrySize | ( | const VertexData * | pGeom | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcMeshSize | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcMorphKeyframeSize | ( | const VertexMorphKeyFrame * | kf,
|  | size_t | vertexCount |
| ) |  |  | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcPoseKeyframePoseRefSize | ( | void |  | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcPoseKeyframeSize | ( | const VertexPoseKeyFrame * | kf | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcPoseSize | ( | const Pose * | pose | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcPosesSize | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcPoseVertexSize | ( | void |  | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcSkeletonLinkSize | ( | const String & | skelName | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcSubMeshNameTableSize | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcSubMeshOperationSize | ( | const SubMesh * | pSub | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcSubMeshSize | ( | const SubMesh * | pSub | ) | `[protected, virtual]`

virtual size_t Ogre::MeshSerializerImpl::calcSubMeshTextureAliasesSize | ( | const SubMesh * | pSub | ) | `[protected, virtual]`

virtual void Ogre::Serializer::determineEndianness | ( | DataStreamPtr & | stream | ) | `[protected, virtual, inherited]`

Determine the endianness of the incoming stream compared to native.

virtual void Ogre::Serializer::determineEndianness | ( | Endian | requestedEndian | ) | `[protected, virtual, inherited]`

Determine the endianness to write with based on option.

void Ogre::MeshSerializerImpl::exportMesh | ( | const Mesh * | pMesh,
|  | const String & | filename,
|  | Endian | endianMode = `ENDIAN_NATIVE` |
| ) |  |  |

Exports a mesh to the file specified.

Remarks:
  This method takes an externally created Mesh object, and exports both it and optionally the Materials it uses to a .mesh file.

Parameters:

  | pMesh | Pointer to the Mesh to export
  | filename | The destination filename
  | endianMode | The endian mode for the written file

virtual void Ogre::MeshSerializerImpl::flipEndian | ( | void * | pData,
|  | size_t | vertexCount,
|  | size_t | vertexSize,
|  | const VertexDeclaration::VertexElementList & | elems |
| ) |  |  | `[protected, virtual]`

Flip the endianness of an entire vertex buffer, passed in as a pointer to locked or temporary memory.

virtual void Ogre::Serializer::flipEndian | ( | void * | pData,
|  | size_t | size |
| ) |  |  | `[protected, virtual, inherited]`

virtual void Ogre::Serializer::flipEndian | ( | void * | pData,
|  | size_t | size,
|  | size_t | count |
| ) |  |  | `[protected, virtual, inherited]`

virtual void Ogre::MeshSerializerImpl::flipFromLittleEndian | ( | void * | pData,
|  | size_t | vertexCount,
|  | size_t | vertexSize,
|  | const VertexDeclaration::VertexElementList & | elems |
| ) |  |  | `[protected, virtual]`

Flip an entire vertex buffer from little endian.

virtual void Ogre::Serializer::flipFromLittleEndian | ( | void * | pData,
|  | size_t | size,
|  | size_t | count = `1` |
| ) |  |  | `[protected, virtual, inherited]`

virtual void Ogre::MeshSerializerImpl::flipToLittleEndian | ( | void * | pData,
|  | size_t | vertexCount,
|  | size_t | vertexSize,
|  | const VertexDeclaration::VertexElementList & | elems |
| ) |  |  | `[protected, virtual]`

Flip an entire vertex buffer to little endian.

virtual void Ogre::Serializer::flipToLittleEndian | ( | void * | pData,
|  | size_t | size,
|  | size_t | count = `1` |
| ) |  |  | `[protected, virtual, inherited]`

void Ogre::MeshSerializerImpl::importMesh | ( | DataStreamPtr & | stream,
|  | Mesh * | pDest,
|  | MeshSerializerListener * | listener |
| ) |  |  |

Imports Mesh and (optionally) Material data from a .mesh file DataStream.

Remarks:
  This method imports data from a DataStream opened from a .mesh file and places it's contents into the Mesh object which is passed in.

Parameters:

  | stream | The DataStream holding the .mesh data. Must be initialised (pos at the start of the buffer).
  | pDest | Pointer to the Mesh object which will receive the data. Should be blank already.

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | `[inherited]`

Definition at line 95 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | void * |  |
| ) |  |  | `[inherited]`

Definition at line 101 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |  |
| ) |  |  | `[inherited]`

Definition at line 107 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |  |
| ) |  |  | `[inherited]`

Definition at line 118 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | `[inherited]`

Definition at line 112 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | `[inherited]`

Definition at line 72 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func |
| ) |  |  | `[inherited]`

operator new, with debug line info

Definition at line 67 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | void * | ptr |
| ) |  |  | `[inherited]`

placement operator new

Definition at line 78 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | `[inherited]`

Definition at line 90 of file OgreMemoryAllocatedObject.h.

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func |
| ) |  |  | `[inherited]`

array operator new, with debug line info

Definition at line 85 of file OgreMemoryAllocatedObject.h.

virtual void Ogre::MeshSerializerImpl::readAnimation | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readAnimations | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readAnimationTrack | ( | DataStreamPtr & | stream,
|  | Animation * | anim,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

void Ogre::Serializer::readBools | ( | DataStreamPtr & | stream,
|  | bool * | pDest,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::readBoundsInfo | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

virtual unsigned short Ogre::Serializer::readChunk | ( | DataStreamPtr & | stream | ) | `[protected, virtual, inherited]`

virtual void Ogre::MeshSerializerImpl::readEdgeList | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readEdgeListLodInfo | ( | DataStreamPtr & | stream,
|  | EdgeData * | edgeData |
| ) |  |  | `[protected, virtual]`

Reimplemented in Ogre::MeshSerializerImpl_v1_3.

virtual void Ogre::MeshSerializerImpl::readExtremes | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::Serializer::readFileHeader | ( | DataStreamPtr & | stream | ) | `[protected, virtual, inherited]`

void Ogre::Serializer::readFloats | ( | DataStreamPtr & | stream,
|  | float * | pDest,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

void Ogre::Serializer::readFloats | ( | DataStreamPtr & | stream,
|  | double * | pDest,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::readGeometry | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | VertexData * | dest |
| ) |  |  | `[protected, virtual]`

Reimplemented in Ogre::MeshSerializerImpl_v1_2.

virtual void Ogre::MeshSerializerImpl::readGeometryVertexBuffer | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | VertexData * | dest |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readGeometryVertexDeclaration | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | VertexData * | dest |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readGeometryVertexElement | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | VertexData * | dest |
| ) |  |  | `[protected, virtual]`

void Ogre::Serializer::readInts | ( | DataStreamPtr & | stream,
|  | uint32 * | pDest,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::readMesh | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | MeshSerializerListener * | listener |
| ) |  |  | `[protected, virtual]`

Reimplemented in Ogre::MeshSerializerImpl_v1_2.

virtual void Ogre::MeshSerializerImpl::readMeshBoneAssignment | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readMeshLodInfo | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

Reimplemented in Ogre::MeshSerializerImpl_v1_4.

virtual void Ogre::MeshSerializerImpl::readMeshLodUsageGenerated | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | unsigned short | lodNum,
|  | MeshLodUsage & | usage |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readMeshLodUsageManual | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | unsigned short | lodNum,
|  | MeshLodUsage & | usage |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readMorphKeyFrame | ( | DataStreamPtr & | stream,
|  | VertexAnimationTrack * | track |
| ) |  |  | `[protected, virtual]`

void Ogre::Serializer::readObject | ( | DataStreamPtr & | stream,
|  | Quaternion & | pDest |
| ) |  |  | `[protected, inherited]`

void Ogre::Serializer::readObject | ( | DataStreamPtr & | stream,
|  | Vector3 & | pDest |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::readPose | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readPoseKeyFrame | ( | DataStreamPtr & | stream,
|  | VertexAnimationTrack * | track |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readPoses | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

void Ogre::Serializer::readShorts | ( | DataStreamPtr & | stream,
|  | uint16 * | pDest,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::readSkeletonLink | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | MeshSerializerListener * | listener |
| ) |  |  | `[protected, virtual]`

String Ogre::Serializer::readString | ( | DataStreamPtr & | stream,
|  | size_t | numChars |
| ) |  |  | `[protected, inherited]`

String Ogre::Serializer::readString | ( | DataStreamPtr & | stream | ) | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::readSubMesh | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | MeshSerializerListener * | listener |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readSubMeshBoneAssignment | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | SubMesh * | sub |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readSubMeshNameTable | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readSubMeshOperation | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | SubMesh * | sub |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readSubMeshTextureAlias | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | SubMesh * | sub |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::readTextureLayer | ( | DataStreamPtr & | stream,
|  | Mesh * | pMesh,
|  | MaterialPtr & | pMat |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeAnimation | ( | const Animation * | anim | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeAnimations | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeAnimationTrack | ( | const VertexAnimationTrack * | track | ) | `[protected, virtual]`

void Ogre::Serializer::writeBools | ( | const bool *const | pLong,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::writeBoundsInfo | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual void Ogre::Serializer::writeChunkHeader | ( | uint16 | id,
|  | size_t | size |
| ) |  |  | `[protected, virtual, inherited]`

void Ogre::Serializer::writeData | ( | const void *const | buf,
|  | size_t | size,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::writeEdgeList | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeExtremes | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual void Ogre::Serializer::writeFileHeader | ( | void |  | ) | `[protected, virtual, inherited]`

void Ogre::Serializer::writeFloats | ( | const float *const | pfloat,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

void Ogre::Serializer::writeFloats | ( | const double *const | pfloat,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::writeGeometry | ( | const VertexData * | pGeom | ) | `[protected, virtual]`

void Ogre::Serializer::writeInts | ( | const uint32 *const | pInt,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::writeLodInfo | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeLodSummary | ( | unsigned short | numLevels,
|  | bool | manual,
|  | const LodStrategy * | strategy |
| ) |  |  | `[protected, virtual]`

Reimplemented in Ogre::MeshSerializerImpl_v1_4.

virtual void Ogre::MeshSerializerImpl::writeLodUsageGenerated | ( | const Mesh * | pMesh,
|  | const MeshLodUsage & | usage,
|  | unsigned short | lodNum |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeLodUsageManual | ( | const MeshLodUsage & | usage | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeMesh | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeMeshBoneAssignment | ( | const VertexBoneAssignment & | assign | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeMorphKeyframe | ( | const VertexMorphKeyFrame * | kf,
|  | size_t | vertexCount |
| ) |  |  | `[protected, virtual]`

void Ogre::Serializer::writeObject | ( | const Vector3 & | vec | ) | `[protected, inherited]`

void Ogre::Serializer::writeObject | ( | const Quaternion & | q | ) | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::writePose | ( | const Pose * | pose | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writePoseKeyframe | ( | const VertexPoseKeyFrame * | kf | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writePoseKeyframePoseRef | ( | const VertexPoseKeyFrame::PoseRef & | poseRef | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writePoses | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

void Ogre::Serializer::writeShorts | ( | const uint16 *const | pShort,
|  | size_t | count |
| ) |  |  | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::writeSkeletonLink | ( | const String & | skelName | ) | `[protected, virtual]`

void Ogre::Serializer::writeString | ( | const String & | string | ) | `[protected, inherited]`

virtual void Ogre::MeshSerializerImpl::writeSubMesh | ( | const SubMesh * | s | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeSubMeshBoneAssignment | ( | const VertexBoneAssignment & | assign | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeSubMeshExtremes | ( | unsigned short | idx,
|  | const SubMesh * | s |
| ) |  |  | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeSubMeshNameTable | ( | const Mesh * | pMesh | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeSubMeshOperation | ( | const SubMesh * | s | ) | `[protected, virtual]`

virtual void Ogre::MeshSerializerImpl::writeSubMeshTextureAliases | ( | const SubMesh * | s | ) | `[protected, virtual]`

## Member Data Documentation

uint32 Ogre::Serializer::mCurrentstreamLen`[protected, inherited]`

Definition at line 69 of file OgreSerializer.h.

bool Ogre::Serializer::mFlipEndian`[protected, inherited]`

Definition at line 72 of file OgreSerializer.h.

FILE* Ogre::Serializer::mpfFile`[protected, inherited]`

Definition at line 70 of file OgreSerializer.h.

String Ogre::Serializer::mVersion`[protected, inherited]`

Definition at line 71 of file OgreSerializer.h.

The documentation for this class was generated from the following file:

- OgreMeshSerializerImpl.h

Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Nov 3 2010 19:24:57