Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class 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:

Go to the source code of this file.

Functions

NVSGSAVER_API bool getPlugInterface (const nvutil::UPIID &piid, nvutil::PlugIn *&pi)
 Get the PlugIn interface for this scene saver.
NVSGSAVER_API bool queryPlugInterfaceType (const nvutil::UPITID &pitid, std::vector< nvutil::UPIID > &piids)
 Query the supported types of PlugIn Interfaces.


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:47 2005 for NVSGSDK by NVIDIA