OBJParser
OBJ File Parser Powered by Boost Spirit
|
Public Member Functions | |
void | addCurve (uint32_t state, float startParam, float endParam, std::vector< OBJVertexGroup > const &controlPoints) |
void | addCurve2D (uint32_t state, std::vector< int32_t > const &controlPoints) |
void | addSurface (uint32_t state, float startU, float endU, float startV, float endV, std::vector< OBJVertexGroup > const &controlPoints) |
void | addParameterU (std::vector< float > const ¶meters) |
void | addParameterV (std::vector< float > const ¶meters) |
void | addTrim (OBJSimpleCurve const &trim) |
void | addHole (OBJSimpleCurve const &hole) |
void | addSpecialCurve (OBJSimpleCurve const &scurve) |
void | addSpecialPoints (std::vector< int32_t > const &points) |
Public Attributes | |
std::vector < OBJFreeFormAttributeState > | attributeStates |
Collection of all attribute states. Each state represents a 'ctype' statement and the following state settings. | |
std::vector< OBJVector3 > | vertexParameterData |
Collection of all data specified by 'vp' statements. These are referenced by OBJCurve2D::parameterVertexIndices. | |
std::vector< OBJCurve > | curves |
Collection of all Curves specified by 'curv' statements. | |
std::vector< OBJCurve2D > | curves2D |
Collection of all Curve2Ds specified by 'curv2' statements. | |
std::vector< OBJSurface > | surfaces |
Collection of all Surfaces specified by 'surf' statements. | |
std::vector< OBJSurfaceConnection > | connections |
Collection of all Surface connections specified by 'con' statements. | |
Protected Member Functions | |
OBJFreeForm * | getLatestFreeForm () |
Protected Attributes | |
FreeFormType | m_LatestFreeForm |