24 const MeshPart& newMeshPart,
29 std::shared_ptr<ObjectMesh> objectMesh,
Definition MRObjectMesh.h:11
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
MRVIEWER_API void emplaceMeshAttributes(std::shared_ptr< ObjectMesh > objectMesh, MeshAttributes &&newAttribute)
set new mesh attributes and saving the history of changing mesh attributes
MRVIEWER_API std::optional< MeshAttributes > projectMeshAttributes(const ObjectMesh &oldMeshObj, const MeshPart &newMeshPart, ProgressCallback cb={})
Definition MRProjectMeshAttributes.h:12
VertColors colorMap
Definition MRProjectMeshAttributes.h:14
FaceColors faceColors
Definition MRProjectMeshAttributes.h:17
VertUVCoords uvCoords
Definition MRProjectMeshAttributes.h:13
TexturePerFace texturePerFace
Definition MRProjectMeshAttributes.h:16