8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDL_OBJ_SCANNER_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDL_OBJ_SCANNER_H
18 namespace SceneDescription
86 explicit OBJScanner(
const std::string& filename,
float* progress =
nullptr,
bool* cancel =
nullptr);
This class implements a simple scanner.
Definition: Scanner.h:31
This class implements a scanner able to scan obj token.
Definition: OBJScanner.h:32
Symbol
Defines different obj symbols.
Definition: OBJScanner.h:72
OBJScanner(const std::string &filename, float *progress=nullptr, bool *cancel=nullptr)
Creates a new obj scanner.
Keyword
Defines different obj keywords.
Definition: OBJScanner.h:39
@ KEYWORD_USEMTL
OBJ keyword 'usemtl' identifying a 'use material state'.
Definition: OBJScanner.h:57
@ KEYWORD_O
OBJ keyword.
Definition: OBJScanner.h:49
@ KEYWORD_L
OBJ keyword 'l' identifying a line.
Definition: OBJScanner.h:45
@ KEYWORD_F
OBJ keyword 'f' identifying a face.
Definition: OBJScanner.h:41
@ KEYWORD_P
OBJ keyword 'p' identifying a point.
Definition: OBJScanner.h:53
@ KEYWORD_G
OBJ keyword 'g' identifying a group.
Definition: OBJScanner.h:43
@ KEYWORD_S
OBJ keyword 's' identifying a smoothing factor.
Definition: OBJScanner.h:55
@ KEYWORD_V
OBJ keyword 'v' identifying a vertex.
Definition: OBJScanner.h:59
@ KEYWORD_VN
OBJ keyword 'vn' identifying a normal.
Definition: OBJScanner.h:61
@ KEYWORD_MTLLIB
OBJ keyword 'mtllib' identifying a material library.
Definition: OBJScanner.h:47
@ KEYWORD_VP
OBJ keyword 'vp' identifiying a parameter.
Definition: OBJScanner.h:63
@ KEYWORD_OFF
OBJ keyword.
Definition: OBJScanner.h:51
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15