Blender
V3.3
|
#include "btPolyhedralConvexShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
Go to the source code of this file.
Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btBU_Simplex1to4 () | |
btBU_Simplex1to4 (const btVector3 &pt0) | |
btBU_Simplex1to4 (const btVector3 &pt0, const btVector3 &pt1) | |
btBU_Simplex1to4 (const btVector3 &pt0, const btVector3 &pt1, const btVector3 &pt2) | |
btBU_Simplex1to4 (const btVector3 &pt0, const btVector3 &pt1, const btVector3 &pt2, const btVector3 &pt3) | |
void | reset () |
clear internal cached data and reset random seed More... | |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t. More... | |
void | addVertex (const btVector3 &pt) |
virtual int | getNumVertices () const |
virtual int | getNumEdges () const |
virtual void | getEdge (int i, btVector3 &pa, btVector3 &pb) const |
virtual void | getVertex (int i, btVector3 &vtx) const |
virtual int | getNumPlanes () const |
virtual void | getPlane (btVector3 &planeNormal, btVector3 &planeSupport, int i) const |
virtual int | getIndex (int i) const |
virtual bool | isInside (const btVector3 &pt, btScalar tolerance) const |
virtual const char * | getName () const |
getName is for debugging More... | |
Variables | |
btBU_Simplex1to4 | __pad0__ |
The btBU_Simplex1to4 implements tetrahedron, triangle, line, vertex collision shapes. In most cases it is better to use btConvexHullShape instead. More... | |
btVector3 | m_vertices [4] |
Definition at line 77 of file btTetrahedronShape.cpp.
References m_numVertices, m_vertices, and recalcLocalAabb().
Referenced by btBU_Simplex1to4().
BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
btBU_Simplex1to4::btBU_Simplex1to4 | ( | ) |
Definition at line 19 of file btTetrahedronShape.cpp.
References TETRAHEDRAL_SHAPE_PROXYTYPE.
Referenced by MyInternalTriangleIndexCallback::internalProcessTriangleIndex().
btBU_Simplex1to4::btBU_Simplex1to4 | ( | const btVector3 & | pt0 | ) |
Definition at line 25 of file btTetrahedronShape.cpp.
References addVertex(), and TETRAHEDRAL_SHAPE_PROXYTYPE.
Definition at line 32 of file btTetrahedronShape.cpp.
References addVertex(), and TETRAHEDRAL_SHAPE_PROXYTYPE.
btBU_Simplex1to4::btBU_Simplex1to4 | ( | const btVector3 & | pt0, |
const btVector3 & | pt1, | ||
const btVector3 & | pt2 | ||
) |
Definition at line 40 of file btTetrahedronShape.cpp.
References addVertex(), and TETRAHEDRAL_SHAPE_PROXYTYPE.
btBU_Simplex1to4::btBU_Simplex1to4 | ( | const btVector3 & | pt0, |
const btVector3 & | pt1, | ||
const btVector3 & | pt2, | ||
const btVector3 & | pt3 | ||
) |
Definition at line 49 of file btTetrahedronShape.cpp.
References addVertex(), and TETRAHEDRAL_SHAPE_PROXYTYPE.
|
virtual |
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
Definition at line 54 of file btCapsuleShape.h.
Definition at line 218 of file btBox2dShape.h.
References btAssert, and getVertex().
Referenced by isInside().
|
virtual |
Definition at line 195 of file btTetrahedronShape.cpp.
|
virtual |
getName is for debugging
Definition at line 68 of file btTetrahedronShape.h.
|
virtual |
Definition at line 174 of file btBox2dShape.h.
Referenced by set_ccgdm_all_geometry().
|
virtual |
Definition at line 169 of file btBox2dShape.h.
|
virtual |
Definition at line 140 of file btBox2dShape.h.
Referenced by initializePolyhedralFeatures().
Definition at line 155 of file btBox2dShape.h.
References btVector3, getPlaneEquation(), and localGetSupportingVertex().
Definition at line 179 of file btBox2dShape.h.
References btVector3, getHalfExtentsWithMargin(), getHalfExtentsWithoutMargin(), and m_vertices1.
Referenced by getEdge(), and initializePolyhedralFeatures().
Definition at line 284 of file btBox2dShape.h.
References btVector3, calcNormal(), getEdge(), getHalfExtentsWithoutMargin(), m_vertices1, normal, and result.
Referenced by GHOST_IsInsideRectangle().
void reset | ( | ) |
clear internal cached data and reset random seed
Definition at line 40 of file btTetrahedronShape.h.
References m_numVertices.
btBU_Simplex1to4 __pad0__ |
The btBU_Simplex1to4 implements tetrahedron, triangle, line, vertex collision shapes. In most cases it is better to use btConvexHullShape instead.
Definition at line 24 of file btTetrahedronShape.h.
btVector3 m_vertices[4] |
Definition at line 28 of file btTetrahedronShape.h.