#ifndef DUST3D_SKINNED_MESH_CREATOR_H #define DUST3D_SKINNED_MESH_CREATOR_H #include #include #include #include #include "model.h" #include "outcome.h" #include "jointnodetree.h" class SkinnedMeshCreator { public: SkinnedMeshCreator(const Outcome &outcome, const std::map &resultWeights); Model *createMeshFromTransform(const std::vector &matricies); private: Outcome m_outcome; std::map m_resultWeights; std::vector> m_verticesOldIndices; std::vector> m_verticesBindPositions; std::vector> m_verticesBindNormals; std::vector m_triangleColors; }; #endif