46 #ifndef __PLY_PARSER_H__ 47 #define __PLY_PARSER_H__ 92 class __declspec(dllexport) PLYparser {
111 std::map<Type, std::pair<int, std::string> > PropertyTable;
117 Type listType = Type::INVALID;
120 PlyProperty(std::istream &is);
121 PlyProperty(
const Type type,
const std::string &_name);
122 PlyProperty(
const Type list_type,
const Type prop_type,
const std::string &_name,
const ulonglong list_count);
128 std::vector<PLYparser::PlyProperty> properties;
130 PlyElement(std::istream &is);
131 PlyElement(
const std::string &_name,
const ulonglong count);
134 static Type propertyTypeFromString(
const std::string &t);
136 bool findIdxOfPropertiesAndElement(
137 const std::vector<PlyElement> &elements,
138 const std::string &elementKey,
139 const std::string &propertyKeys,
145 const std::string& fileName,
154 const std::string& fileName,
156 const int color_channels,
162 const char* fileName,
170 const char* fileName,
172 const int color_channels,
unsigned long long ulonglong