Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgTCache Class Reference

This class caches all the active nodes in the system. More...

#include <ddgtmesh.h>

Class diagram for ddgTCache:

ddgLCache

List of all members.


Public Members

void init (unsigned int size )
Initialize the cache.

ddgTNodeget (ddgCacheIndex n)
Get entry.


Detailed Description

This class caches all the active nodes in the system.

nodes are created for triangle which are either directly visible or indirectly active to ensure the continuity of the mesh. Entry 0 is the default entry and will return the values for all elements which are not actually in the cache. Entry 1 is a scratch entry which elements who are not actually active can use to write a value to. This is to avoid writing complicated functions which check all the time.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:56 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999