btConvexInternalAabbCachingShape Class Reference

btConvexInternalAabbCachingShape adds local aabb caching for convex shapes, to avoid expensive bounding box calculations More...

#include <btConvexInternalShape.h>

Inheritance diagram for btConvexInternalAabbCachingShape:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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 ()
virtual void setLocalScaling (const btVector3 &scaling)

Protected Member Functions

 btConvexInternalAabbCachingShape ()
void getCachedLocalAabb (btVector3 &aabbMin, btVector3 &aabbMax) const
void getNonvirtualAabb (const btTransform &trans, btVector3 &aabbMin, btVector3 &aabbMax, btScalar margin) const
void setCachedLocalAabb (const btVector3 &aabbMin, const btVector3 &aabbMax)

Private Attributes

bool m_isLocalAabbValid
btVector3 m_localAabbMax
btVector3 m_localAabbMin

Detailed Description

btConvexInternalAabbCachingShape adds local aabb caching for convex shapes, to avoid expensive bounding box calculations

Definition at line 160 of file btConvexInternalShape.h.


Constructor & Destructor Documentation

btConvexInternalAabbCachingShape::btConvexInternalAabbCachingShape (  )  [protected]

Member Function Documentation

virtual void btConvexInternalAabbCachingShape::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.

void btConvexInternalAabbCachingShape::getCachedLocalAabb ( btVector3 &  aabbMin,
btVector3 &  aabbMax 
) const [inline, protected]

Definition at line 177 of file btConvexInternalShape.h.

void btConvexInternalAabbCachingShape::getNonvirtualAabb ( const btTransform trans,
btVector3 &  aabbMin,
btVector3 &  aabbMax,
btScalar  margin 
) const [inline, protected]

Definition at line 184 of file btConvexInternalShape.h.

void btConvexInternalAabbCachingShape::recalcLocalAabb (  ) 
void btConvexInternalAabbCachingShape::setCachedLocalAabb ( const btVector3 &  aabbMin,
const btVector3 &  aabbMax 
) [inline, protected]

Definition at line 170 of file btConvexInternalShape.h.

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

Reimplemented from btConvexInternalShape.


Member Data Documentation

Definition at line 164 of file btConvexInternalShape.h.

Definition at line 163 of file btConvexInternalShape.h.

Definition at line 162 of file btConvexInternalShape.h.


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


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Fri Jan 11 10:11:02 2013