BT_QUANTIZED_BVH_NODE Struct Reference

btQuantizedBvhNode is a compressed aabb node, 16 bytes. More...

#include <btGImpactQuantizedBvh.h>

List of all members.

Public Member Functions

 BT_QUANTIZED_BVH_NODE ()
SIMD_FORCE_INLINE bool isLeafNode () const
SIMD_FORCE_INLINE int getEscapeIndex () const
SIMD_FORCE_INLINE void setEscapeIndex (int index)
SIMD_FORCE_INLINE int getDataIndex () const
SIMD_FORCE_INLINE void setDataIndex (int index)
SIMD_FORCE_INLINE bool testQuantizedBoxOverlapp (unsigned short *quantizedMin, unsigned short *quantizedMax) const

Public Attributes

unsigned short int m_quantizedAabbMin [3]
unsigned short int m_quantizedAabbMax [3]
int m_escapeIndexOrDataIndex

Detailed Description

btQuantizedBvhNode is a compressed aabb node, 16 bytes.

Node can be used for leafnode or internal node. Leafnodes can point to 32-bit triangle index (non-negative range).

Definition at line 36 of file btGImpactQuantizedBvh.h.


Constructor & Destructor Documentation

BT_QUANTIZED_BVH_NODE::BT_QUANTIZED_BVH_NODE (  )  [inline]

Definition at line 44 of file btGImpactQuantizedBvh.h.


Member Function Documentation

SIMD_FORCE_INLINE int BT_QUANTIZED_BVH_NODE::getDataIndex (  )  const [inline]

Definition at line 66 of file btGImpactQuantizedBvh.h.

SIMD_FORCE_INLINE int BT_QUANTIZED_BVH_NODE::getEscapeIndex (  )  const [inline]

Definition at line 55 of file btGImpactQuantizedBvh.h.

SIMD_FORCE_INLINE bool BT_QUANTIZED_BVH_NODE::isLeafNode (  )  const [inline]

Definition at line 49 of file btGImpactQuantizedBvh.h.

SIMD_FORCE_INLINE void BT_QUANTIZED_BVH_NODE::setDataIndex ( int  index  )  [inline]

Definition at line 73 of file btGImpactQuantizedBvh.h.

SIMD_FORCE_INLINE void BT_QUANTIZED_BVH_NODE::setEscapeIndex ( int  index  )  [inline]

Definition at line 61 of file btGImpactQuantizedBvh.h.

SIMD_FORCE_INLINE bool BT_QUANTIZED_BVH_NODE::testQuantizedBoxOverlapp ( unsigned short *  quantizedMin,
unsigned short *  quantizedMax 
) const [inline]

Definition at line 78 of file btGImpactQuantizedBvh.h.


Member Data Documentation

Definition at line 42 of file btGImpactQuantizedBvh.h.

Definition at line 40 of file btGImpactQuantizedBvh.h.

Definition at line 39 of file btGImpactQuantizedBvh.h.


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

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