Blender
V3.3
|
Trimesh primitive manager. More...
#include <btGImpactShape.h>
Public Member Functions | |
TrimeshPrimitiveManager () | |
TrimeshPrimitiveManager (const TrimeshPrimitiveManager &manager) | |
TrimeshPrimitiveManager (btStridingMeshInterface *meshInterface, int part) | |
virtual | ~TrimeshPrimitiveManager () |
void | lock () |
void | unlock () |
virtual bool | is_trimesh () const |
determines if this manager consist on only triangles, which special case will be optimized More... | |
virtual int | get_primitive_count () const |
SIMD_FORCE_INLINE int | get_vertex_count () const |
SIMD_FORCE_INLINE void | get_indices (int face_index, unsigned int &i0, unsigned int &i1, unsigned int &i2) const |
SIMD_FORCE_INLINE void | get_vertex (unsigned int vertex_index, btVector3 &vertex) const |
virtual void | get_primitive_box (int prim_index, btAABB &primbox) const |
virtual void | get_primitive_triangle (int prim_index, btPrimitiveTriangle &triangle) const |
retrieves only the points of the triangle, and the collision margin More... | |
SIMD_FORCE_INLINE void | get_bullet_triangle (int prim_index, btTriangleShapeEx &triangle) const |
![]() | |
virtual | ~btPrimitiveManagerBase () |
Public Attributes | |
btScalar | m_margin |
btStridingMeshInterface * | m_meshInterface |
btVector3 | m_scale |
int | m_part |
int | 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 |
Trimesh primitive manager.
Manages the info from btStridingMeshInterface object and controls the Lock/Unlock mechanism
Definition at line 509 of file btGImpactShape.h.
|
inline |
Definition at line 526 of file btGImpactShape.h.
References btVector3, indexbase, indexstride, m_lock_count, m_margin, m_meshInterface, m_part, m_scale, NULL, numfaces, numverts, stride, and vertexbase.
|
inline |
Definition at line 541 of file btGImpactShape.h.
References indexbase, indexstride, m_lock_count, m_margin, m_meshInterface, m_part, m_scale, numfaces, numverts, stride, and vertexbase.
|
inline |
Definition at line 557 of file btGImpactShape.h.
References indexbase, indexstride, m_lock_count, m_margin, m_meshInterface, m_part, m_scale, numfaces, numverts, stride, and vertexbase.
|
inlinevirtual |
Definition at line 573 of file btGImpactShape.h.
|
inline |
Definition at line 680 of file btGImpactShape.h.
References get_indices(), get_vertex(), indices, and m_margin.
Referenced by btGImpactMeshShapePart::getBulletTriangle().
|
inline |
Definition at line 617 of file btGImpactShape.h.
References btAssert, i1, indexbase, indexstride, indicestype, PHY_INTEGER, PHY_SHORT, and PHY_UCHAR.
Referenced by get_bullet_triangle(), and get_primitive_triangle().
|
inlinevirtual |
Implements btPrimitiveManagerBase.
Definition at line 661 of file btGImpactShape.h.
References get_primitive_triangle(), btPrimitiveTriangle::m_margin, and btPrimitiveTriangle::m_vertices.
|
inlinevirtual |
Implements btPrimitiveManagerBase.
Definition at line 607 of file btGImpactShape.h.
References numfaces.
Referenced by btGImpactMeshShapePart::getNumChildShapes().
|
inlinevirtual |
retrieves only the points of the triangle, and the collision margin
Implements btPrimitiveManagerBase.
Definition at line 670 of file btGImpactShape.h.
References get_indices(), get_vertex(), indices, m_margin, btPrimitiveTriangle::m_margin, and btPrimitiveTriangle::m_vertices.
Referenced by get_primitive_box().
|
inline |
Definition at line 643 of file btGImpactShape.h.
References m_scale, PHY_DOUBLE, stride, type, and vertexbase.
Referenced by get_bullet_triangle(), get_primitive_triangle(), and btGImpactMeshShapePart::getVertex().
|
inline |
Definition at line 612 of file btGImpactShape.h.
References numverts.
Referenced by btGImpactMeshShapePart::getVertexCount().
|
inlinevirtual |
determines if this manager consist on only triangles, which special case will be optimized
Implements btPrimitiveManagerBase.
Definition at line 602 of file btGImpactShape.h.
|
inline |
Definition at line 575 of file btGImpactShape.h.
References indexbase, indexstride, indicestype, m_lock_count, m_meshInterface, m_part, numfaces, numverts, stride, type, and vertexbase.
Referenced by btGImpactMeshShapePart::btGImpactMeshShapePart(), and btGImpactMeshShapePart::lockChildShapes().
|
inline |
Definition at line 589 of file btGImpactShape.h.
References m_lock_count, m_meshInterface, m_part, NULL, and vertexbase.
Referenced by btGImpactMeshShapePart::unlockChildShapes(), and btGImpactMeshShapePart::~btGImpactMeshShapePart().
const unsigned char* btGImpactMeshShapePart::TrimeshPrimitiveManager::indexbase |
Definition at line 521 of file btGImpactShape.h.
Referenced by get_indices(), lock(), and TrimeshPrimitiveManager().
int btGImpactMeshShapePart::TrimeshPrimitiveManager::indexstride |
Definition at line 522 of file btGImpactShape.h.
Referenced by get_indices(), lock(), and TrimeshPrimitiveManager().
PHY_ScalarType btGImpactMeshShapePart::TrimeshPrimitiveManager::indicestype |
Definition at line 524 of file btGImpactShape.h.
Referenced by get_indices(), and lock().
int btGImpactMeshShapePart::TrimeshPrimitiveManager::m_lock_count |
Definition at line 516 of file btGImpactShape.h.
Referenced by lock(), TrimeshPrimitiveManager(), and unlock().
btScalar btGImpactMeshShapePart::TrimeshPrimitiveManager::m_margin |
Definition at line 512 of file btGImpactShape.h.
Referenced by get_bullet_triangle(), get_primitive_triangle(), btGImpactMeshShapePart::getMargin(), btGImpactMeshShapePart::setMargin(), and TrimeshPrimitiveManager().
btStridingMeshInterface* btGImpactMeshShapePart::TrimeshPrimitiveManager::m_meshInterface |
Definition at line 513 of file btGImpactShape.h.
Referenced by btGImpactMeshShapePart::btGImpactMeshShapePart(), lock(), TrimeshPrimitiveManager(), and unlock().
int btGImpactMeshShapePart::TrimeshPrimitiveManager::m_part |
Definition at line 515 of file btGImpactShape.h.
Referenced by btGImpactMeshShapePart::btGImpactMeshShapePart(), btGImpactMeshShapePart::getPart(), lock(), TrimeshPrimitiveManager(), and unlock().
btVector3 btGImpactMeshShapePart::TrimeshPrimitiveManager::m_scale |
Definition at line 514 of file btGImpactShape.h.
Referenced by get_vertex(), btGImpactMeshShapePart::getLocalScaling(), btGImpactMeshShapePart::setLocalScaling(), and TrimeshPrimitiveManager().
int btGImpactMeshShapePart::TrimeshPrimitiveManager::numfaces |
Definition at line 523 of file btGImpactShape.h.
Referenced by get_primitive_count(), lock(), and TrimeshPrimitiveManager().
int btGImpactMeshShapePart::TrimeshPrimitiveManager::numverts |
Definition at line 518 of file btGImpactShape.h.
Referenced by get_vertex_count(), lock(), and TrimeshPrimitiveManager().
int btGImpactMeshShapePart::TrimeshPrimitiveManager::stride |
Definition at line 520 of file btGImpactShape.h.
Referenced by get_vertex(), lock(), and TrimeshPrimitiveManager().
PHY_ScalarType btGImpactMeshShapePart::TrimeshPrimitiveManager::type |
Definition at line 519 of file btGImpactShape.h.
Referenced by get_vertex(), and lock().
const unsigned char* btGImpactMeshShapePart::TrimeshPrimitiveManager::vertexbase |
Definition at line 517 of file btGImpactShape.h.
Referenced by get_vertex(), lock(), TrimeshPrimitiveManager(), and unlock().