Logo Search packages:      
Sourcecode: blender version File versions

btStridingMeshInterface Class Reference

#include <btStridingMeshInterface.h>

Inheritance diagram for btStridingMeshInterface:

btTriangleIndexVertexArray btTriangleMesh

List of all members.

Detailed Description

btStridingMeshInterface is the interface class for high performance access to triangle meshes It allows for sharing graphics and collision meshes. Also it provides locking/unlocking of graphics meshes that are in gpu memory.

Definition at line 34 of file btStridingMeshInterface.h.

Public Member Functions

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 =0
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)=0
virtual int getNumSubParts () const =0
const btVector3getScaling () const
void InternalProcessAllTriangles (btInternalTriangleIndexCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual void preallocateIndices (int numindices)=0
virtual void preallocateVertices (int numverts)=0
void setScaling (const btVector3 &scaling)
virtual void unLockReadOnlyVertexBase (int subpart) const =0
virtual void unLockVertexBase (int subpart)=0

Protected Attributes

btVector3 m_scaling

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

Generated by  Doxygen 1.6.0   Back to index