Logo Search packages:      
Sourcecode: blender version File versions  Download package

btGImpactMeshShapePart::TrimeshPrimitiveManager Class Reference

#include <btGImpactShape.h>

Inheritance diagram for btGImpactMeshShapePart::TrimeshPrimitiveManager:


List of all members.

Detailed Description

Trimesh primitive manager.

Manages the info from btStridingMeshInterface object and controls the Lock/Unlock mechanism

Definition at line 520 of file btGImpactShape.h.

Public Member Functions

SIMD_FORCE_INLINE void get_bullet_triangle (int prim_index, btTriangleShapeEx &triangle) const
SIMD_FORCE_INLINE void get_indices (int face_index, int &i0, int &i1, int &i2) const
virtual void get_primitive_box (int prim_index, btAABB &primbox) const
virtual int get_primitive_count () const
virtual void get_primitive_triangle (int prim_index, btPrimitiveTriangle &triangle) const
 retrieves only the points of the triangle, and the collision margin
SIMD_FORCE_INLINE void get_vertex (int vertex_index, btVector3 &vertex) const
SIMD_FORCE_INLINE int get_vertex_count () const
virtual bool is_trimesh () const
 determines if this manager consist on only triangles, which special case will be optimized
void lock ()
 TrimeshPrimitiveManager (btStridingMeshInterface *meshInterface, int part)
 TrimeshPrimitiveManager (const TrimeshPrimitiveManager &manager)
void unlock ()

Public Attributes

const unsigned char * indexbase
int indexstride
PHY_ScalarType indicestype
int m_lock_count
btScalar m_margin
int m_part
btVector3 m_scale
int numfaces
int numverts
int stride
PHY_ScalarType type
const unsigned char * vertexbase

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

Generated by  Doxygen 1.6.0   Back to index