#include <vhdABTTree.h>
Collaboration diagram for vhdABTTree:

Public Types | |
| typedef bool( | vhdABTTreeIsVisibleVisitFunc )(const vhdAxisAlignedBox &) |
| typedef void( | vhdABTTreeVisitFunc )(unsigned int uiCurrentPos, unsigned int uiIndex, const vhdAxisAlignedBox &bbox) |
Public Member Functions | |
| vhdABTTree () | |
| void | traversal () |
| void | create (uint32 nObjects) |
| void | create (unsigned int nCacheLineSize, unsigned int nLeafSize) |
| void | destroy () |
Public Attributes | |
| vhdABTTreeIsVisibleVisitFunc * | funcIsVisible |
| vhdABTTreeVisitFunc * | funcVisit |
| vhdABTTreeNode * | _pNode |
| vhdABTTreeLeaf * | _pLeaf |
This class provided in a single instance the creation and execution routine of an effective cache-oblivious implementation of the ABT Tree The user have to choose the proper cache line size among the end-user platform. Most hardware provide 32/64 bytes (see manufaturer docs) modify the ABTTREE_CACHE_LINE_BYTES accordingly
Definition at line 89 of file vhdABTTree.h.
|
|
callback for catching the is visible testDefinition at line 107 of file vhdABTTree.h. |
|
|
constructorDefinition at line 88 of file vhdABTTree.cpp. References funcIsVisible, and funcVisit. |
|
||||||||||||
|
create (can be used when size are already known) nCacheLineSize cache line size nLeafSize leaves's numberDefinition at line 133 of file vhdABTTree.cpp. |
|
|
create
References vhdSceneConverterABTTree::findGlobalAABB(), and vhdSceneConverterABTTree::getChildren(). |
|
|
destroyDefinition at line 126 of file vhdABTTree.cpp. |
|
|
tree traversalDefinition at line 592 of file vhdABTTree.cpp. |
|
|
A callback function for visiting a ABT-tree node. If this function returns true the traversal will continue.
Referenced by vhdABTTree(). |
|
|
A callback function informing that a particular leaf is visible.Definition at line 120 of file vhdABTTree.h. Referenced by vhdABTTree(). |
1.3.8