The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape. More...
#include <btPolyhedralConvexShape.h>
Public Member Functions | |
btPolyhedralConvexAabbCachingShape () | |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version | |
void | getNonvirtualAabb (const btTransform &trans, btVector3 &aabbMin, btVector3 &aabbMax, btScalar margin) const |
void | recalcLocalAabb () |
virtual void | setLocalScaling (const btVector3 &scaling) |
Protected Member Functions | |
void | getCachedLocalAabb (btVector3 &aabbMin, btVector3 &aabbMax) const |
void | setCachedLocalAabb (const btVector3 &aabbMin, const btVector3 &aabbMax) |
Private Attributes | |
bool | m_isLocalAabbValid |
btVector3 | m_localAabbMax |
btVector3 | m_localAabbMin |
The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.
Definition at line 69 of file btPolyhedralConvexShape.h.
virtual void btPolyhedralConvexAabbCachingShape::getAabb | ( | const btTransform & | t, |
btVector3 & | aabbMin, | ||
btVector3 & | aabbMax | ||
) | const [virtual] |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
Reimplemented from btConvexInternalShape.
Reimplemented in btBU_Simplex1to4.
void btPolyhedralConvexAabbCachingShape::getCachedLocalAabb | ( | btVector3 & | aabbMin, |
btVector3 & | aabbMax | ||
) | const [inline, protected] |
Definition at line 85 of file btPolyhedralConvexShape.h.
void btPolyhedralConvexAabbCachingShape::getNonvirtualAabb | ( | const btTransform & | trans, |
btVector3 & | aabbMin, | ||
btVector3 & | aabbMax, | ||
btScalar | margin | ||
) | const [inline] |
Definition at line 96 of file btPolyhedralConvexShape.h.
void btPolyhedralConvexAabbCachingShape::setCachedLocalAabb | ( | const btVector3 & | aabbMin, |
const btVector3 & | aabbMax | ||
) | [inline, protected] |
Definition at line 78 of file btPolyhedralConvexShape.h.
virtual void btPolyhedralConvexAabbCachingShape::setLocalScaling | ( | const btVector3 & | scaling | ) | [virtual] |
Reimplemented from btConvexInternalShape.
Reimplemented in btConvexTriangleMeshShape.
bool btPolyhedralConvexAabbCachingShape::m_isLocalAabbValid [private] |
Definition at line 74 of file btPolyhedralConvexShape.h.
btVector3 btPolyhedralConvexAabbCachingShape::m_localAabbMax [private] |
Definition at line 73 of file btPolyhedralConvexShape.h.
btVector3 btPolyhedralConvexAabbCachingShape::m_localAabbMin [private] |
Definition at line 72 of file btPolyhedralConvexShape.h.