Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csPolygonTreeNode Class Reference

A general node in a polygon tree. More...

#include <polytree.h>

Inheritance diagram for csPolygonTreeNode:

csBspNode csOctreeNode List of all members.

Public Methods

 csPolygonTreeNode ()
 Constructor.

virtual ~csPolygonTreeNode ()
 Destructor.

virtual bool IsEmpty ()=0
 Return true if node is empty.

virtual int Type ()=0
 Return type (NODE_???).

void UnlinkStub (csPolygonStub *ps)
 Unlink a stub from the stub list. More...

void LinkStubTodo (csPolygonStub *ps)
 Link a stub to the todo list.

void LinkStub (csPolygonStub *ps)
 Link a stub to the stub list.

void* TraverseObjects (csThing *thing, const csVector3 &pos, csTreeVisitFunc *func, void *data)
 Traverse all the polygons in the dynamic objects added to this node.


Protected Attributes

csPolygonStubfirst_stub
 A linked list for all stubs that are added to this node. More...

csPolygonStubtodo_stubs
 A linked list of all polygons stubs that still need to be processed whenever this node becomse visible.


Detailed Description

A general node in a polygon tree.


Member Function Documentation

void csPolygonTreeNode::UnlinkStub ( csPolygonStub * ps )
 

Unlink a stub from the stub list.

Warning! This function does not test if the stub is really on the list!


Member Data Documentation

csPolygonStub * csPolygonTreeNode::first_stub [protected]
 

A linked list for all stubs that are added to this node.

These stubs represents parts of an object that is located inside this node.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000