#ifndef POSE_MESH_CREATOR_H #define POSE_MESH_CREATOR_H #include #include "poser.h" #include "meshloader.h" #include "jointnodetree.h" #include "meshresultcontext.h" class PoseMeshCreator : public QObject { Q_OBJECT signals: void finished(); public: PoseMeshCreator(const Poser &poser, const MeshResultContext &meshResultContext, const std::map &resultWeights); ~PoseMeshCreator(); void createMesh(); MeshLoader *takeResultMesh(); public slots: void process(); private: std::vector m_resultNodes; MeshResultContext m_meshResultContext; std::map m_resultWeights; MeshLoader *m_resultMesh = nullptr; }; #endif