Tinman  1.0
Public Member Functions | Private Attributes | List of all members
MeshStrider Class Reference

Shares vertices/indexes between Ogre and Bullet. More...

#include <meshstrider.h>

Inheritance diagram for MeshStrider:
Inheritance graph
[legend]
Collaboration diagram for MeshStrider:
Collaboration graph
[legend]

Public Member Functions

 MeshStrider (Ogre::Mesh *m=0)
 
void set (Ogre::Mesh *m)
 
virtual int getNumSubParts () const
 
virtual void getLockedVertexIndexBase (unsigned char **vertexbase, int &numverts, PHY_ScalarType &type, int &stride, unsigned char **indexbase, int &indexstride, int &numfaces, PHY_ScalarType &indicestype, int subpart=0)
 
virtual void getLockedReadOnlyVertexIndexBase (const unsigned char **vertexbase, int &numverts, PHY_ScalarType &type, int &stride, const unsigned char **indexbase, int &indexstride, int &numfaces, PHY_ScalarType &indicestype, int subpart=0) const
 
virtual void unLockVertexBase (int subpart)
 
virtual void unLockReadOnlyVertexBase (int subpart) const
 
virtual void preallocateVertices (int numverts)
 
virtual void preallocateIndices (int numindices)
 

Private Attributes

Ogre::Mesh * mMesh
 

Detailed Description

Shares vertices/indexes between Ogre and Bullet.

Constructor & Destructor Documentation

MeshStrider::MeshStrider ( Ogre::Mesh *  m = 0)
inline

Member Function Documentation

void MeshStrider::getLockedReadOnlyVertexIndexBase ( const unsigned char **  vertexbase,
int &  numverts,
PHY_ScalarType &  type,
int &  stride,
const unsigned char **  indexbase,
int &  indexstride,
int &  numfaces,
PHY_ScalarType &  indicestype,
int  subpart = 0 
) const
virtual
void MeshStrider::getLockedVertexIndexBase ( unsigned char **  vertexbase,
int &  numverts,
PHY_ScalarType &  type,
int &  stride,
unsigned char **  indexbase,
int &  indexstride,
int &  numfaces,
PHY_ScalarType &  indicestype,
int  subpart = 0 
)
virtual
int MeshStrider::getNumSubParts ( ) const
virtual
void MeshStrider::preallocateIndices ( int  numindices)
virtual
void MeshStrider::preallocateVertices ( int  numverts)
virtual
void MeshStrider::set ( Ogre::Mesh *  m)
inline
void MeshStrider::unLockReadOnlyVertexBase ( int  subpart) const
virtual
void MeshStrider::unLockVertexBase ( int  subpart)
virtual

Member Data Documentation

Ogre::Mesh* MeshStrider::mMesh
private

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