btShapeHull Class Reference
btShapeHull implemented by John McCutchan.
More...
#include <btShapeHull.h>
List of all members.
Detailed Description
btShapeHull implemented by John McCutchan.
The btShapeHull class takes a btConvexShape, builds a simplified convex hull using btConvexHull and provides triangle indices and vertices. It can be useful for to simplify a complex convex object and for visualization of a non-polyhedral convex object. It approximates the convex hull using the supporting vertex of 42 directions.
Definition at line 28 of file btShapeHull.h.
Constructor & Destructor Documentation
btShapeHull::btShapeHull |
( |
const btConvexShape * |
shape |
) |
|
btShapeHull::~btShapeHull |
( |
|
) |
|
Member Function Documentation
bool btShapeHull::buildHull |
( |
btScalar |
margin |
) |
|
const unsigned int* btShapeHull::getIndexPointer |
( |
|
) |
const [inline] |
static btVector3* btShapeHull::getUnitSpherePoints |
( |
|
) |
[static, protected] |
const btVector3* btShapeHull::getVertexPointer |
( |
|
) |
const [inline] |
int btShapeHull::numIndices |
( |
|
) |
const |
int btShapeHull::numTriangles |
( |
|
) |
const |
int btShapeHull::numVertices |
( |
|
) |
const |
Member Data Documentation
The documentation for this class was generated from the following file: