Blender V5.0
btDbvtAabbMm Struct Reference

#include <btDbvt.h>

Public Member Functions

DBVT_INLINE btDbvtAabbMm ()
DBVT_INLINE btVector3 Center () const
DBVT_INLINE btVector3 Lengths () const
DBVT_INLINE btVector3 Extents () const
DBVT_INLINE const btVector3Mins () const
DBVT_INLINE const btVector3Maxs () const
DBVT_INLINE void Expand (const btVector3 &e)
DBVT_INLINE void SignedExpand (const btVector3 &e)
DBVT_INLINE bool Contain (const btDbvtAabbMm &a) const
DBVT_INLINE int Classify (const btVector3 &n, btScalar o, int s) const
DBVT_INLINE btScalar ProjectMinimum (const btVector3 &v, unsigned signs) const
DBVT_INLINE btVector3tMins ()
DBVT_INLINE btVector3tMaxs ()

Static Public Member Functions

static btDbvtAabbMm FromCE (const btVector3 &c, const btVector3 &e)
static btDbvtAabbMm FromCR (const btVector3 &c, btScalar r)
static btDbvtAabbMm FromMM (const btVector3 &mi, const btVector3 &mx)
static btDbvtAabbMm FromPoints (const btVector3 *pts, int n)
static btDbvtAabbMm FromPoints (const btVector3 **ppts, int n)

Friends

DBVT_INLINE friend bool Intersect (const btDbvtAabbMm &a, const btDbvtAabbMm &b)
DBVT_INLINE friend bool Intersect (const btDbvtAabbMm &a, const btVector3 &b)
DBVT_INLINE friend btScalar Proximity (const btDbvtAabbMm &a, const btDbvtAabbMm &b)
DBVT_INLINE friend int Select (const btDbvtAabbMm &o, const btDbvtAabbMm &a, const btDbvtAabbMm &b)
DBVT_INLINE friend void Merge (const btDbvtAabbMm &a, const btDbvtAabbMm &b, btDbvtAabbMm &r)
DBVT_INLINE friend bool NotEqual (const btDbvtAabbMm &a, const btDbvtAabbMm &b)

Detailed Description

Definition at line 131 of file btDbvt.h.

Constructor & Destructor Documentation

◆ btDbvtAabbMm()

DBVT_INLINE btDbvtAabbMm::btDbvtAabbMm ( )
inline

Definition at line 133 of file btDbvt.h.

References DBVT_INLINE.

Referenced by Contain(), FromCE(), FromCR(), FromMM(), FromPoints(), FromPoints(), Intersect, Intersect, Merge, NotEqual, Proximity, and Select.

Member Function Documentation

◆ Center()

DBVT_INLINE btVector3 btDbvtAabbMm::Center ( ) const
inline

Definition at line 134 of file btDbvt.h.

References btVector3, and DBVT_INLINE.

Referenced by drawTree(), leftOfAxis(), and topdown().

◆ Classify()

DBVT_INLINE int btDbvtAabbMm::Classify ( const btVector3 & n,
btScalar o,
int s ) const

Definition at line 549 of file btDbvt.h.

References btDot(), btVector3, and DBVT_INLINE.

Referenced by btDbvt::collideKDOP(), and btDbvt::collideOCL().

◆ Contain()

DBVT_INLINE bool btDbvtAabbMm::Contain ( const btDbvtAabbMm & a) const

Definition at line 538 of file btDbvt.h.

References btDbvtAabbMm(), and DBVT_INLINE.

Referenced by btDbvt::update(), btDbvt::update(), and btDbvt::update().

◆ Expand()

DBVT_INLINE void btDbvtAabbMm::Expand ( const btVector3 & e)

Definition at line 514 of file btDbvt.h.

References btVector3, DBVT_INLINE, and e.

Referenced by btDbvt::update(), btDbvt::update(), and VolumeOf().

◆ Extents()

DBVT_INLINE btVector3 btDbvtAabbMm::Extents ( ) const
inline

Definition at line 136 of file btDbvt.h.

References btVector3, and DBVT_INLINE.

Referenced by drawTree().

◆ FromCE()

btDbvtAabbMm btDbvtAabbMm::FromCE ( const btVector3 & c,
const btVector3 & e )
inlinestatic

Definition at line 464 of file btDbvt.h.

References btDbvtAabbMm(), btVector3, and e.

Referenced by FromCR().

◆ FromCR()

◆ FromMM()

◆ FromPoints() [1/2]

btDbvtAabbMm btDbvtAabbMm::FromPoints ( const btVector3 ** ppts,
int n )
inlinestatic

Definition at line 501 of file btDbvt.h.

References btDbvtAabbMm(), btVector3, and i.

◆ FromPoints() [2/2]

btDbvtAabbMm btDbvtAabbMm::FromPoints ( const btVector3 * pts,
int n )
inlinestatic

Definition at line 488 of file btDbvt.h.

References btDbvtAabbMm(), btVector3, and i.

Referenced by btSoftBody::updateFace(), btSoftBody::updateNode(), and VolumeOf().

◆ Lengths()

DBVT_INLINE btVector3 btDbvtAabbMm::Lengths ( ) const
inline

Definition at line 135 of file btDbvt.h.

References btVector3, and DBVT_INLINE.

Referenced by size().

◆ Maxs()

DBVT_INLINE const btVector3 & btDbvtAabbMm::Maxs ( ) const
inline

Definition at line 138 of file btDbvt.h.

References btVector3, and DBVT_INLINE.

Referenced by btCompoundLeafCallback::Process(), btDbvt::rayTest(), and btDbvt::rayTestInternal().

◆ Mins()

DBVT_INLINE const btVector3 & btDbvtAabbMm::Mins ( ) const
inline

Definition at line 137 of file btDbvt.h.

References btVector3, and DBVT_INLINE.

Referenced by btCompoundLeafCallback::Process(), btDbvt::rayTest(), and btDbvt::rayTestInternal().

◆ ProjectMinimum()

DBVT_INLINE btScalar btDbvtAabbMm::ProjectMinimum ( const btVector3 & v,
unsigned signs ) const

Definition at line 593 of file btDbvt.h.

References b, btDot(), btVector3, DBVT_INLINE, v, x, y, and z().

Referenced by btDbvt::collideOCL().

◆ SignedExpand()

DBVT_INLINE void btDbvtAabbMm::SignedExpand ( const btVector3 & e)

Definition at line 521 of file btDbvt.h.

References btVector3, DBVT_INLINE, and e.

Referenced by btDbvt::update(), and btDbvt::update().

◆ tMaxs()

DBVT_INLINE btVector3 & btDbvtAabbMm::tMaxs ( )
inline

Definition at line 167 of file btDbvt.h.

References btVector3, and DBVT_INLINE.

◆ tMins()

DBVT_INLINE btVector3 & btDbvtAabbMm::tMins ( )
inline

Definition at line 166 of file btDbvt.h.

References btVector3, and DBVT_INLINE.

◆ Intersect [1/2]

DBVT_INLINE friend bool Intersect ( const btDbvtAabbMm & a,
const btDbvtAabbMm & b )
friend

Definition at line 621 of file btDbvt.h.

References b, btDbvtAabbMm(), and DBVT_INLINE.

◆ Intersect [2/2]

DBVT_INLINE friend bool Intersect ( const btDbvtAabbMm & a,
const btVector3 & b )
friend

Definition at line 644 of file btDbvt.h.

References b, btDbvtAabbMm(), btVector3, and DBVT_INLINE.

◆ Merge

DBVT_INLINE friend void Merge ( const btDbvtAabbMm & a,
const btDbvtAabbMm & b,
btDbvtAabbMm & r )
friend

Definition at line 745 of file btDbvt.h.

References b, btDbvtAabbMm(), DBVT_INLINE, and i.

◆ NotEqual

DBVT_INLINE friend bool NotEqual ( const btDbvtAabbMm & a,
const btDbvtAabbMm & b )
friend

Definition at line 774 of file btDbvt.h.

References b, btDbvtAabbMm(), and DBVT_INLINE.

◆ Proximity

DBVT_INLINE friend btScalar Proximity ( const btDbvtAabbMm & a,
const btDbvtAabbMm & b )
friend

Definition at line 658 of file btDbvt.h.

References b, btDbvtAabbMm(), btFabs(), btVector3, and DBVT_INLINE.

◆ Select

DBVT_INLINE friend int Select ( const btDbvtAabbMm & o,
const btDbvtAabbMm & a,
const btDbvtAabbMm & b )
friend

Definition at line 666 of file btDbvt.h.

References ATTRIBUTE_ALIGNED16, b, btDbvtAabbMm(), DBVT_INLINE, mask(), and Proximity().


The documentation for this struct was generated from the following file: