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

WRLLoader.h File Reference

#include <fstream>
#include <set>
#include "nvsg/nvsg.h"
#include "nvsg/PlugInterface.h"
#include "VRMLTypes.h"

Include dependency graph for WRLLoader.h:

Go to the source code of this file.

Namespaces

namespace  nvsg

Functions

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


Detailed Description


Function Documentation

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

Get the PlugIn interface for this scene loader.

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

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

WRLLOADER_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 PlugIn. If the Plug In Type ID pitid equals PITID_SCENE_LOADER, the vector piids is filled with one element PIID_WRL_SCENE_LOADER.

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


Generated on Tue Mar 1 13:20:22 2005 for NVSGSDK by NVIDIA