Skip to content

refactor(Mesh): use the new Mesh API

Emilie WERNERT requested to merge new-data-api into dev

What does this MR do?

  • Refactor Mesh iterator to access values on a const variable.
  • Use the new Mesh API in ::fwDataTools::Mesh to compute normals and improve unit tests.
    • Also fix the normals: when the cell contains more than 3 points, only the last 3 points were used to compute the normal.
  • Improve Image ans Array documentation.

How to test it?

Launch the unit tests.

Launch Tuto14MeshGenerator and try to compute and shake normals.

Test the Mesh conversion using fwVtkIO: load a mesh, save a mesh, display it with VTK....

Associated Issues/Merge Requests

Edited by Emilie WERNERT

Merge request reports