btGImpactMeshShapePart::TrimeshPrimitiveManager Class Reference

Trimesh primitive manager. More...

#include <btGImpactShape.h>

List of all members.

Public Member Functions

 TrimeshPrimitiveManager ()
 TrimeshPrimitiveManager (const TrimeshPrimitiveManager &manager)
 TrimeshPrimitiveManager (btStridingMeshInterface *meshInterface, int part)
void lock ()
void unlock ()
SIMD_FORCE_INLINE bool is_trimesh () const
SIMD_FORCE_INLINE GUINT get_primitive_count () const
SIMD_FORCE_INLINE GUINT get_vertex_count () const
SIMD_FORCE_INLINE void get_indices (GUINT face_index, GUINT &i0, GUINT &i1, GUINT &i2) const
SIMD_FORCE_INLINE void get_vertex (GUINT vertex_index, btVector3 &vertex) const
SIMD_FORCE_INLINE void get_primitive_box (GUINT prim_index, GIM_AABB &primbox) const
SIMD_FORCE_INLINE void get_primitive_triangle (GUINT prim_index, GIM_TRIANGLE &triangle) const
SIMD_FORCE_INLINE void get_bullet_triangle (GUINT prim_index, btTriangleShapeEx &triangle) const

Public Attributes

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


Detailed Description

Trimesh primitive manager.

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


Constructor & Destructor Documentation

btGImpactMeshShapePart::TrimeshPrimitiveManager::TrimeshPrimitiveManager (  )  [inline]

btGImpactMeshShapePart::TrimeshPrimitiveManager::TrimeshPrimitiveManager ( const TrimeshPrimitiveManager manager  )  [inline]

btGImpactMeshShapePart::TrimeshPrimitiveManager::TrimeshPrimitiveManager ( btStridingMeshInterface *  meshInterface,
int  part 
) [inline]


Member Function Documentation

void btGImpactMeshShapePart::TrimeshPrimitiveManager::lock (  )  [inline]

void btGImpactMeshShapePart::TrimeshPrimitiveManager::unlock (  )  [inline]

SIMD_FORCE_INLINE bool btGImpactMeshShapePart::TrimeshPrimitiveManager::is_trimesh (  )  const [inline]

SIMD_FORCE_INLINE GUINT btGImpactMeshShapePart::TrimeshPrimitiveManager::get_primitive_count (  )  const [inline]

SIMD_FORCE_INLINE GUINT btGImpactMeshShapePart::TrimeshPrimitiveManager::get_vertex_count (  )  const [inline]

SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_indices ( GUINT  face_index,
GUINT &  i0,
GUINT &  i1,
GUINT &  i2 
) const [inline]

SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_vertex ( GUINT  vertex_index,
btVector3 &  vertex 
) const [inline]

SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_primitive_box ( GUINT  prim_index,
GIM_AABB primbox 
) const [inline]

SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_primitive_triangle ( GUINT  prim_index,
GIM_TRIANGLE triangle 
) const [inline]

SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_bullet_triangle ( GUINT  prim_index,
btTriangleShapeEx triangle 
) const [inline]


Member Data Documentation

btScalar btGImpactMeshShapePart::TrimeshPrimitiveManager::m_margin

btStridingMeshInterface* btGImpactMeshShapePart::TrimeshPrimitiveManager::m_meshInterface

btVector3 btGImpactMeshShapePart::TrimeshPrimitiveManager::m_scale

int btGImpactMeshShapePart::TrimeshPrimitiveManager::m_part

GUINT btGImpactMeshShapePart::TrimeshPrimitiveManager::m_lock_count

const unsigned char* btGImpactMeshShapePart::TrimeshPrimitiveManager::vertexbase

int btGImpactMeshShapePart::TrimeshPrimitiveManager::numverts

PHY_ScalarType btGImpactMeshShapePart::TrimeshPrimitiveManager::type

int btGImpactMeshShapePart::TrimeshPrimitiveManager::stride

const unsigned char* btGImpactMeshShapePart::TrimeshPrimitiveManager::indexbase

int btGImpactMeshShapePart::TrimeshPrimitiveManager::indexstride

int btGImpactMeshShapePart::TrimeshPrimitiveManager::numfaces

PHY_ScalarType btGImpactMeshShapePart::TrimeshPrimitiveManager::indicestype


The documentation for this class was generated from the following file:
Generated on Wed Jun 13 16:58:22 2007 for GIMPACT by  doxygen 1.5.2