54 #include "MeshRepairPlugin.hh" 55 #include "MeshFixingT.hh" 56 #include "NonManifoldVertexFixingT.hh" 57 #include "BoundarySnappingT.hh" 77 emit log(
LOGERR, tr(
"Unsupported Object Type."));
82 emit createBackup(_objectId,
"snapBoundary",
UPDATE_ALL);
83 emit scriptInfo(
"snapBoundary(" + QString::number(_objectId) +
", " + QString::number(_eps) +
")");
104 emit log(
LOGERR, tr(
"Unsupported Object Type."));
109 emit createBackup(_objectId,
"fixNonManifoldVertices",
UPDATE_ALL);
110 emit scriptInfo(
"fixNonManifoldVertices(" + QString::number(_objectId) +
")");
126 emit log(
LOGERR,
"Fixmesh encountered Problems! Object: " + QString::number(_objectId) +
".");
132 emit createBackup(_objectId,
"Fixed mesh",
UPDATE_ALL);
134 emit scriptInfo(
"fixMesh(" + QString::number(_objectId) +
", " + QString::number(_epsilon) +
")" );
137 emit log(
LOGERR,tr(
"Unsupported Object Type for mesh fixing!") );
void fixNonManifoldVertices(int _objectId)
remove non-manifold vertices by duplicating them
Snaps selected vertices at boundaries.
bool getMesh(int _identifier, PolyMesh *&_mesh)
Get the Poly Mesh which has the given identifier.
void update_normals()
Compute normals for all primitives.
void snap(double _epsilon)
snaps boundary vertices
Removed non-manifold vertices from a mesh by duplicating them.
void fixMesh(int _objectId, double _epsilon)
Fix a mesh.
void snapBoundary(int _objectId, double _eps)
Snaps selected vertices at boundaries.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.