MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / setMesh

Method setMesh

source/MRMesh/MRObjectMesh.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void ObjectMesh::setMesh( std::shared_ptr< Mesh > mesh )
33{
34 if ( mesh == data_.mesh )
35 return;
36 data_.mesh = std::move(mesh);
37 selectFaces({});
38 selectEdges({});
39 setCreases({});
40 setDirtyFlags( DIRTY_ALL );
41}
42
43std::shared_ptr< Mesh > ObjectMesh::updateMesh( std::shared_ptr< Mesh > mesh )
44{

Callers 15

TESTFunction · 0.80
pythonModifySelectedMeshFunction · 0.80
MRToolsLibrary.cppFile · 0.80
addNewToolFromFile_Method · 0.80
addNewTool_Method · 0.80
loadFromFile_Method · 0.80
definePlaneMethod · 0.80
createMethod · 0.80
ViewportGlobalBasisMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64