Public Member Functions | Protected Member Functions | Private Attributes

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 73 of file btPolyhedralConvexShape.h.


Constructor & Destructor Documentation

btPolyhedralConvexAabbCachingShape::btPolyhedralConvexAabbCachingShape (  ) 

Definition at line 434 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 442 of file btPolyhedralConvexShape.cpp.

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

Definition at line 89 of file btPolyhedralConvexShape.h.

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

Definition at line 100 of file btPolyhedralConvexShape.h.

void btPolyhedralConvexAabbCachingShape::recalcLocalAabb (  ) 

Definition at line 447 of file btPolyhedralConvexShape.cpp.

void btPolyhedralConvexAabbCachingShape::setCachedLocalAabb ( const btVector3 aabbMin,
const btVector3 aabbMax 
) [inline, protected]

Definition at line 82 of file btPolyhedralConvexShape.h.

void btPolyhedralConvexAabbCachingShape::setLocalScaling ( const btVector3 scaling  )  [virtual]

Reimplemented from btConvexInternalShape.

Reimplemented in btConvexHullShape, btConvexPointCloudShape, and btConvexTriangleMeshShape.

Definition at line 428 of file btPolyhedralConvexShape.cpp.


Member Data Documentation

Definition at line 78 of file btPolyhedralConvexShape.h.

Definition at line 77 of file btPolyhedralConvexShape.h.

Definition at line 76 of file btPolyhedralConvexShape.h.


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