Classes | Functions | Variables

obj Namespace Reference

Classes

class  Model

Functions

static void setMaterial (IN int flag, IN const glut::fcolor_t &c) throw ()
static glut::fcolor_t parseColor (IN const char *p)
char * findChar (IN char *string, IN char find) throw ()
static point3d_t readPoint3d (IN const char *p)
static uv_t readUV (IN const char *p)

Variables

static const eParseBehavior s_parseFlags = eParse_Strip



typedef std::map< std::string,
smart_ptr< glut::Material > > 
map_mtl_t
map_mtl_t parseOBJMaterials (IN nstream::Stream *stream)
 given a stream for an OBJ material file, returns a map of name --> material

Function Documentation

static void obj::setMaterial ( IN int  flag,
IN const glut::fcolor_t c 
) throw () [static]

Definition at line 52 of file obj-material.cpp.

static glut::fcolor_t obj::parseColor ( IN const char *  p  )  [static]

Definition at line 66 of file obj-material.cpp.

char* obj::findChar ( IN char *  string,
IN char  find 
) throw ()

Definition at line 94 of file obj-model.cpp.

static point3d_t obj::readPoint3d ( IN const char *  p  )  [static]

Definition at line 111 of file obj-model.cpp.

static uv_t obj::readUV ( IN const char *  p  )  [static]

Definition at line 125 of file obj-model.cpp.


Variable Documentation

static const eParseBehavior obj::s_parseFlags = eParse_Strip [static]

Definition at line 39 of file obj-material.cpp.