Public Member Functions | Protected Member Functions | Protected Attributes
btTriangleMeshShape Class Reference

The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly, use btBvhTriangleMeshShape instead. More...

#include <btTriangleMeshShape.h>

Inheritance diagram for btTriangleMeshShape:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
virtual void getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
 getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
const btVector3 & getLocalAabbMax () const
const btVector3 & getLocalAabbMin () const
virtual const btVector3 & getLocalScaling () const
btStridingMeshInterfacegetMeshInterface ()
const btStridingMeshInterfacegetMeshInterface () const
virtual const char * getName () const
virtual btVector3 localGetSupportingVertex (const btVector3 &vec) const
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
virtual void processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
void recalcLocalAabb ()
virtual void setLocalScaling (const btVector3 &scaling)
virtual ~btTriangleMeshShape ()

Protected Member Functions

 btTriangleMeshShape (btStridingMeshInterface *meshInterface)

Protected Attributes

btVector3 m_localAabbMax
btVector3 m_localAabbMin
btStridingMeshInterfacem_meshInterface

Detailed Description

The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly, use btBvhTriangleMeshShape instead.

Definition at line 24 of file btTriangleMeshShape.h.


Constructor & Destructor Documentation

btTriangleMeshShape constructor has been disabled/protected, so that users will not mistakenly use this class. Don't use btTriangleMeshShape but use btBvhTriangleMeshShape instead!


Member Function Documentation

virtual void btTriangleMeshShape::calculateLocalInertia ( btScalar  mass,
btVector3 &  inertia 
) const [virtual]

Implements btCollisionShape.

virtual void btTriangleMeshShape::getAabb ( const btTransform t,
btVector3 &  aabbMin,
btVector3 &  aabbMax 
) const [virtual]

getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.

Implements btCollisionShape.

const btVector3& btTriangleMeshShape::getLocalAabbMax ( ) const [inline]

Definition at line 72 of file btTriangleMeshShape.h.

const btVector3& btTriangleMeshShape::getLocalAabbMin ( ) const [inline]

Definition at line 68 of file btTriangleMeshShape.h.

virtual const btVector3& btTriangleMeshShape::getLocalScaling ( ) const [virtual]

Implements btCollisionShape.

Definition at line 58 of file btTriangleMeshShape.h.

Definition at line 63 of file btTriangleMeshShape.h.

virtual const char* btTriangleMeshShape::getName ( ) const [inline, virtual]

Implements btCollisionShape.

Definition at line 80 of file btTriangleMeshShape.h.

virtual btVector3 btTriangleMeshShape::localGetSupportingVertex ( const btVector3 &  vec) const [virtual]
virtual btVector3 btTriangleMeshShape::localGetSupportingVertexWithoutMargin ( const btVector3 &  vec) const [inline, virtual]

Definition at line 41 of file btTriangleMeshShape.h.

virtual void btTriangleMeshShape::processAllTriangles ( btTriangleCallback callback,
const btVector3 &  aabbMin,
const btVector3 &  aabbMax 
) const [virtual]

Implements btConcaveShape.

virtual void btTriangleMeshShape::setLocalScaling ( const btVector3 &  scaling) [virtual]

Implements btCollisionShape.


Member Data Documentation

btVector3 btTriangleMeshShape::m_localAabbMax [protected]

Definition at line 28 of file btTriangleMeshShape.h.

btVector3 btTriangleMeshShape::m_localAabbMin [protected]

Definition at line 27 of file btTriangleMeshShape.h.

Definition at line 29 of file btTriangleMeshShape.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:33