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

NVSGSaver.h File Reference

#include "nvsg/nvsgapi.h"
#include "nvtraverser/Traverser.h"
#include "nvsg/AnimatedQuads.h"
#include "nvsg/PlugInterface.h"
#include "nvsg/StateAttribute.h"
#include <set>

Include dependency graph for NVSGSaver.h:

Include dependency graph

Go to the source code of this file.

Compounds

class  NVSGSaveTraverser
 A Traverser to traverse a scene on saving to nvsg file format. More...

class  NVSGSaver
 A Scene Saver for nvsg files. More...


Functions

NVSGSAVER_API bool getPlugInterface (const nvutil::UPIID &piid, nvutil::PlugIn *&pi)
 Get the PlugIn interface for this scene saver. More...

NVSGSAVER_API bool queryPlugInterfaceType (const nvutil::UPITID &pitid, std::vector< nvutil::UPIID > &piids)
 Query the supported types of PlugIn Interfaces. More...


Detailed Description


Function Documentation

NVSGSAVER_API bool getPlugInterface const nvutil::UPIID   piid,
nvutil::PlugIn *&    pi
 

Get the PlugIn interface for this scene saver.

Every PlugIn has to resolve this function. It is used to get a pointer to a PlugIn class, in this case a NVSGSaver. If the PlugIn ID piid equals PIID_NVSG_SCENE_SAVER, a NVSGSaver is created and returned in pi.

Returns:
true, if the requested PlugIn could be created, otherwise false

NVSGSAVER_API bool queryPlugInterfaceType const nvutil::UPITID   pitid,
std::vector< nvutil::UPIID > &    piids
 

Query the supported types of PlugIn Interfaces.

Every PlugIn has to resolve this function. It is used to query the supported Interface types of this Plug In. If the Plug In Type ID pitid equals PITID_SCENE_SAVER, the vector piids is filled with one element PIID_NVSG_SCENE_SAVER.

Returns:
true, if a PITID_SCENE_SAVER is requested, otherwise false


Generated on Tue Mar 1 13:19:42 2005 for NVSGSDK by NVIDIA