8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDL_OBJ_MTL_SCANNER_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDL_OBJ_MTL_SCANNER_H
18 namespace SceneDescription
This class implements a simple scanner.
Definition: Scanner.h:31
This class implements a scanner able to scan obj mtl token.
Definition: MtlScanner.h:32
Keyword
Defines different obj mtl keywords.
Definition: MtlScanner.h:39
@ KEYWORD_MAP_BUMP
Mtl keyword.
Definition: MtlScanner.h:55
@ KEYWORD_KA
Mtl keyword 'Ka' identifying the ambient color.
Definition: MtlScanner.h:47
@ KEYWORD_KD
Mtl keyword 'Kd' identifying the diffuse color.
Definition: MtlScanner.h:49
@ KEYWORD_KS
Mtl keyword 'Ks' identifying the specular color.
Definition: MtlScanner.h:53
@ KEYWORD_MAP_OPACITY
Mtl keyword.
Definition: MtlScanner.h:67
@ KEYWORD_ILLUM
Mtl keyword 'illum' identifying the illumination model.
Definition: MtlScanner.h:45
@ KEYWORD_MAP_D
Mtl keyword.
Definition: MtlScanner.h:57
@ KEYWORD_TF
Mtl keyword.
Definition: MtlScanner.h:81
@ KEYWORD_NS
Mtl keyword.
Definition: MtlScanner.h:75
@ KEYWORD_MAP_KS
Mtl keyword.
Definition: MtlScanner.h:63
@ KEYWORD_MAP_NS
Mtl keyword.
Definition: MtlScanner.h:65
@ KEYWORD_KE
Mtl keyword 'Ke' identifying the emissive color.
Definition: MtlScanner.h:51
@ KEYWORD_MAP_KD
Mtl keyword.
Definition: MtlScanner.h:61
@ KEYWORD_MAP_KA
Mtl keyword.
Definition: MtlScanner.h:59
@ KEYWORD_SHARPNESS
Mtl keyword.
Definition: MtlScanner.h:79
@ KEYWORD_MAP_REFL
Mtl keyword.
Definition: MtlScanner.h:69
@ KEYWORD_REFL
Mtl keyword.
Definition: MtlScanner.h:77
@ KEYWORD_BUMP
Mtl keyword.
Definition: MtlScanner.h:41
@ KEYWORD_NEWMTL
Mtl keyword 'mtllib' identifying a material library.
Definition: MtlScanner.h:71
@ KEYWORD_D
Mtl keyword.
Definition: MtlScanner.h:43
@ KEYWORD_NI
Mtl keyword.
Definition: MtlScanner.h:73
MtlScanner(const std::string &filename)
Creates a new mtl scanner.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15