Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

objreader.C File Reference

Contains the implementation of the OBJReader class. More...

#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <map>
#include <string>
#include <limits>
#include <algorithm>
#include "geom/texturegl.H"
#include "mesh/bmesh.H"
#include "mesh/patch.H"
#include "mlib/points.H"
#include "std/config.H"
#include "objreader.H"

Include dependency graph for objreader.C:

Go to the source code of this file.

Classes

class  Reader< T >
 A semi-generic parser class for reading files formatted similiarly to .obj and .mtl files. More...
class  OBJFace
 A class to represent a face in a .obj file. More...
class  OBJMtl
 A class to represent a material in a .obj file. More...
class  MTLReader
 A class that can read .mtl files and create OBJMtl objects from them. More...
class  OBJReaderImpl
 The implementation of the OBJReader class. More...

Functions

void eat_line (istream &in, int delim= '\n')
 Ignore all the characters in stream in until the character delim is encountered. By default this ignores all characters until the next new-line is encountered, effectively "eating" the rest of the line.

Variables

static bool debug = Config::get_var_bool("DEBUG_OBJ_READER",false)


Detailed Description

Contains the implementation of the OBJReader class.

See also:
objreader.H

Definition in file objreader.C.


Function Documentation

void eat_line istream &  in,
int  delim = '\n'
[inline]
 

Ignore all the characters in stream in until the character delim is encountered. By default this ignores all characters until the next new-line is encountered, effectively "eating" the rest of the line.

Definition at line 39 of file objreader.C.

References max().

Referenced by Reader< T >::get_next_token(), and Reader< T >::ignore_element().


Variable Documentation

bool debug = Config::get_var_bool("DEBUG_OBJ_READER",false) [static]
 

Definition at line 30 of file objreader.C.


Generated on Mon Sep 18 11:42:21 2006 for jot by  doxygen 1.4.4