Logo Search packages:      
Sourcecode: blender version File versions

HullLibrary Class Reference

#include <btConvexHull.h>

List of all members.

Detailed Description

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 188 of file 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

class Tri * allocateTriangle (int a, int b, int c)
void b2bfix (Tri *s, Tri *t)
void BringOutYourDead (const btVector3 *verts, unsigned int vcount, btVector3 *overts, unsigned int &ocount, unsigned int *indices, unsigned indexcount)
int calchull (btVector3 *verts, int verts_count, TUIntArray &tris_out, int &tris_count, int vlimit)
int calchullgen (btVector3 *verts, int verts_count, int vlimit)
void checkit (Tri *t)
bool CleanupVertices (unsigned int svcount, const btVector3 *svertices, unsigned int stride, unsigned int &vcount, btVector3 *vertices, btScalar normalepsilon, btVector3 &scale)
bool ComputeHull (unsigned int vcount, const btVector3 *vertices, PHullResult &result, unsigned int vlimit)
class ConvexH * ConvexHCrop (ConvexH &convex, const btPlane &slice)
void deAllocateTriangle (Tri *)
Tri * extrudable (btScalar epsilon)
void extrude (class Tri *t0, int v)
int4 FindSimplex (btVector3 *verts, int verts_count, btAlignedObjectArray< int > &allow)
void removeb2b (Tri *s, Tri *t)
ConvexH * test_cube ()

Private Attributes

btAlignedObjectArray< class Tri * > m_tris

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index