All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
btGImpactMeshShapePart::TrimeshPrimitiveManager Class Reference

Trimesh primitive manager. More...

#include <btGImpactShape.h>

Inheritance diagram for btGImpactMeshShapePart::TrimeshPrimitiveManager:
Inheritance graph
[legend]

List of all members.

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 ()
 TrimeshPrimitiveManager (const TrimeshPrimitiveManager &manager)
 TrimeshPrimitiveManager (btStridingMeshInterface *meshInterface, int part)
void unlock ()
virtual ~TrimeshPrimitiveManager ()

Public Attributes

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

Detailed Description

Trimesh primitive manager.

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

Definition at line 528 of file btGImpactShape.h.


Constructor & Destructor Documentation

Definition at line 545 of file btGImpactShape.h.

Definition at line 560 of file btGImpactShape.h.

Definition at line 577 of file btGImpactShape.h.

Definition at line 594 of file btGImpactShape.h.


Member Function Documentation

Definition at line 693 of file btGImpactShape.h.

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

Definition at line 638 of file btGImpactShape.h.

virtual void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_primitive_box ( int  prim_index,
btAABB &  primbox 
) const [inline, virtual]

Implements btPrimitiveManagerBase.

Definition at line 674 of file btGImpactShape.h.

Implements btPrimitiveManagerBase.

Definition at line 628 of file btGImpactShape.h.

virtual void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_primitive_triangle ( int  prim_index,
btPrimitiveTriangle triangle 
) const [inline, virtual]

retrieves only the points of the triangle, and the collision margin

Implements btPrimitiveManagerBase.

Definition at line 683 of file btGImpactShape.h.

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

Definition at line 656 of file btGImpactShape.h.

Definition at line 633 of file btGImpactShape.h.

virtual bool btGImpactMeshShapePart::TrimeshPrimitiveManager::is_trimesh ( ) const [inline, virtual]

determines if this manager consist on only triangles, which special case will be optimized

Implements btPrimitiveManagerBase.

Definition at line 623 of file btGImpactShape.h.

Definition at line 596 of file btGImpactShape.h.

Definition at line 610 of file btGImpactShape.h.


Member Data Documentation

Definition at line 540 of file btGImpactShape.h.

Definition at line 541 of file btGImpactShape.h.

Definition at line 543 of file btGImpactShape.h.

Definition at line 535 of file btGImpactShape.h.

Definition at line 531 of file btGImpactShape.h.

Definition at line 532 of file btGImpactShape.h.

Definition at line 534 of file btGImpactShape.h.

Definition at line 533 of file btGImpactShape.h.

Definition at line 542 of file btGImpactShape.h.

Definition at line 537 of file btGImpactShape.h.

Definition at line 539 of file btGImpactShape.h.

Definition at line 538 of file btGImpactShape.h.

Definition at line 536 of file btGImpactShape.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32