Blender V5.0
btGImpactQuantizedBvhStructs.h File Reference
#include "btGImpactBvh.h"
#include "btQuantization.h"

Go to the source code of this file.

Functions

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

Variables

 BT_QUANTIZED_BVH_NODE
unsigned short int m_quantizedAabbMax [3]
int m_escapeIndexOrDataIndex

Function Documentation

◆ getDataIndex()

SIMD_FORCE_INLINE int getDataIndex ( ) const

Definition at line 63 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex, and SIMD_FORCE_INLINE.

◆ getEscapeIndex()

SIMD_FORCE_INLINE int getEscapeIndex ( ) const

Definition at line 52 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex, and SIMD_FORCE_INLINE.

◆ isLeafNode()

SIMD_FORCE_INLINE bool isLeafNode ( ) const

Definition at line 46 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex, and SIMD_FORCE_INLINE.

◆ setDataIndex()

SIMD_FORCE_INLINE void setDataIndex ( int index)

Definition at line 70 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex, and SIMD_FORCE_INLINE.

◆ setEscapeIndex()

SIMD_FORCE_INLINE void setEscapeIndex ( int index)

Definition at line 58 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex, and SIMD_FORCE_INLINE.

◆ testQuantizedBoxOverlapp()

SIMD_FORCE_INLINE bool testQuantizedBoxOverlapp ( unsigned short * quantizedMin,
unsigned short * quantizedMax ) const

Variable Documentation

◆ BT_QUANTIZED_BVH_NODE

BT_QUANTIZED_BVH_NODE
Initial value:
{
unsigned short int m_quantizedAabbMin[3]
unsigned short int m_quantizedAabbMin[3]

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 33 of file btGImpactQuantizedBvhStructs.h.

Referenced by btGImpactQuantizedBvh::get_node_pointer(), and btQuantizedBvhTree::get_node_pointer().

◆ m_escapeIndexOrDataIndex

int m_escapeIndexOrDataIndex

◆ m_quantizedAabbMax

unsigned short int m_quantizedAabbMax[3]

Definition at line 37 of file btGImpactQuantizedBvhStructs.h.