OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::MeshSerializerImpl_v1_3 Class Reference

Class for providing backwards-compatibility for loading version 1.3 of the .mesh format. More...

#include <OgreMeshSerializerImpl.h>

+ Inheritance diagram for Ogre::MeshSerializerImpl_v1_3:
+ Collaboration diagram for Ogre::MeshSerializerImpl_v1_3:

Public Types

enum  Endian { ENDIAN_NATIVE, ENDIAN_BIG, ENDIAN_LITTLE }
 The endianness of written files. More...
 

Public Member Functions

 MeshSerializerImpl_v1_3 ()
 
 ~MeshSerializerImpl_v1_3 ()
 
void exportMesh (const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
 Exports a mesh to the file specified. More...
 
void importMesh (DataStreamPtr &stream, Mesh *pDest, MeshSerializerListener *listener)
 Imports Mesh and (optionally) Material data from a .mesh 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)
 

Protected Member Functions

virtual void backpedalChunkHeader (DataStreamPtr &stream)
 
virtual size_t calcAnimationSize (const Animation *anim)
 
virtual size_t calcAnimationsSize (const Mesh *pMesh)
 
virtual size_t calcAnimationTrackSize (const VertexAnimationTrack *track)
 
virtual size_t calcBoneAssignmentSize (void)
 
virtual size_t calcBoundsInfoSize (const Mesh *pMesh)
 
virtual size_t calcChunkHeaderSize ()
 
virtual size_t calcEdgeGroupSize (const EdgeData::EdgeGroup &group)
 
virtual size_t calcEdgeListLodSize (const EdgeData *edgeData, bool isManual)
 
virtual size_t calcEdgeListSize (const Mesh *pMesh)
 
virtual size_t calcExtremesSize (const Mesh *pMesh)
 
virtual size_t calcGeometrySize (const VertexData *pGeom)
 
virtual size_t calcLodLevelSize (const Mesh *pMesh)
 
virtual size_t calcLodUsageGeneratedSize (const Mesh *pMesh, const MeshLodUsage &usage, unsigned short lodNum)
 
virtual size_t calcLodUsageGeneratedSubmeshSize (const SubMesh *submesh, unsigned short lodNum)
 
virtual size_t calcLodUsageManualSize (const MeshLodUsage &usage)
 
virtual size_t calcMeshSize (const Mesh *pMesh)
 
size_t calcMorphKeyframeSize (const VertexMorphKeyFrame *kf, size_t vertexCount)
 
virtual size_t calcPoseKeyframePoseRefSize (void)
 
virtual size_t calcPoseKeyframeSize (const VertexPoseKeyFrame *kf)
 
size_t calcPoseSize (const Pose *pose)
 
virtual size_t calcPosesSize (const Mesh *pMesh)
 
virtual size_t calcPoseVertexSize (const Pose *pose)
 
size_t calcPoseVertexSize (void)
 
virtual size_t calcSkeletonLinkSize (const String &skelName)
 
size_t calcStringSize (const String &string)
 
virtual size_t calcSubMeshExtremesSize (unsigned short idx, const SubMesh *s)
 
virtual size_t calcSubMeshNameTableSize (const Mesh *pMesh)
 
virtual size_t calcSubMeshOperationSize (const SubMesh *pSub)
 
virtual size_t calcSubMeshSize (const SubMesh *pSub)
 
virtual size_t calcSubMeshTextureAliasesSize (const SubMesh *pSub)
 
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 enableValidation ()
 This function can be overloaded to disable validation in debug builds. More...
 
virtual void flipEndian (void *pData, size_t size, size_t count)
 
virtual void flipEndian (void *pData, size_t size)
 
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. More...
 
virtual void flipFromLittleEndian (void *pData, size_t size, size_t count=1)
 
virtual void flipFromLittleEndian (void *pData, size_t vertexCount, size_t vertexSize, const VertexDeclaration::VertexElementList &elems)
 Flip an entire vertex buffer from little endian. More...
 
virtual void flipToLittleEndian (void *pData, size_t size, size_t count=1)
 
virtual void flipToLittleEndian (void *pData, size_t vertexCount, size_t vertexSize, const VertexDeclaration::VertexElementList &elems)
 Flip an entire vertex buffer to little endian. More...
 
virtual bool isLodMixed (const Mesh *pMesh)
 
virtual void popInnerChunk (const DataStreamPtr &stream)
 
virtual void pushInnerChunk (const DataStreamPtr &stream)
 
virtual void readAnimation (DataStreamPtr &stream, Mesh *pMesh)
 
virtual void readAnimations (DataStreamPtr &stream, Mesh *pMesh)
 
virtual void readAnimationTrack (DataStreamPtr &stream, Animation *anim, Mesh *pMesh)
 
void readBools (DataStreamPtr &stream, bool *pDest, size_t count)
 
virtual void readBoundsInfo (DataStreamPtr &stream, Mesh *pMesh)
 
virtual unsigned short readChunk (DataStreamPtr &stream)
 
virtual void readEdgeList (DataStreamPtr &stream, Mesh *pMesh)
 
virtual void readEdgeListLodInfo (DataStreamPtr &stream, EdgeData *edgeData)
 
virtual void readExtremes (DataStreamPtr &stream, Mesh *pMesh)
 
virtual void readFileHeader (DataStreamPtr &stream)
 
void readFloats (DataStreamPtr &stream, float *pDest, size_t count)
 
void readFloats (DataStreamPtr &stream, double *pDest, size_t count)
 
virtual void readGeometry (DataStreamPtr &stream, Mesh *pMesh, VertexData *dest)
 
virtual void readGeometryVertexBuffer (DataStreamPtr &stream, Mesh *pMesh, VertexData *dest)
 
virtual void readGeometryVertexDeclaration (DataStreamPtr &stream, Mesh *pMesh, VertexData *dest)
 
virtual void readGeometryVertexElement (DataStreamPtr &stream, Mesh *pMesh, VertexData *dest)
 
void readInts (DataStreamPtr &stream, uint32 *pDest, size_t count)
 
virtual void readMesh (DataStreamPtr &stream, Mesh *pMesh, MeshSerializerListener *listener)
 
virtual void readMeshBoneAssignment (DataStreamPtr &stream, Mesh *pMesh)
 
virtual void readMeshLodLevel (DataStreamPtr &stream, Mesh *pMesh)
 
virtual void readMeshLodUsageGenerated (DataStreamPtr &stream, Mesh *pMesh, unsigned short lodNum, MeshLodUsage &usage)
 
virtual void readMeshLodUsageManual (DataStreamPtr &stream, Mesh *pMesh, unsigned short lodNum, MeshLodUsage &usage)
 
void readMorphKeyFrame (DataStreamPtr &stream, VertexAnimationTrack *track)
 
void readObject (DataStreamPtr &stream, Vector3 &pDest)
 
void readObject (DataStreamPtr &stream, Quaternion &pDest)
 
void readPose (DataStreamPtr &stream, Mesh *pMesh)
 
virtual void readPoseKeyFrame (DataStreamPtr &stream, VertexAnimationTrack *track)
 
virtual void readPoses (DataStreamPtr &stream, Mesh *pMesh)
 
void readShorts (DataStreamPtr &stream, uint16 *pDest, size_t count)
 
virtual void readSkeletonLink (DataStreamPtr &stream, Mesh *pMesh, MeshSerializerListener *listener)
 
String readString (DataStreamPtr &stream)
 
String readString (DataStreamPtr &stream, size_t numChars)
 
virtual void readSubMesh (DataStreamPtr &stream, Mesh *pMesh, MeshSerializerListener *listener)
 
virtual void readSubMeshBoneAssignment (DataStreamPtr &stream, Mesh *pMesh, SubMesh *sub)
 
virtual void readSubMeshNameTable (DataStreamPtr &stream, Mesh *pMesh)
 
virtual void readSubMeshOperation (DataStreamPtr &stream, Mesh *pMesh, SubMesh *sub)
 
virtual void readSubMeshTextureAlias (DataStreamPtr &stream, Mesh *pMesh, SubMesh *sub)
 
virtual void readTextureLayer (DataStreamPtr &stream, Mesh *pMesh, MaterialPtr &pMat)
 
virtual void reorganiseTriangles (EdgeData *edgeData)
 Reorganise triangles of the edge list to group by vertex set. More...
 
virtual void writeAnimation (const Animation *anim)
 
virtual void writeAnimations (const Mesh *pMesh)
 
virtual void writeAnimationTrack (const VertexAnimationTrack *track)
 
void writeBools (const bool *const pLong, size_t count)
 
virtual void writeBoundsInfo (const Mesh *pMesh)
 
virtual void writeChunkHeader (uint16 id, size_t size)
 
void writeData (const void *const buf, size_t size, size_t count)
 
virtual void writeEdgeList (const Mesh *pMesh)
 
virtual void writeExtremes (const Mesh *pMesh)
 
virtual void writeFileHeader (void)
 Default to native endian, derive from header. More...
 
void writeFloats (const float *const pfloat, size_t count)
 
void writeFloats (const double *const pfloat, size_t count)
 
virtual void writeGeometry (const VertexData *pGeom)
 
void writeInts (const uint32 *const pInt, size_t count)
 
virtual void writeLodLevel (const Mesh *pMesh)
 
virtual void writeLodUsageGenerated (const Mesh *pMesh, const MeshLodUsage &usage, unsigned short lodNum)
 
virtual void writeLodUsageGeneratedSubmesh (const SubMesh *submesh, unsigned short lodNum)
 
virtual void writeLodUsageManual (const MeshLodUsage &usage)
 
virtual void writeMesh (const Mesh *pMesh)
 
virtual void writeMeshBoneAssignment (const VertexBoneAssignment &assign)
 
void writeMorphKeyframe (const VertexMorphKeyFrame *kf, size_t vertexCount)
 
void writeObject (const Vector3 &vec)
 
void writeObject (const Quaternion &q)
 
void writePose (const Pose *pose)
 
virtual void writePoseKeyframe (const VertexPoseKeyFrame *kf)
 
virtual void writePoseKeyframePoseRef (const VertexPoseKeyFrame::PoseRef &poseRef)
 
virtual void writePoses (const Mesh *pMesh)
 
void writeShorts (const uint16 *const pShort, size_t count)
 
virtual void writeSkeletonLink (const String &skelName)
 
void writeString (const String &string)
 
virtual void writeSubMesh (const SubMesh *s)
 
virtual void writeSubMeshBoneAssignment (const VertexBoneAssignment &assign)
 
virtual void writeSubMeshExtremes (unsigned short idx, const SubMesh *s)
 
virtual void writeSubMeshNameTable (const Mesh *pMesh)
 
virtual void writeSubMeshOperation (const SubMesh *s)
 
virtual void writeSubMeshTextureAliases (const SubMesh *s)
 

Protected Attributes

ushort exportedLodCount
 
uint32 mCurrentstreamLen
 
bool mFlipEndian
 
DataStreamPtr mStream
 
String mVersion
 

Detailed Description

Class for providing backwards-compatibility for loading version 1.3 of the .mesh format.

This mesh format was used from Ogre v1.0 (and some pre-releases)

Definition at line 261 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 59 of file OgreSerializer.h.

Constructor & Destructor Documentation

Ogre::MeshSerializerImpl_v1_3::MeshSerializerImpl_v1_3 ( )
Ogre::MeshSerializerImpl_v1_3::~MeshSerializerImpl_v1_3 ( )

Member Function Documentation

virtual void Ogre::Serializer::backpedalChunkHeader ( DataStreamPtr stream)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcAnimationSize ( const Animation anim)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcAnimationsSize ( const Mesh pMesh)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcAnimationTrackSize ( const VertexAnimationTrack track)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcBoneAssignmentSize ( void  )
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcBoundsInfoSize ( const Mesh pMesh)
protectedvirtualinherited
virtual size_t Ogre::Serializer::calcChunkHeaderSize ( )
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl_v1_3::calcEdgeGroupSize ( const EdgeData::EdgeGroup group)
protectedvirtual

Reimplemented from Ogre::MeshSerializerImpl.

virtual size_t Ogre::MeshSerializerImpl_v1_3::calcEdgeListLodSize ( const EdgeData edgeData,
bool  isManual 
)
protectedvirtual

Reimplemented from Ogre::MeshSerializerImpl.

virtual size_t Ogre::MeshSerializerImpl::calcEdgeListSize ( const Mesh pMesh)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcExtremesSize ( const Mesh pMesh)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcGeometrySize ( const VertexData pGeom)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl_v1_4::calcLodLevelSize ( const Mesh pMesh)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl_v1_8.

virtual size_t Ogre::MeshSerializerImpl_v1_8::calcLodUsageGeneratedSize ( const Mesh pMesh,
const MeshLodUsage usage,
unsigned short  lodNum 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual size_t Ogre::MeshSerializerImpl_v1_8::calcLodUsageGeneratedSubmeshSize ( const SubMesh submesh,
unsigned short  lodNum 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual size_t Ogre::MeshSerializerImpl_v1_8::calcLodUsageManualSize ( const MeshLodUsage usage)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual size_t Ogre::MeshSerializerImpl::calcMeshSize ( const Mesh pMesh)
protectedvirtualinherited
size_t Ogre::MeshSerializerImpl_v1_41::calcMorphKeyframeSize ( const VertexMorphKeyFrame kf,
size_t  vertexCount 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual size_t Ogre::MeshSerializerImpl::calcPoseKeyframePoseRefSize ( void  )
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcPoseKeyframeSize ( const VertexPoseKeyFrame kf)
protectedvirtualinherited
size_t Ogre::MeshSerializerImpl_v1_41::calcPoseSize ( const Pose pose)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual size_t Ogre::MeshSerializerImpl::calcPosesSize ( const Mesh pMesh)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcPoseVertexSize ( const Pose pose)
protectedvirtualinherited
size_t Ogre::MeshSerializerImpl_v1_41::calcPoseVertexSize ( void  )
protectedinherited
virtual size_t Ogre::MeshSerializerImpl::calcSkeletonLinkSize ( const String skelName)
protectedvirtualinherited
size_t Ogre::Serializer::calcStringSize ( const String string)
protectedinherited
virtual size_t Ogre::MeshSerializerImpl::calcSubMeshExtremesSize ( unsigned short  idx,
const SubMesh s 
)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcSubMeshNameTableSize ( const Mesh pMesh)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcSubMeshOperationSize ( const SubMesh pSub)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcSubMeshSize ( const SubMesh pSub)
protectedvirtualinherited
virtual size_t Ogre::MeshSerializerImpl::calcSubMeshTextureAliasesSize ( const SubMesh pSub)
protectedvirtualinherited
virtual void Ogre::Serializer::determineEndianness ( DataStreamPtr stream)
protectedvirtualinherited

Determine the endianness of the incoming stream compared to native.

virtual void Ogre::Serializer::determineEndianness ( Endian  requestedEndian)
protectedvirtualinherited

Determine the endianness to write with based on option.

virtual void Ogre::MeshSerializerImpl_v1_8::enableValidation ( )
protectedvirtualinherited

This function can be overloaded to disable validation in debug builds.

Reimplemented from Ogre::MeshSerializerImpl.

void Ogre::MeshSerializerImpl::exportMesh ( const Mesh pMesh,
DataStreamPtr  stream,
Endian  endianMode = ENDIAN_NATIVE 
)
inherited

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
pMeshPointer to the Mesh to export
streamThe destination stream
endianModeThe endian mode for the written file
virtual void Ogre::Serializer::flipEndian ( void *  pData,
size_t  size,
size_t  count 
)
protectedvirtualinherited
virtual void Ogre::Serializer::flipEndian ( void *  pData,
size_t  size 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::flipEndian ( void *  pData,
size_t  vertexCount,
size_t  vertexSize,
const VertexDeclaration::VertexElementList elems 
)
protectedvirtualinherited

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

virtual void Ogre::Serializer::flipFromLittleEndian ( void *  pData,
size_t  size,
size_t  count = 1 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::flipFromLittleEndian ( void *  pData,
size_t  vertexCount,
size_t  vertexSize,
const VertexDeclaration::VertexElementList elems 
)
protectedvirtualinherited

Flip an entire vertex buffer from little endian.

virtual void Ogre::Serializer::flipToLittleEndian ( void *  pData,
size_t  size,
size_t  count = 1 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::flipToLittleEndian ( void *  pData,
size_t  vertexCount,
size_t  vertexSize,
const VertexDeclaration::VertexElementList elems 
)
protectedvirtualinherited

Flip an entire vertex buffer to little endian.

void Ogre::MeshSerializerImpl::importMesh ( DataStreamPtr stream,
Mesh pDest,
MeshSerializerListener listener 
)
inherited

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
streamThe DataStream holding the .mesh data. Must be initialised (pos at the start of the buffer).
pDestPointer to the Mesh object which will receive the data. Should be blank already.
virtual bool Ogre::MeshSerializerImpl_v1_8::isLodMixed ( const Mesh pMesh)
protectedvirtualinherited
template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

virtual void Ogre::Serializer::popInnerChunk ( const DataStreamPtr stream)
protectedvirtualinherited
virtual void Ogre::Serializer::pushInnerChunk ( const DataStreamPtr stream)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readAnimation ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readAnimations ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readAnimationTrack ( DataStreamPtr stream,
Animation anim,
Mesh pMesh 
)
protectedvirtualinherited
void Ogre::Serializer::readBools ( DataStreamPtr stream,
bool *  pDest,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl::readBoundsInfo ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited
virtual unsigned short Ogre::Serializer::readChunk ( DataStreamPtr stream)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readEdgeList ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl_v1_3::readEdgeListLodInfo ( DataStreamPtr stream,
EdgeData edgeData 
)
protectedvirtual

Reimplemented from Ogre::MeshSerializerImpl.

virtual void Ogre::MeshSerializerImpl::readExtremes ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited
virtual void Ogre::Serializer::readFileHeader ( DataStreamPtr stream)
protectedvirtualinherited

Reimplemented in Ogre::SkeletonSerializer.

void Ogre::Serializer::readFloats ( DataStreamPtr stream,
float *  pDest,
size_t  count 
)
protectedinherited
void Ogre::Serializer::readFloats ( DataStreamPtr stream,
double *  pDest,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl::readGeometry ( DataStreamPtr stream,
Mesh pMesh,
VertexData dest 
)
protectedvirtualinherited

Reimplemented in Ogre::MeshSerializerImpl_v1_2.

virtual void Ogre::MeshSerializerImpl::readGeometryVertexBuffer ( DataStreamPtr stream,
Mesh pMesh,
VertexData dest 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readGeometryVertexDeclaration ( DataStreamPtr stream,
Mesh pMesh,
VertexData dest 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readGeometryVertexElement ( DataStreamPtr stream,
Mesh pMesh,
VertexData dest 
)
protectedvirtualinherited
void Ogre::Serializer::readInts ( DataStreamPtr stream,
uint32 pDest,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl::readMesh ( DataStreamPtr stream,
Mesh pMesh,
MeshSerializerListener listener 
)
protectedvirtualinherited

Reimplemented in Ogre::MeshSerializerImpl_v1_2.

virtual void Ogre::MeshSerializerImpl::readMeshBoneAssignment ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl_v1_4::readMeshLodLevel ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl_v1_8.

virtual void Ogre::MeshSerializerImpl_v1_8::readMeshLodUsageGenerated ( DataStreamPtr stream,
Mesh pMesh,
unsigned short  lodNum,
MeshLodUsage usage 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual void Ogre::MeshSerializerImpl_v1_8::readMeshLodUsageManual ( DataStreamPtr stream,
Mesh pMesh,
unsigned short  lodNum,
MeshLodUsage usage 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

void Ogre::MeshSerializerImpl_v1_41::readMorphKeyFrame ( DataStreamPtr stream,
VertexAnimationTrack track 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

void Ogre::Serializer::readObject ( DataStreamPtr stream,
Vector3 pDest 
)
protectedinherited
void Ogre::Serializer::readObject ( DataStreamPtr stream,
Quaternion pDest 
)
protectedinherited
void Ogre::MeshSerializerImpl_v1_41::readPose ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual void Ogre::MeshSerializerImpl::readPoseKeyFrame ( DataStreamPtr stream,
VertexAnimationTrack track 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readPoses ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited
void Ogre::Serializer::readShorts ( DataStreamPtr stream,
uint16 pDest,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl::readSkeletonLink ( DataStreamPtr stream,
Mesh pMesh,
MeshSerializerListener listener 
)
protectedvirtualinherited
String Ogre::Serializer::readString ( DataStreamPtr stream)
protectedinherited
String Ogre::Serializer::readString ( DataStreamPtr stream,
size_t  numChars 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl::readSubMesh ( DataStreamPtr stream,
Mesh pMesh,
MeshSerializerListener listener 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readSubMeshBoneAssignment ( DataStreamPtr stream,
Mesh pMesh,
SubMesh sub 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readSubMeshNameTable ( DataStreamPtr stream,
Mesh pMesh 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readSubMeshOperation ( DataStreamPtr stream,
Mesh pMesh,
SubMesh sub 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readSubMeshTextureAlias ( DataStreamPtr stream,
Mesh pMesh,
SubMesh sub 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::readTextureLayer ( DataStreamPtr stream,
Mesh pMesh,
MaterialPtr pMat 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl_v1_3::reorganiseTriangles ( EdgeData edgeData)
protectedvirtual

Reorganise triangles of the edge list to group by vertex set.

virtual void Ogre::MeshSerializerImpl::writeAnimation ( const Animation anim)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writeAnimations ( const Mesh pMesh)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writeAnimationTrack ( const VertexAnimationTrack track)
protectedvirtualinherited
void Ogre::Serializer::writeBools ( const bool *const  pLong,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl::writeBoundsInfo ( const Mesh pMesh)
protectedvirtualinherited
virtual void Ogre::Serializer::writeChunkHeader ( uint16  id,
size_t  size 
)
protectedvirtualinherited
void Ogre::Serializer::writeData ( const void *const  buf,
size_t  size,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl_v1_3::writeEdgeList ( const Mesh pMesh)
protectedvirtual

Reimplemented from Ogre::MeshSerializerImpl.

virtual void Ogre::MeshSerializerImpl::writeExtremes ( const Mesh pMesh)
protectedvirtualinherited
virtual void Ogre::Serializer::writeFileHeader ( void  )
protectedvirtualinherited

Default to native endian, derive from header.

void Ogre::Serializer::writeFloats ( const float *const  pfloat,
size_t  count 
)
protectedinherited
void Ogre::Serializer::writeFloats ( const double *const  pfloat,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl::writeGeometry ( const VertexData pGeom)
protectedvirtualinherited
void Ogre::Serializer::writeInts ( const uint32 *const  pInt,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl_v1_4::writeLodLevel ( const Mesh pMesh)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl_v1_8.

virtual void Ogre::MeshSerializerImpl_v1_4::writeLodUsageGenerated ( const Mesh pMesh,
const MeshLodUsage usage,
unsigned short  lodNum 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl_v1_8.

virtual void Ogre::MeshSerializerImpl_v1_8::writeLodUsageGeneratedSubmesh ( const SubMesh submesh,
unsigned short  lodNum 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual void Ogre::MeshSerializerImpl_v1_8::writeLodUsageManual ( const MeshLodUsage usage)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual void Ogre::MeshSerializerImpl::writeMesh ( const Mesh pMesh)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writeMeshBoneAssignment ( const VertexBoneAssignment assign)
protectedvirtualinherited
void Ogre::MeshSerializerImpl_v1_41::writeMorphKeyframe ( const VertexMorphKeyFrame kf,
size_t  vertexCount 
)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

void Ogre::Serializer::writeObject ( const Vector3 vec)
protectedinherited
void Ogre::Serializer::writeObject ( const Quaternion q)
protectedinherited
void Ogre::MeshSerializerImpl_v1_41::writePose ( const Pose pose)
protectedvirtualinherited

Reimplemented from Ogre::MeshSerializerImpl.

virtual void Ogre::MeshSerializerImpl::writePoseKeyframe ( const VertexPoseKeyFrame kf)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writePoseKeyframePoseRef ( const VertexPoseKeyFrame::PoseRef poseRef)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writePoses ( const Mesh pMesh)
protectedvirtualinherited
void Ogre::Serializer::writeShorts ( const uint16 *const  pShort,
size_t  count 
)
protectedinherited
virtual void Ogre::MeshSerializerImpl::writeSkeletonLink ( const String skelName)
protectedvirtualinherited
void Ogre::Serializer::writeString ( const String string)
protectedinherited
virtual void Ogre::MeshSerializerImpl::writeSubMesh ( const SubMesh s)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writeSubMeshBoneAssignment ( const VertexBoneAssignment assign)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writeSubMeshExtremes ( unsigned short  idx,
const SubMesh s 
)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writeSubMeshNameTable ( const Mesh pMesh)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writeSubMeshOperation ( const SubMesh s)
protectedvirtualinherited
virtual void Ogre::MeshSerializerImpl::writeSubMeshTextureAliases ( const SubMesh s)
protectedvirtualinherited

Member Data Documentation

ushort Ogre::MeshSerializerImpl::exportedLodCount
protectedinherited

Definition at line 189 of file OgreMeshSerializerImpl.h.

uint32 Ogre::Serializer::mCurrentstreamLen
protectedinherited

Definition at line 72 of file OgreSerializer.h.

bool Ogre::Serializer::mFlipEndian
protectedinherited

Definition at line 75 of file OgreSerializer.h.

DataStreamPtr Ogre::Serializer::mStream
protectedinherited

Definition at line 73 of file OgreSerializer.h.

String Ogre::Serializer::mVersion
protectedinherited

Definition at line 74 of file OgreSerializer.h.


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