Commit 1ae04a22 by Michael Krämer

adding support for additional elements

1 parent 57bc372a
Pipeline #4191 passed
in 41 minutes 40 seconds
......@@ -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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!