24 #ifndef __GEOMETRY_LOADER_INCLUDE__
25 #define __GEOMETRY_LOADER_INCLUDE__
50 std::vector<GLfloat> x,
58 std::vector<GLuint> av,
71 static GLfloat readNextNumber(
const std::string& line,
size_t& p,
const int lineNumber,
const std::string& sourceName);
72 static void readFaceComponent(
const std::string& line,
size_t& p, std::vector<GLuint>& v, std::vector<GLuint>& n, std::vector<GLuint>& t,
const int lineNumber,
const std::string& sourceName);
73 static void processLine(
const std::string& line, UnshapedData& data,
const bool strict,
const int lineNumber,
const std::string& sourceName, std::vector<GLuint>& vertexIndicesBuffer, std::vector<GLuint>& normalIndicesBuffer, std::vector<GLuint>& textureIndicesBuffer);
74 static void completeModelData(UnshapedData& data);
75 static bool testIndices(
const UnshapedData& data);
76 static void reorderData(UnshapedData& data);
83 static CustomModel load(
const std::string& filename,
const bool strict=
false);
99 static CustomModel load(
const std::string& filename);
Module description for the LayoutLoader class.
Definition: LayoutLoaderModules.hpp:746
Definition: Component.hpp:32
Definition: Component.hpp:41
Geometry : build a model.
Definition: Geometry.hpp:240
Geometry objects and memory management.
Wavefront Object file loader (OBJ).
Definition: GeometryLoader.hpp:45
Definition: Geometry.hpp:181
#define LAYOUT_LOADER_ARGUMENTS_LIST
Definition: LayoutLoaderModules.hpp:848
StereoLithography file loader (STL, binary).
Definition: GeometryLoader.hpp:90
OpenGL includes and tools.
Definition: Component.hpp:34