Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
BT_QUANTIZED_BVH_NODE Struct Reference

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

#include <btGImpactQuantizedBvh.h>

Public Member Functions

 BT_QUANTIZED_BVH_NODE ()
 
bool isLeafNode () const
 
int getEscapeIndex () const
 
void setEscapeIndex (int index)
 
int getDataIndex () const
 
void setDataIndex (int index)
 
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

int BT_QUANTIZED_BVH_NODE::getDataIndex ( ) const
inline

Definition at line 66 of file btGImpactQuantizedBvh.h.

int BT_QUANTIZED_BVH_NODE::getEscapeIndex ( ) const
inline

Definition at line 55 of file btGImpactQuantizedBvh.h.

bool BT_QUANTIZED_BVH_NODE::isLeafNode ( ) const
inline

Definition at line 49 of file btGImpactQuantizedBvh.h.

void BT_QUANTIZED_BVH_NODE::setDataIndex ( int  index)
inline

Definition at line 73 of file btGImpactQuantizedBvh.h.

void BT_QUANTIZED_BVH_NODE::setEscapeIndex ( int  index)
inline

Definition at line 61 of file btGImpactQuantizedBvh.h.

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

int BT_QUANTIZED_BVH_NODE::m_escapeIndexOrDataIndex

Definition at line 42 of file btGImpactQuantizedBvh.h.

unsigned short int BT_QUANTIZED_BVH_NODE::m_quantizedAabbMax[3]

Definition at line 40 of file btGImpactQuantizedBvh.h.

unsigned short int BT_QUANTIZED_BVH_NODE::m_quantizedAabbMin[3]

Definition at line 39 of file btGImpactQuantizedBvh.h.


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