CS::Geometry Namespace Reference
|A box. More...|
|A capsule. More...|
|A Cone. More...|
|structure for clipping polygon ears More...|
|Density based texture mapper. More...|
|Tools related to creating genmesh instances and factories. More...|
|If you implement this interface then you can give that to the KDtree. More...|
|A KD-tree. More...|
|A child in the KD-tree (usually some object). More...|
|Superclass for all primitives. More...|
|A primitive mesh generator. More...|
|A sphere. More...|
|Table texture mapper. More...|
|A Tesselated box. More...|
|A tesselated quad. More...|
|Class for controlling texture mapping on the generated meshes. More...|
|typedef bool(||KDTreeVisitFunc )(KDTree *treenode, void *userdata, uint32 timestamp, uint32 &frustum_mask)|
|A callback function for visiting a KD-tree node. |
Geometry and mesh tools related classes.
|typedef bool( CS::Geometry::KDTreeVisitFunc)(KDTree *treenode, void *userdata, uint32 timestamp, uint32 &frustum_mask)|
A callback function for visiting a KD-tree node.
If this function returns true the traversal will continue. Otherwise Front2Back() will stop.
This function is itself responsible for calling Distribute() on the given treenode to ensure that the objects in this node are properly distributed to the children. If the function doesn't want or need this functionality it doesn't have to do Distribute().
If this function decides to process the given node then it is also responsible for checking the timestamp of every child in this node with the timestamp given to this function. If this timestamp is different the child has not been processed before. This function should then update the timestamp of the child. If this is not done then some objects will be encountered multiple times. In some cases this may not be a problem or even desired.
'frustum_mask' can be modified by this function to reduce the number of plane tests (for frustum culling) that have to occur for children of this node.
Generated for Crystal Space 2.0 by doxygen 1.6.1