| Bullet Collision Detection & Physics Library
    | 
The HullLibrary class can create a convex hull from a collection of vertices, using the ComputeHull method. More...
#include <btConvexHull.h>

| Public Member Functions | |
| HullError | CreateConvexHull (const HullDesc &desc, HullResult &result) | 
| HullError | ReleaseResult (HullResult &result) | 
| Public Attributes | |
| btAlignedObjectArray< int > | m_vertexIndexMapping | 
| Private Member Functions | |
| bool | ComputeHull (unsigned int vcount, const btVector3 *vertices, PHullResult &result, unsigned int vlimit) | 
| class btHullTriangle * | allocateTriangle (int a, int b, int c) | 
| void | deAllocateTriangle (btHullTriangle *) | 
| void | b2bfix (btHullTriangle *s, btHullTriangle *t) | 
| void | removeb2b (btHullTriangle *s, btHullTriangle *t) | 
| void | checkit (btHullTriangle *t) | 
| btHullTriangle * | extrudable (btScalar epsilon) | 
| int | calchull (btVector3 *verts, int verts_count, TUIntArray &tris_out, int &tris_count, int vlimit) | 
| int | calchullgen (btVector3 *verts, int verts_count, int vlimit) | 
| int4 | FindSimplex (btVector3 *verts, int verts_count, btAlignedObjectArray< int > &allow) | 
| class ConvexH * | ConvexHCrop (ConvexH &convex, const btPlane &slice) | 
| void | extrude (class btHullTriangle *t0, int v) | 
| ConvexH * | test_cube () | 
| void | BringOutYourDead (const btVector3 *verts, unsigned int vcount, btVector3 *overts, unsigned int &ocount, unsigned int *indices, unsigned indexcount) | 
| bool | CleanupVertices (unsigned int svcount, const btVector3 *svertices, unsigned int stride, unsigned int &vcount, btVector3 *vertices, btScalar normalepsilon, btVector3 &scale) | 
| Private Attributes | |
| btAlignedObjectArray< class btHullTriangle * > | m_tris | 
The HullLibrary class can create a convex hull from a collection of vertices, using the ComputeHull method.
The btShapeHull class uses this HullLibrary to create a approximate convex mesh given a general (non-polyhedral) convex shape.
Definition at line 184 of file btConvexHull.h.
| 
 | private | 
Definition at line 423 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 375 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 1114 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 618 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 518 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 399 of file btConvexHull.cpp.
| 
 | private | 
XXX might be broken
Definition at line 855 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 650 of file btConvexHull.cpp.
| HullError HullLibrary::CreateConvexHull | ( | const HullDesc & | desc, | 
| HullResult & | result | ||
| ) | 
Definition at line 691 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 433 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 465 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 442 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 482 of file btConvexHull.cpp.
| HullError HullLibrary::ReleaseResult | ( | HullResult & | result | ) | 
Definition at line 816 of file btConvexHull.cpp.
| 
 | private | 
Definition at line 391 of file btConvexHull.cpp.
| 
 | private | 
| 
 | private | 
Definition at line 187 of file btConvexHull.h.
| btAlignedObjectArray<int> HullLibrary::m_vertexIndexMapping | 
Definition at line 191 of file btConvexHull.h.
 1.8.12
 1.8.12