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

const nvsg::Sceneload (const std::string &filename, const std::vector< std::string > &searchPaths)
 Interface function to load a file.
virtual bool NewScene (const NVBRenderManager::NVBSceneInfo &scene)
 Handler called after loading a new Scene info.
virtual bool NewCamera (const NVBRenderManager::NVBCameraInfo &camera)
 Handler called after loading a new Camera info.
virtual bool NewLight (const NVBRenderManager::NVBLightInfo &light)
 Handler called after loading a new Light info.
virtual bool NewMaterial (const NVBRenderManager::NVBMaterialInfo &material)
 Handler called after loading a new Material info.
virtual bool NewTexture (const NVBRenderManager::NVBTextureInfo &texture)
 Handler called after loading a new Texture info.
virtual bool NewMesh (const NVBRenderManager::NVBMeshInfo &mesh)
 Handler called after loading a new Mesh info.
virtual bool NewShape (const NVBRenderManager::NVBShapeInfo &shape)
 Handler called after loading a new Shape info.
virtual bool NewHelper (const NVBRenderManager::NVBHelperInfo &helper)
 Handler called after loading a new Helper info.
virtual bool NewController (const NVBRenderManager::NVBControllerInfo &controller)
 Handler called after loading a new Controller info.
virtual bool NewMotion (const NVBRenderManager::NVBMotionInfo &motion)
 Handler called after loading a new Motion info.
virtual bool EndImport (void)
 Handler called at end of loading for post-processing.
virtual bool NVBImportError (const char *errortext, udword errorcode)
 Application-dependent error handler.
virtual void NVBLog (NVBRenderManager::TLogLevel level, LPSTR fmt,...)
 Application-dependent log method.
virtual void SetLogCallback (NVBRenderManager::TloggingCB cbfn, unsigned long userparam=0)
 For setting the Application-dependent log method.

Classes

struct  SkinnedTrianglesInfo

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