Plugin: Remeshing
To reproduce:
-Load a mesh (e.g. binary.stl from MITK-Data)
-Activate Advanced Options
-Activate "Force manifold"
-Press Remesh
-> Crash
Plugin: Remeshing
To reproduce:
-Load a mesh (e.g. binary.stl from MITK-Data)
-Activate Advanced Options
-Activate "Force manifold"
-Press Remesh
-> Crash
I found more meshes on my machine where this option crashes. It works, however, with "ball.stl" from MITK-Data.
Unfortunately, my QtCreator won't produce a stack trace and I don't know why.
My console output before the crash is:
[37.664] Start remeshing...
Mesh with 2376 polygons, 1228 points, 3607 edges
Bounding Box: [142.953, 166.776, 0]
[192.636, 238.297, 100.868]
The mesh is made of 2376 triangles
86 non-manifold edges and 86 boundary edges
The mesh has 1 connected components
Valences entropy: 2.72136
0 disconnected vertices, 1228 connected vertices
72.4756 percent of irregular vertices
Mesh geometry quality:
AngleMin=2.93616 AverageMinAngle=31.9605 Qmin=0.0855303 Qav=0.615706 P30=14.9411
Subdividing mesh
Subdividing mesh
Subdividing mesh
Computing Curvature ........
The curvature indicator calculation took :0.016 seconds.
Interpolating....... Done
Indicators Range : 0.007 9.498
Input mesh: 76373 vertices and 152064 faces
Creating 60 Regions for thread pooling...done
Multithreading layout computed in :0.085 seconds
Clustering......
Trigerring early convergence for speed increase
Convergence: 6 disconnected classes
Convergence: 0 disconnected classes
The clustering took :0.322 seconds.
Number of loops: 39
276 locking collisions detected
Added non-manifold edge 815,1044
Added non-manifold edge 677,1111
Mesh with 2416 polygons, 1228 points, 3645 edges
Bounding Box: [143.897, 167.167, 0.143059]
[192.358, 237.897, 100.665]
The mesh is made of 2416 triangles
48 non-manifold edges and 44 boundary edges
The mesh has 1 connected components
Valences entropy: 2.04591
0 disconnected vertices, 1228 connected vertices
56.2704 percent of irregular vertices
Mesh geometry quality:
AngleMin=10.5195 AverageMinAngle=44.647 Qmin=0.182364 Qav=0.803972 P30=1.04857
Not enough spare clusters! allocate more!
{39.429} [PersistenceActivator] DEBUG: PersistenceActivator::Unload
{39.429} [PersistenceActivator] DEBUG: m_PersistenceService GetReferenceCount 2
[39.429] Load persistence data from file: /home.local/tommy/.local/share/data/DKFZ/MITK Workbench_23324222/us/5_MitkPersistence/PersistentData.xml
This is a known issue. Unfortunately there is nothing we can do about it as the crash is triggered by ACVD in third-party code and we do not have the possibility to catch an exception or something similar.
We would need to contribute to ACVD to change something regarding remeshing crashes.