| Bullet Collision Detection & Physics Library
    | 
 
 
 
Go to the documentation of this file.
   16 #ifndef BT_CONVEX_HULL_SHAPE_H 
   17 #define BT_CONVEX_HULL_SHAPE_H 
   42                 return &m_unscaledPoints[0];
 
   47                 return &m_unscaledPoints[0];
 
   53                 return getUnscaledPoints();
 
   56         void optimizeConvexHull();
 
   60                 return m_unscaledPoints[i] * m_localScaling;
 
   65                 return m_unscaledPoints.
size();
 
   70         virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors, 
btVector3* supportVerticesOut, 
int numVectors) 
const;
 
   75         virtual const char* 
getName()
 const { 
return "Convex"; }
 
   77         virtual int getNumVertices() 
const;
 
   78         virtual int getNumEdges() 
const;
 
   80         virtual void getVertex(
int i, 
btVector3& vtx) 
const;
 
   81         virtual int getNumPlanes() 
const;
 
   86         virtual void setLocalScaling(
const btVector3& scaling);
 
   88         virtual int calculateSerializeBufferSize() 
const;
 
   91         virtual const char* serialize(
void* dataBuffer, 
btSerializer* serializer) 
const;
 
  116 #endif  //BT_CONVEX_HULL_SHAPE_H 
  
virtual int calculateSerializeBufferSize() const
const btVector3 * getUnscaledPoints() const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btVector3FloatData * m_unscaledPointsFloatPtr
btAlignedObjectArray< btVector3 > m_unscaledPoints
btVector3 * getUnscaledPoints()
const btVector3 * getPoints() const
getPoints is obsolete, please use getUnscaledPoints
The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.
btVector3 getScaledPoint(int i) const
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btVector3 can be used to represent 3D points and vectors.
virtual const char * getName() const
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
#define ATTRIBUTE_ALIGNED16(a)
#define SIMD_FORCE_INLINE
The btConvexHullShape implements an implicit convex hull of an array of vertices.
btConvexInternalShapeData m_convexInternalShapeData
btVector3DoubleData * m_unscaledPointsDoublePtr
static void addPoint(unsigned int &vcount, btVector3 *p, btScalar x, btScalar y, btScalar z)
int size() const
return the number of elements in the array