Logo Search packages:      
Sourcecode: blender version File versions  Download package

btShapeHull Class Reference

#include <btShapeHull.h>

List of all members.


Detailed Description

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.


Public Member Functions

 btShapeHull (const btConvexShape *shape)
bool buildHull (btScalar margin)
const unsigned int * getIndexPointer () const
const btVector3 * getVertexPointer () const
int numIndices () const
int numTriangles () const
int numVertices () const

Protected Attributes

btAlignedObjectArray< unsigned
int > 
m_indices
unsigned int m_numIndices
const btConvexShape * m_shape
btAlignedObjectArray< btVector3 > m_vertices

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

Generated by  Doxygen 1.6.0   Back to index