I am looking for some suggestions of how to achieve this: Re-divide a surface (polydata with only triangles) to get similar-sized cells with minimal change from the original surface. May be I am overlooking something, but I was unable to find any filters that achieves this.
Animations in optimesh’s gihub page conceptually demonstrates what I am looking for. The main concern is that the original surface may have very different-sized cells, some of these may be elongated/streched in different ways. A toy example of such surface is shown below (simple sphere) with very small & stretched triangles near poles. In my experience, I am finding more of such surfaces (with very different-sized cells) after applying
vtkQuadricDecimation. These surface tend to produce weird artifacts in further processing like curvature etc.
My question is inline with this question with no clear answers. optimesh package mentioned earlier does not really work 3D surfaces. It supports vtk file-format but does not support polydata [Error: Only VTK ‘UNSTRUCTURED_GRID’, ‘STRUCTURED_POINTS’, ‘STRUCTURED_GRID’, ‘RECTILINEAR_GRID’ supported (not POLYDATA)]
In my application it is highly desirable to have points uniformly spaced over the surface. Surfaces I generated were generated as following: Threshold volumetric data → marching cubes → smooth using vtkWindowedSincPolyDataFilter → vtkQuadricDecimation
Thank you in advance!
Toy surface with non-uniform cells: