Classes | Functions | Variables

obj Namespace Reference


class  Model


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


static const eParseBehavior s_parseFlags = eParse_Strip

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

Function Documentation

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

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

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

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

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

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

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

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

static uv_t obj::readUV ( 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.