#include <treeobj.h>
Public Methods | |
csPolygonStub (csPolygonIntPool *pool) | |
Initialize this stub with a polygon pool. | |
~csPolygonStub () | |
void | IncRef () |
void | DecRef () |
void | RemoveStub () |
Unlink this stub from all lists. | |
csPolyTreeBBox* | GetObject () |
Get parent object for this stub. | |
csPolygonIntArray& | GetPolygonArray () |
Get access to the list of polygons in this stub. | |
csPolygonInt** | GetPolygons () |
Get list of polygons. | |
int | GetPolygonCount () |
Get number of polygons. | |
void* | Visit (csThing *thing, csTreeVisitFunc *func, void *data) |
Visit this stub while traversing the tree (octree or BSP tree). | |
void | Initialize () |
Initialize this stub. | |
void | RemoveData () |
Clean up data from this stub. | |
Friends | |
class | csPolyTreeBBox |
class | csPolygonTreeNode |
class | csPolygonStubPool |
For a given tree object there can be many object stubs. Every stub represents some object (or part of that object) that belongs to some node.