#ifndef DUST3D_STITCHER_H #define DUST3D_STITCHER_H #include #include #include "meshwrapper.h" class MeshStitcher { public: ~MeshStitcher(); void setVertices(const std::vector *vertices); bool stitch(const std::vector, QVector3D>> &edgeLoops); const std::vector> &newlyGeneratedFaces(); void getFailedEdgeLoops(std::vector &failedEdgeLoops); private: const std::vector *m_positions; std::vector> m_newlyGeneratedFaces; MeshWrapper *m_wrapper = nullptr; bool stitchByQuads(const std::vector, QVector3D>> &edgeLoops); }; #endif