class csBspTree The BSP tree
| | AddDynamicPolygons (csPolygonInt** polygons, int num, int mode = BSP_MINIMIZE_SPLITS) Add a bunch of polygons to the BSP tree |
| | Back2Front (const csVector3& pos, csBspVisitFunc* func, void* data) Traverse the tree from back to front starting at the root and 'pos'. |
| | csBspTree (csPolygonParentInt* pset, int mode = BSP_MINIMIZE_SPLITS) Create the tree for the given parent |
| | csBspTree (csPolygonParentInt* pset, csPolygonInt** polygons, int num, int mode = BSP_MINIMIZE_SPLITS) Create the tree with a given set of polygons. |
| | Front2Back (const csVector3& pos, csBspVisitFunc* func, void* data) Traverse the tree from front to back starting at the root and 'pos'. |
| | GetParent () Get the polygonset for this BSP tree. |
| | RemoveDynamicPolygons () Remove all dynamically added polygons from the node |
| | ~csBspTree () Destroy the whole BSP tree (but not the actual polygons and parent objects) |
| | pset The parent that this tree is made for. |
| | root The root of the tree. |
| | Back2Front (csBspNode* node, const csVector3& pos, csBspVisitFunc* func, void* data) Traverse the tree from back to front starting at 'node' and 'pos'. |
| | Build (csBspNode* node, csPolygonInt** polygons, int num, int mode) Build the tree from the given node and number of polygons. |
| | BuildDynamic (csBspNode* node, csPolygonInt** polygons, int num, int mode) Build the tree from the given node and number of polygons |
| | Clear (csBspNode* node) Clear the node. |
| | Front2Back (csBspNode* node, const csVector3& pos, csBspVisitFunc* func, void* data) Traverse the tree from front to back starting at 'node' and 'pos'. |
| | RemoveDynamicPolygons (csBspNode* node) Remove all dynamically added polygons from the node |
| | SelectSplitter (csPolygonInt** polygons, int num, int mode) Select a splitter from a list of polygons and return the index |
The BSP tree
csPolygonParentInt* pset
void Build(csBspNode* node, csPolygonInt** polygons, int num, int mode)
void BuildDynamic(csBspNode* node, csPolygonInt** polygons, int num, int mode)
void RemoveDynamicPolygons(csBspNode* node)
int SelectSplitter(csPolygonInt** polygons, int num, int mode)
void Clear(csBspNode* node)
void* Back2Front(csBspNode* node, const csVector3& pos, csBspVisitFunc* func, void* data)
void* Front2Back(csBspNode* node, const csVector3& pos, csBspVisitFunc* func, void* data)
csBspTree(csPolygonParentInt* pset, int mode = BSP_MINIMIZE_SPLITS)
csBspTree(csPolygonParentInt* pset, csPolygonInt** polygons, int num, int mode = BSP_MINIMIZE_SPLITS)
~csBspTree()
void AddDynamicPolygons(csPolygonInt** polygons, int num, int mode = BSP_MINIMIZE_SPLITS)
void RemoveDynamicPolygons()
void* Back2Front(const csVector3& pos, csBspVisitFunc* func, void* data)
void* Front2Back(const csVector3& pos, csBspVisitFunc* func, void* data)
csPolygonParentInt* GetParent()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de