btPolyhedralConvexAabbCachingShape Class Reference

The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape. More...

#include <btPolyhedralConvexShape.h>

Inheritance diagram for btPolyhedralConvexAabbCachingShape:
Inheritance graph
[legend]
Collaboration diagram for btPolyhedralConvexAabbCachingShape:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.

Definition at line 55 of file btPolyhedralConvexShape.h.


Constructor & Destructor Documentation

btPolyhedralConvexAabbCachingShape::btPolyhedralConvexAabbCachingShape (  ) 

Definition at line 133 of file btPolyhedralConvexShape.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 60 of file btPolyhedralConvexShape.h.

Definition at line 59 of file btPolyhedralConvexShape.h.

Definition at line 58 of file btPolyhedralConvexShape.h.


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

Generated on Mon Feb 15 22:23:28 2010 for Bullet Collision Detection & Physics Library by  doxygen 1.6.1