Xface Core Library: XEngine::IModelLoader Class Reference

XFace / XEngine / XMath

XEngine::IModelLoader Class Reference
[XEngine]

#include <IModelLoader.h>

Inheritance diagram for XEngine::IModelLoader:

XEngine::OBJLoader XEngine::VRML1Loader XEngine::VRML97Loader List of all members.

Detailed Description

Author:
Koray Balci
Version:
1.0
Date:
March 2003
This class should be the base for the scene graph loaders. Currently, has only one pure virtual function to define the interface to load scenes.

With this abstract base class, we ensure future extendibility for various 3D model/scene formats.


Public Member Functions

virtual std::list< boost::shared_ptr<
Drawable > > 
loadModel (const std::string &filename, const std::string &dir="./")=0

Member Function Documentation

virtual std::list<boost::shared_ptr<Drawable> > XEngine::IModelLoader::loadModel const std::string &  filename,
const std::string &  dir = "./"
[pure virtual]
 

Pure virtual function for loader.

Parameters:
filename Name of the model file.
dir Path of the model file.
Returns:
the list of the names of meshes loaded.

Implemented in XEngine::OBJLoader, XEngine::VRML1Loader, and XEngine::VRML97Loader.


The documentation for this class was generated from the following file:
Generated on Mon Aug 28 15:39:25 2006 for Xface Core Library by  doxygen 1.4.6-NO