IS3D::VRMLParser Class Reference

#include <VRMLParser.H>

List of all members.

Public Member Functions

 VRMLParser (const std::string &filename, bool getCameraFromFile=true, bool addModelsToDrawMgr=true, bool loadInSecondThread=true)
virtual ~VRMLParser ()
void parseAndCreateModels ()
void addAllModelsToDrawMgr ()
int getNumModels ()
ModelObjRef getModel (int index=0)
float getPercentageDoneLoading ()
void checkForThreadComplete (EventRef e)

Static Public Attributes

static VRMLParserRef _parserLoadingInThread

Detailed Description

A home brew VRML parser that handles a reasonable subset of the VRML 1.0 specification. Extended from dlemmerm's original code so that it handles multiple models specified within the same VRML file.

Constructor & Destructor Documentation

IS3D::VRMLParser::VRMLParser ( const std::string &  filename,
bool  getCameraFromFile = true,
bool  addModelsToDrawMgr = true,
bool  loadInSecondThread = true 

virtual IS3D::VRMLParser::~VRMLParser (  )  [virtual]

Member Function Documentation

void IS3D::VRMLParser::parseAndCreateModels (  ) 

void IS3D::VRMLParser::addAllModelsToDrawMgr (  ) 

int IS3D::VRMLParser::getNumModels (  ) 

ModelObjRef IS3D::VRMLParser::getModel ( int  index = 0  ) 

float IS3D::VRMLParser::getPercentageDoneLoading (  ) 

void IS3D::VRMLParser::checkForThreadComplete ( EventRef  e  ) 

Member Data Documentation

The documentation for this class was generated from the following file:

Generated on Wed Jan 26 06:31:21 2011 for IS3D by  doxygen 1.5.6