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

NVBLoadTraverser Class Reference

Internally used traverser for post-processing a just loaded NVB file. More...

#include <NVBLoadTraverser.h>

Inheritance diagram for NVBLoadTraverser:

Inheritance graph
[legend]
Collaboration diagram for NVBLoadTraverser:

Collaboration graph
[legend]
List of all members.

Public Methods

 NVBLoadTraverser (std::vector< const nvsg::Material * > &faceMappedMaterials)
 Constructor. More...

virtual ~NVBLoadTraverser (void)
 Destructor. More...


Protected Methods

virtual void handleCgFx (const nvsg::CgFx *p)
 Postprocessing on CgFx. More...

virtual void handleGeoNode (const nvsg::GeoNode *p)
 Postprocessing on GeoNode. More...

virtual void handleJitterCamera (const nvsg::JitterCamera *p, const nvsg::Node *root)
 Postprocessing on JitterCamera: Shouldn't be called at any time ! More...

virtual void handleLOD (const nvsg::LOD *p)
 Postprocessing on LOD: Shouldn't be called at any time ! More...

virtual void handleMaterial (const nvsg::Material *p, bool reset)
 Postprocessing on Material. More...

virtual void handleStateSet (const nvsg::StateSet *p)
 Postprocessing on StateSet. More...

virtual void handleStereoCamera (const nvsg::StereoCamera *p, const nvsg::Node *root)
 Postprocessing on StereoCamera: Shouldn't be called at any time ! More...

virtual void handleSwitch (const nvsg::Switch *p)
 Postprocessing on Switch: Shouldn't be called at any time ! More...

virtual void handleTriangles (const nvsg::Triangles *p)
 Postprocessig on Triangles. More...


Detailed Description

Internally used traverser for post-processing a just loaded NVB file.


Constructor & Destructor Documentation

NVBLoadTraverser::NVBLoadTraverser std::vector< const nvsg::Material * > &    faceMappedMaterials
 

Constructor.

virtual NVBLoadTraverser::~NVBLoadTraverser void    [virtual]
 

Destructor.


Member Function Documentation

virtual void NVBLoadTraverser::handleCgFx const nvsg::CgFx   p [protected, virtual]
 

Postprocessing on CgFx.

Just stores that a StateAttribute of type CgFx is encountered.

Reimplemented from nvtraverser::Traverser.

virtual void NVBLoadTraverser::handleGeoNode const nvsg::GeoNode   p [protected, virtual]
 

Postprocessing on GeoNode.

Traverses the GeoNode p and clears the state of encountering a CgFx.

Reimplemented from nvtraverser::Traverser.

virtual void NVBLoadTraverser::handleJitterCamera const nvsg::JitterCamera   p,
const nvsg::Node   root
[inline, protected, virtual]
 

Postprocessing on JitterCamera: Shouldn't be called at any time !

Reimplemented from nvtraverser::Traverser.

virtual void NVBLoadTraverser::handleLOD const nvsg::LOD   p [inline, protected, virtual]
 

Postprocessing on LOD: Shouldn't be called at any time !

Reimplemented from nvtraverser::Traverser.

virtual void NVBLoadTraverser::handleMaterial const nvsg::Material   p,
bool    reset
[protected, virtual]
 

Postprocessing on Material.

Stores the current Material for later references in a GeoSet.

virtual void NVBLoadTraverser::handleStateSet const nvsg::StateSet   p [protected, virtual]
 

Postprocessing on StateSet.

Clears the current Material and traverses the StateSet p.

Reimplemented from nvtraverser::Traverser.

virtual void NVBLoadTraverser::handleStereoCamera const nvsg::StereoCamera   p,
const nvsg::Node   root
[inline, protected, virtual]
 

Postprocessing on StereoCamera: Shouldn't be called at any time !

Reimplemented from nvtraverser::Traverser.

virtual void NVBLoadTraverser::handleSwitch const nvsg::Switch   p [inline, protected, virtual]
 

Postprocessing on Switch: Shouldn't be called at any time !

Reimplemented from nvtraverser::Traverser.

virtual void NVBLoadTraverser::handleTriangles const nvsg::Triangles   p [protected, virtual]
 

Postprocessig on Triangles.

For Triangles with a face mapped material on it the texture coordinates are remapped. For Triangles with a CgFx on it Texture coordinates as well as tangents and binormals are created.

Reimplemented from nvtraverser::Traverser.


The documentation for this class was generated from the following file:
Generated on Tue Mar 1 13:20:19 2005 for NVSGSDK by NVIDIA