OBJParser
OBJ File Parser Powered by Boost Spirit
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MTLGrammar Class Reference

#include <MTLGrammar.hpp>

Inheritance diagram for MTLGrammar:

Public Member Functions

 MTLGrammar (OBJState *state)
 
void resetCurrentTexture ()
 
void finishCurrentMaterial ()
 

Protected Member Functions

void setupGeneralRules ()
 
void setupNewMaterialRules ()
 
void setupColorIlluminationRules ()
 
void setupTextureMapRules ()
 
void setupTextureMapFlagRules ()
 
void setupReflectionMapRules ()
 

Protected Attributes

qi::rule< OBJIterator, MTLSkipperruleStart
 
qi::rule< OBJIterator, MTLSkipperruleNewMaterial
 
qi::rule< OBJIterator, MTLSkipperruleColorIllumination
 
qi::rule< OBJIterator, MTLSkipperruleTextureMap
 
qi::rule< OBJIterator, MTLSkipperruleReflectionMap
 
qi::rule< OBJIterator,
std::string(), MTLSkipper
ruleString
 
qi::rule< OBJIterator,
std::string(), MTLSkipper
ruleStringNoSkip
 
qi::rule< OBJIterator,
OBJVector2(), MTLSkipper
ruleVector2Data
 
qi::rule< OBJIterator,
OBJVector3(), MTLSkipper
ruleVector3Data
 
qi::rule< OBJIterator, bool(),
MTLSkipper
ruleBoolOnOffTrue
 Parses flag value "on" and "off". If none specified, returns TRUE by default.
 
qi::rule< OBJIterator, bool(),
MTLSkipper
ruleBoolOnOffFalse
 Parses flag value "on" and "off". If none specified, returns FALSE by default.
 
qi::rule< OBJIterator, MTLSkipperruleColor
 
qi::rule< OBJIterator, MTLSkipperruleIllumination
 
qi::rule< OBJIterator,
OBJMaterialPropertyRFL(),
MTLSkipper
ruleRFL
 
qi::rule< OBJIterator, MTLSkipperruleAmbientRGB
 
qi::rule< OBJIterator, MTLSkipperruleAmbientSpectral
 
qi::rule< OBJIterator, MTLSkipperruleAmbientXYZ
 
qi::rule< OBJIterator, MTLSkipperruleAmbient
 
qi::rule< OBJIterator, MTLSkipperruleDiffuseRGB
 
qi::rule< OBJIterator, MTLSkipperruleDiffuseSpectral
 
qi::rule< OBJIterator, MTLSkipperruleDiffuseXYZ
 
qi::rule< OBJIterator, MTLSkipperruleDiffuse
 
qi::rule< OBJIterator, MTLSkipperruleSpecularRGB
 
qi::rule< OBJIterator, MTLSkipperruleSpecularSpectral
 
qi::rule< OBJIterator, MTLSkipperruleSpecularXYZ
 
qi::rule< OBJIterator, MTLSkipperruleSpecular
 
qi::rule< OBJIterator, MTLSkipperruleEmissiveRGB
 
qi::rule< OBJIterator, MTLSkipperruleEmissiveSpectral
 
qi::rule< OBJIterator, MTLSkipperruleEmissiveXYZ
 
qi::rule< OBJIterator, MTLSkipperruleEmissive
 
qi::rule< OBJIterator, MTLSkipperruleTransmissionRGB
 
qi::rule< OBJIterator, MTLSkipperruleTransmissionSpectral
 
qi::rule< OBJIterator, MTLSkipperruleTransmissionXYZ
 
qi::rule< OBJIterator, MTLSkipperruleTransmission
 
qi::rule< OBJIterator, bool(),
MTLSkipper
ruleDissolveHalo
 
qi::rule< OBJIterator,
OBJMaterialDissolve(),
MTLSkipper
ruleDissolveData
 
qi::rule< OBJIterator, MTLSkipperruleDissolve
 
qi::rule< OBJIterator, MTLSkipperruleTransparency
 
qi::rule< OBJIterator, MTLSkipperruleSpecularExponent
 
qi::rule< OBJIterator, MTLSkipperruleSharpness
 
qi::rule< OBJIterator, MTLSkipperruleOpticalDensity
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlags
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapBody
 
qi::rule< OBJIterator, MTLSkipperruleTextureAntiAliasing
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapAmbient
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapDiffuse
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapSpecular
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapSpecularExponent
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapEmissive
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapDissolve
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapDecal
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapDisplacement
 
qi::rule< OBJIterator, MTLSkipperruleTextureMapBump
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagBlendU
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagBlendV
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagColorCorrection
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagClamp
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagOffset
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagScale
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagTurbulence
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagRangeMod
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagResolution
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagBumpMultiplier
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagBoost
 
qi::rule< OBJIterator, MTLSkipperruleTextureFlagimfchan
 
qi::rule< OBJIterator, MTLSkipperruleReflectionMapSphere
 
qi::rule< OBJIterator, MTLSkipperruleReflectionMapCubeTop
 
qi::rule< OBJIterator, MTLSkipperruleReflectionMapCubeBottom
 
qi::rule< OBJIterator, MTLSkipperruleReflectionMapCubeFront
 
qi::rule< OBJIterator, MTLSkipperruleReflectionMapCubeBack
 
qi::rule< OBJIterator, MTLSkipperruleReflectionMapCubeLeft
 
qi::rule< OBJIterator, MTLSkipperruleReflectionMapCubeRight
 
OBJStatem_pOBJState
 
OBJMaterial m_CurrentMaterial
 The current material being built by the parser.
 
OBJTextureDescriptor m_CurrentTexture
 

Detailed Description

Spirit grammar for parsing MTL format files.

Based on the format specification at: http://www.paulbourke.net/dataformats/mtl/


The documentation for this class was generated from the following files: