Commit 1ae04a22 authored by Michael Krämer's avatar Michael Krämer
Browse files

adding support for additional elements

parent 57bc372a
Pipeline #4191 passed with stage
in 41 minutes and 40 seconds
This diff is collapsed.
......@@ -165,7 +165,6 @@ private:
mutable unsigned int vertexCount_;
mutable unsigned int faceCount_;
mutable ValueType vertexType_;
mutable uint vertexDimension_;
enum Property {
......@@ -190,8 +189,23 @@ private:
PropertyInfo(Property _p, ValueType _v):property(_p),value(_v),name(""),listIndexType(Unsupported){}
PropertyInfo(Property _p, ValueType _v, const std::string& _n):property(_p),value(_v),name(_n),listIndexType(Unsupported){}
mutable std::vector< PropertyInfo > vertexProperties_;
mutable std::vector< PropertyInfo > faceProperties_;
enum Element {
// Information on the elements
struct ElementInfo
Element element_;
std::string name_;
unsigned int count_;
std::vector< PropertyInfo > properties_;
mutable std::vector< ElementInfo > elements_;
template<typename T>
inline void read(_PLYReader_::ValueType _type, std::istream& _in, T& _value, OpenMesh::GenProg::TrueType /*_binary*/) const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment