Structure for containing Boxes.  
 More...
#include <btGImpactBvh.h>
|  | 
| btBvhTree | m_box_tree | 
|  | 
| btPrimitiveManagerBase * | m_primitive_manager | 
|  | 
| void | update () | 
|  | node manager prototype functions  More... 
 | 
|  | 
| void | buildSet () | 
|  | this rebuild the entire set  More... 
 | 
|  | 
| bool | boxQuery (const btAABB &box, btAlignedObjectArray< int > &collided_results) const | 
|  | returns the indices of the primitives in the m_primitive_manager  More... 
 | 
|  | 
| bool | boxQueryTrans (const btAABB &box, const btTransform &transform, btAlignedObjectArray< int > &collided_results) const | 
|  | returns the indices of the primitives in the m_primitive_manager  More... 
 | 
|  | 
| bool | rayQuery (const btVector3 &ray_dir, const btVector3 &ray_origin, btAlignedObjectArray< int > &collided_results) const | 
|  | returns the indices of the primitives in the m_primitive_manager  More... 
 | 
|  | 
| bool | hasHierarchy () const | 
|  | tells if this set has hierarcht  More... 
 | 
|  | 
| bool | isTrimesh () const | 
|  | tells if this set is a trimesh  More... 
 | 
|  | 
| int | getNodeCount () const | 
|  | node count  More... 
 | 
|  | 
| bool | isLeafNode (int nodeindex) const | 
|  | tells if the node is a leaf  More... 
 | 
|  | 
| int | getNodeData (int nodeindex) const | 
|  | 
| void | getNodeBound (int nodeindex, btAABB &bound) const | 
|  | 
| void | setNodeBound (int nodeindex, const btAABB &bound) | 
|  | 
| int | getLeftNode (int nodeindex) const | 
|  | 
| int | getRightNode (int nodeindex) const | 
|  | 
| int | getEscapeNodeIndex (int nodeindex) const | 
|  | 
| void | getNodeTriangle (int nodeindex, btPrimitiveTriangle &triangle) const | 
|  | 
| const GIM_BVH_TREE_NODE * | get_node_pointer (int index=0) const | 
|  | 
| static void | find_collision (btGImpactBvh *boxset1, const btTransform &trans1, btGImpactBvh *boxset2, const btTransform &trans2, btPairSet &collision_pairs) | 
|  | 
Structure for containing Boxes. 
This class offers an structure for managing a box tree of primitives. Requires a Primitive prototype (like btPrimitiveManagerBase ) 
Definition at line 250 of file btGImpactBvh.h.
§ btGImpactBvh() [1/2]
  
  | 
        
          | btGImpactBvh::btGImpactBvh | ( |  | ) |  |  | inline | 
 
this constructor doesn't build the tree. you must call buildSet 
Definition at line 262 of file btGImpactBvh.h.
 
 
§ btGImpactBvh() [2/2]
this constructor doesn't build the tree. you must call buildSet 
Definition at line 268 of file btGImpactBvh.h.
 
 
§ boxQuery()
returns the indices of the primitives in the m_primitive_manager 
Definition at line 281 of file btGImpactBvh.cpp.
 
 
§ boxQueryTrans()
returns the indices of the primitives in the m_primitive_manager 
Definition at line 307 of file btGImpactBvh.h.
 
 
§ buildSet()
      
        
          | void btGImpactBvh::buildSet | ( |  | ) |  | 
      
 
 
§ find_collision()
§ get_node_pointer()
§ getEscapeNodeIndex()
  
  | 
        
          | int btGImpactBvh::getEscapeNodeIndex | ( | int | nodeindex | ) | const |  | inline | 
 
 
§ getGlobalBox()
  
  | 
        
          | btAABB btGImpactBvh::getGlobalBox | ( |  | ) | const |  | inline | 
 
 
§ getLeftNode()
  
  | 
        
          | int btGImpactBvh::getLeftNode | ( | int | nodeindex | ) | const |  | inline | 
 
 
§ getNodeBound()
  
  | 
        
          | void btGImpactBvh::getNodeBound | ( | int | nodeindex, |  
          |  |  | btAABB & | bound |  
          |  | ) |  | const |  | inline | 
 
 
§ getNodeCount()
  
  | 
        
          | int btGImpactBvh::getNodeCount | ( |  | ) | const |  | inline | 
 
 
§ getNodeData()
  
  | 
        
          | int btGImpactBvh::getNodeData | ( | int | nodeindex | ) | const |  | inline | 
 
 
§ getNodeTriangle()
§ getPrimitiveManager()
§ getRightNode()
  
  | 
        
          | int btGImpactBvh::getRightNode | ( | int | nodeindex | ) | const |  | inline | 
 
 
§ hasHierarchy()
  
  | 
        
          | bool btGImpactBvh::hasHierarchy | ( |  | ) | const |  | inline | 
 
 
§ isLeafNode()
  
  | 
        
          | bool btGImpactBvh::isLeafNode | ( | int | nodeindex | ) | const |  | inline | 
 
 
§ isTrimesh()
  
  | 
        
          | bool btGImpactBvh::isTrimesh | ( |  | ) | const |  | inline | 
 
 
§ rayQuery()
returns the indices of the primitives in the m_primitive_manager 
Definition at line 319 of file btGImpactBvh.cpp.
 
 
§ refit()
  
  | 
        
          | void btGImpactBvh::refit | ( |  | ) |  |  | protected | 
 
 
§ setNodeBound()
  
  | 
        
          | void btGImpactBvh::setNodeBound | ( | int | nodeindex, |  
          |  |  | const btAABB & | bound |  
          |  | ) |  |  |  | inline | 
 
 
§ setPrimitiveManager()
§ update()
  
  | 
        
          | void btGImpactBvh::update | ( |  | ) |  |  | inline | 
 
node manager prototype functions 
this attemps to refit the box set. 
Definition at line 295 of file btGImpactBvh.h.
 
 
§ m_box_tree
§ m_primitive_manager
The documentation for this class was generated from the following files: