Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes
HullDesc Class Reference

#include <btConvexHull.h>

Collaboration diagram for HullDesc:
Collaboration graph

List of all members.

Public Member Functions

 HullDesc (void)
 HullDesc (HullFlag flag, unsigned int vcount, const btVector3 *vertices, unsigned int stride=sizeof(btVector3))
bool HasHullFlag (HullFlag flag) const
void SetHullFlag (HullFlag flag)
void ClearHullFlag (HullFlag flag)

Public Attributes

unsigned int mFlags
unsigned int mVcount
const btVector3mVertices
unsigned int mVertexStride
btScalar mNormalEpsilon
unsigned int mMaxVertices
unsigned int mMaxFaces

Detailed Description

Definition at line 56 of file btConvexHull.h.

Constructor & Destructor Documentation

HullDesc::HullDesc ( void  ) [inline]

Definition at line 59 of file btConvexHull.h.

              mFlags          = QF_DEFAULT;
              mVcount         = 0;
              mVertices       = 0;
              mVertexStride   = sizeof(btVector3);
              mNormalEpsilon  = 0.001f;
              mMaxVertices  = 4096; // maximum number of points to be considered for a convex hull.
              mMaxFaces     = 4096;
HullDesc::HullDesc ( HullFlag  flag,
unsigned int  vcount,
const btVector3 vertices,
unsigned int  stride = sizeof(btVector3) 
) [inline]

Definition at line 70 of file btConvexHull.h.

              mFlags          = flag;
              mVcount         = vcount;
              mVertices       = vertices;
              mVertexStride   = stride;
              mNormalEpsilon  = btScalar(0.001);
              mMaxVertices    = 4096;

Member Function Documentation

void HullDesc::ClearHullFlag ( HullFlag  flag) [inline]

Definition at line 94 of file btConvexHull.h.

bool HullDesc::HasHullFlag ( HullFlag  flag) const [inline]

Definition at line 83 of file btConvexHull.h.

              if ( mFlags & flag ) return true;
              return false;

Here is the caller graph for this function:

void HullDesc::SetHullFlag ( HullFlag  flag) [inline]

Definition at line 89 of file btConvexHull.h.


Member Data Documentation

unsigned int HullDesc::mFlags

Definition at line 99 of file btConvexHull.h.

unsigned int HullDesc::mMaxFaces

Definition at line 105 of file btConvexHull.h.

unsigned int HullDesc::mMaxVertices

Definition at line 104 of file btConvexHull.h.

Definition at line 103 of file btConvexHull.h.

unsigned int HullDesc::mVcount

Definition at line 100 of file btConvexHull.h.

Definition at line 102 of file btConvexHull.h.

Definition at line 101 of file btConvexHull.h.

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