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

NVNVB Class Reference

Internally used class for loading NVB files. More...

#include <NVNVB.h>

Collaboration diagram for NVNVB:

Collaboration graph
[legend]
List of all members.

Public Methods

 NVNVB (void)
 ~NVNVB (void)
const nvsg::Sceneload (const std::string &filename, const std::vector< std::string > &searchPaths)
 Interface function to load a file. More...

virtual bool NewScene (const NVBRenderManager::NVBSceneInfo &scene)
 Handler called after loading a new Scene info. More...

virtual bool NewCamera (const NVBRenderManager::NVBCameraInfo &camera)
 Handler called after loading a new Camera info. More...

virtual bool NewLight (const NVBRenderManager::NVBLightInfo &light)
 Handler called after loading a new Light info. More...

virtual bool NewMaterial (const NVBRenderManager::NVBMaterialInfo &material)
 Handler called after loading a new Material info. More...

virtual bool NewTexture (const NVBRenderManager::NVBTextureInfo &texture)
 Handler called after loading a new Texture info. More...

virtual bool NewMesh (const NVBRenderManager::NVBMeshInfo &mesh)
 Handler called after loading a new Mesh info. More...

virtual bool NewShape (const NVBRenderManager::NVBShapeInfo &shape)
 Handler called after loading a new Shape info. More...

virtual bool NewHelper (const NVBRenderManager::NVBHelperInfo &helper)
 Handler called after loading a new Helper info. More...

virtual bool NewController (const NVBRenderManager::NVBControllerInfo &controller)
 Handler called after loading a new Controller info. More...

virtual bool NewMotion (const NVBRenderManager::NVBMotionInfo &motion)
 Handler called after loading a new Motion info. More...

virtual bool EndImport (void)
 Handler called at end of loading for post-processing. More...

virtual bool NVBImportError (const char *errortext, udword errorcode)
 Application-dependent error handler. More...

virtual void NVBLog (NVBRenderManager::TLogLevel level, LPSTR fmt,...)
 Application-dependent log method. More...

virtual void SetLogCallback (NVBRenderManager::TloggingCB cbfn, unsigned long userparam=0)
 For setting the Application-dependent log method. More...


Detailed Description

Internally used class for loading NVB files.


Member Function Documentation

const nvsg::Scene * NVNVB::load const std::string &    filename,
const std::vector< std::string > &    searchPaths
[inline]
 

Interface function to load a file.

Returns:
pointer to the scene in the file.
Parameters:
filename  name of file to load
searchPaths  array of paths to use for searching

virtual bool NVNVB::NewScene const NVBRenderManager::NVBSceneInfo &    scene [virtual]
 

Handler called after loading a new Scene info.

virtual bool NVNVB::NewCamera const NVBRenderManager::NVBCameraInfo &    camera [virtual]
 

Handler called after loading a new Camera info.

virtual bool NVNVB::NewLight const NVBRenderManager::NVBLightInfo &    light [virtual]
 

Handler called after loading a new Light info.

virtual bool NVNVB::NewMaterial const NVBRenderManager::NVBMaterialInfo &    material [virtual]
 

Handler called after loading a new Material info.

virtual bool NVNVB::NewTexture const NVBRenderManager::NVBTextureInfo &    texture [virtual]
 

Handler called after loading a new Texture info.

virtual bool NVNVB::NewMesh const NVBRenderManager::NVBMeshInfo &    mesh [virtual]
 

Handler called after loading a new Mesh info.

virtual bool NVNVB::NewShape const NVBRenderManager::NVBShapeInfo &    shape [virtual]
 

Handler called after loading a new Shape info.

virtual bool NVNVB::NewHelper const NVBRenderManager::NVBHelperInfo &    helper [virtual]
 

Handler called after loading a new Helper info.

virtual bool NVNVB::NewController const NVBRenderManager::NVBControllerInfo &    controller [virtual]
 

Handler called after loading a new Controller info.

virtual bool NVNVB::NewMotion const NVBRenderManager::NVBMotionInfo &    motion [virtual]
 

Handler called after loading a new Motion info.

virtual bool NVNVB::EndImport void    [virtual]
 

Handler called at end of loading for post-processing.

virtual bool NVNVB::NVBImportError const char *    errortext,
udword    errorcode
[virtual]
 

Application-dependent error handler.

virtual void NVNVB::NVBLog NVBRenderManager::TLogLevel    level,
LPSTR    fmt,
...   
[virtual]
 

Application-dependent log method.

virtual void NVNVB::SetLogCallback NVBRenderManager::TloggingCB    cbfn,
unsigned long    userparam = 0
[virtual]
 

For setting the Application-dependent log method.


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