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

NBFSaver Class Reference

A scene saver capable to save a NVSG scene to a "NBF" (Nvsg Binary File format) file. More...

#include <NBFSaver.h>

Inheritance diagram for NBFSaver:

Inheritance graph
[legend]
Collaboration diagram for NBFSaver:

Collaboration graph
[legend]
List of all members.

Public Methods

 NBFSaver ()
 constructor. More...

void deleteThis (void)
 PlugIn interface. More...

bool save (const nvsg::Scene &scene, const nvsg::ViewState *viewState, const std::string &filename)
 Realization of the pure virtual interface function of a SceneSaver. More...


Protected Methods

virtual ~NBFSaver ()

Protected Attributes

NBFSaveTraverserm_traverser
 Save traverser to be used with saving. More...


Detailed Description

A scene saver capable to save a NVSG scene to a "NBF" (Nvsg Binary File format) file.


Constructor & Destructor Documentation

NBFSaver::NBFSaver  
 

constructor.


Member Function Documentation

void NBFSaver::deleteThis void    [inline, virtual]
 

PlugIn interface.

Note:
Never call delete on a PlugIn, always use the member function.

Implements nvutil::PlugIn.

bool NBFSaver::save const nvsg::Scene   scene,
const nvsg::ViewState   viewState,
const std::string &    filename
 

Realization of the pure virtual interface function of a SceneSaver.

Saves the scene and the viewState to filename.

Parameters:
scene  scene to save
viewState  view state to save
filename  file name to save to


Member Data Documentation

NBFSaveTraverser* NBFSaver::m_traverser [protected]
 

Save traverser to be used with saving.


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