The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape. More...
#include <btPolyhedralConvexShape.h>


Public Member Functions | |
| btPolyhedralConvexAabbCachingShape () | |
| void | getNonvirtualAabb (const btTransform &trans, btVector3 &aabbMin, btVector3 &aabbMax, btScalar margin) const |
| virtual void | setLocalScaling (const btVector3 &scaling) |
| 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 | recalcLocalAabb () |
Protected Member Functions | |
| void | setCachedLocalAabb (const btVector3 &aabbMin, const btVector3 &aabbMax) |
| void | getCachedLocalAabb (btVector3 &aabbMin, btVector3 &aabbMax) const |
Private Attributes | |
| btVector3 | m_localAabbMin |
| btVector3 | m_localAabbMax |
| bool | m_isLocalAabbValid |
The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.
Definition at line 55 of file btPolyhedralConvexShape.h.
| btPolyhedralConvexAabbCachingShape::btPolyhedralConvexAabbCachingShape | ( | ) |
Definition at line 133 of file btPolyhedralConvexShape.cpp.
| 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.
Definition at line 141 of file btPolyhedralConvexShape.cpp.
| void btPolyhedralConvexAabbCachingShape::getCachedLocalAabb | ( | btVector3 & | aabbMin, | |
| btVector3 & | aabbMax | |||
| ) | const [inline, protected] |
Definition at line 71 of file btPolyhedralConvexShape.h.
| void btPolyhedralConvexAabbCachingShape::getNonvirtualAabb | ( | const btTransform & | trans, | |
| btVector3 & | aabbMin, | |||
| btVector3 & | aabbMax, | |||
| btScalar | margin | |||
| ) | const [inline] |
Definition at line 82 of file btPolyhedralConvexShape.h.
| void btPolyhedralConvexAabbCachingShape::recalcLocalAabb | ( | ) |
Definition at line 146 of file btPolyhedralConvexShape.cpp.
| void btPolyhedralConvexAabbCachingShape::setCachedLocalAabb | ( | const btVector3 & | aabbMin, | |
| const btVector3 & | aabbMax | |||
| ) | [inline, protected] |
Definition at line 64 of file btPolyhedralConvexShape.h.
| void btPolyhedralConvexAabbCachingShape::setLocalScaling | ( | const btVector3 & | scaling | ) | [virtual] |
Reimplemented from btConvexInternalShape.
Reimplemented in btConvexHullShape, btConvexPointCloudShape, and btConvexTriangleMeshShape.
Definition at line 127 of file btPolyhedralConvexShape.cpp.
bool btPolyhedralConvexAabbCachingShape::m_isLocalAabbValid [private] |
Definition at line 60 of file btPolyhedralConvexShape.h.
Definition at line 59 of file btPolyhedralConvexShape.h.
Definition at line 58 of file btPolyhedralConvexShape.h.
1.6.1