Blender  V3.3
Public Member Functions | Protected Member Functions | List of all members
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:

Public Member Functions

virtual void setLocalScaling (const btVector3 &scaling)
 
virtual void getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
 
void recalcLocalAabb ()
 

Protected Member Functions

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

Detailed Description

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

Definition at line 170 of file btConvexInternalShape.h.

Constructor & Destructor Documentation

◆ btConvexInternalAabbCachingShape()

btConvexInternalAabbCachingShape::btConvexInternalAabbCachingShape ( )
protected

Definition at line 74 of file btConvexInternalShape.cpp.

Member Function Documentation

◆ getAabb()

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

Definition at line 82 of file btConvexInternalShape.cpp.

References getMargin(), and getNonvirtualAabb().

◆ getCachedLocalAabb()

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

Definition at line 186 of file btConvexInternalShape.h.

References btAssert, m_localAabbMax, and m_localAabbMin.

◆ getNonvirtualAabb()

void btConvexInternalAabbCachingShape::getNonvirtualAabb ( const btTransform trans,
btVector3 aabbMin,
btVector3 aabbMax,
btScalar  margin 
) const
inlineprotected

Definition at line 193 of file btConvexInternalShape.h.

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

Referenced by getAabb().

◆ recalcLocalAabb()

void btConvexInternalAabbCachingShape::recalcLocalAabb ( )

◆ setCachedLocalAabb()

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

Definition at line 179 of file btConvexInternalShape.h.

References m_localAabbMax, and m_localAabbMin.

◆ setLocalScaling()

void btConvexInternalAabbCachingShape::setLocalScaling ( const btVector3 scaling)
virtual

Definition at line 87 of file btConvexInternalShape.cpp.

References recalcLocalAabb(), and setLocalScaling().


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