Blender  V3.3
Public Member Functions | Protected Member Functions | List of all members
btPolyhedralConvexAabbCachingShape Class Reference

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

#include <btPolyhedralConvexShape.h>

Inheritance diagram for btPolyhedralConvexAabbCachingShape:

Public Member Functions

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
 
void recalcLocalAabb ()
 

Protected Member Functions

void setCachedLocalAabb (const btVector3 &aabbMin, const btVector3 &aabbMax)
 
void getCachedLocalAabb (btVector3 &aabbMin, btVector3 &aabbMax) const
 
 btPolyhedralConvexAabbCachingShape ()
 

Detailed Description

The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.

Definition at line 67 of file btPolyhedralConvexShape.h.

Constructor & Destructor Documentation

◆ btPolyhedralConvexAabbCachingShape()

btPolyhedralConvexAabbCachingShape::btPolyhedralConvexAabbCachingShape ( )
protected

Definition at line 492 of file btPolyhedralConvexShape.cpp.

Member Function Documentation

◆ getAabb()

void btPolyhedralConvexAabbCachingShape::getAabb ( const btTransform t,
btVector3 aabbMin,
btVector3 aabbMax 
) const
virtual

Definition at line 500 of file btPolyhedralConvexShape.cpp.

References getMargin(), and getNonvirtualAabb().

◆ getCachedLocalAabb()

void btPolyhedralConvexAabbCachingShape::getCachedLocalAabb ( btVector3 aabbMin,
btVector3 aabbMax 
) const
inlineprotected

Definition at line 81 of file btPolyhedralConvexShape.h.

References btAssert, m_localAabbMax, and m_localAabbMin.

◆ getNonvirtualAabb()

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

Definition at line 92 of file btPolyhedralConvexShape.h.

References btAssert, btTransformAabb(), m_localAabbMax, and m_localAabbMin.

Referenced by getAabb(), and getAabbNonVirtual().

◆ recalcLocalAabb()

void btPolyhedralConvexAabbCachingShape::recalcLocalAabb ( )

◆ setCachedLocalAabb()

void btPolyhedralConvexAabbCachingShape::setCachedLocalAabb ( const btVector3 aabbMin,
const btVector3 aabbMax 
)
inlineprotected

Definition at line 74 of file btPolyhedralConvexShape.h.

References m_localAabbMax, and m_localAabbMin.

◆ setLocalScaling()

void btPolyhedralConvexAabbCachingShape::setLocalScaling ( const btVector3 scaling)
virtual

Definition at line 486 of file btPolyhedralConvexShape.cpp.

References recalcLocalAabb(), and setLocalScaling().


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