Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Traversers

The concept of traversers is one of the key designs of NVSG and goes along with the Separation of Data from Their Operations. A traverser serves as link between the scene graph and a defined operation to be performed on the scene graph. More precisely, a traverser covers the following tasks:

A traverser inherits from Traverser . This base class covers base iteration over scene graphs. The Traverser can be either a read-only traverser or a read-write traverser.

Besides iterating a scene graph, the base class also provide per-object locking. In particular, this feature allows for multiple read-only traversers to run in parallel in a multithreaded environment. One can think of a single scene graph that is rendered to multiple output devices simultaneously.

Performing a special operation (render, save, etc.) on a given scene graph is achieved by means of overloading.

See also:
Working with Traversers and How to Derive a Traverser
Back to


Generated on Tue Mar 1 13:20:36 2005 for NVSGSDK by NVIDIA