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

NVSGSaver Class Reference

A Scene Saver for nvsg files. More...

#include <NVSGSaver.h>

Inheritance diagram for NVSGSaver:

Inheritance graph
[legend]
Collaboration diagram for NVSGSaver:

Collaboration graph
[legend]
List of all members.

Public Methods

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...


Detailed Description

A Scene Saver for nvsg files.

NVSG files can be produced with the sample ViewerVR. They are text files that represent a Scene and a ViewState.


Member Function Documentation

void NVSGSaver::deleteThis void    [inline, virtual]
 

PlugIn interface.

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

Implements nvutil::PlugIn.

bool NVSGSaver::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


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