18 #ifndef __H__OCULAR_GRAPHICS_MESH_RESOURCE_LOADER_PLY_ELEMENT_PARSER__H__
19 #define __H__OCULAR_GRAPHICS_MESH_RESOURCE_LOADER_PLY_ELEMENT_PARSER__H__
21 #include "PLYParser.hpp"
51 virtual bool parse(std::string
const& line, std::vector<Vertex>& vertices, std::vector<uint32_t>& indices, uint32_t& currVert, uint32_t& currIndex,
Math::Vector3f& min,
Math::Vector3f& max,
bool isASCII =
true)
override;
53 void addProperty(PLYPropertyType type);
59 void insertPropertyValue(
int propIndex,
float propValue,
Vertex& vertex);
60 bool isTrailingWhitespace(std::string
const&
string, uint32_t
const& index)
const;
62 std::vector<PLYPropertyType> m_Properties;
63 uint32_t m_NumProperties;
virtual bool parse(std::string const &line, std::vector< Vertex > &vertices, std::vector< uint32_t > &indices, uint32_t &currVert, uint32_t &currIndex, Math::Vector3f &min, Math::Vector3f &max, bool isASCII=true) override
Definition: PLYElementParser.cpp:48
Definition: PLYParser.hpp:45
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: PLYElementParser.hpp:41
Definition: Vertex.hpp:43