Skip to content

Clean the output of the vtkMaterialInterface filter

Application of a Reflect filter (or a PlotOverLine filter) after the vtkMaterialInterface may lead to:

This MR fixes this by applying a vtkCleanPolyData filter at the end of the vtkMaterialInterface algorithm.

Two things are to be noticed:

  • the case where the output of the vtkMaterialInterface is a vtkUnstructuredGrid is not handled yet because we don't know if it is problematic too
  • no test can be added right here to check this fix because the problems described above do not occur with the vtm/vtu databases of this repo. They only appear when manipulating original Hercule databases. That's why another MR (globalintegrationtests!19 (merged)) is planned in globalintegrationtest to add a test that check this fix while working on a Hercule database.

Closes #66 (closed) Closes #64 (closed)

Edited by guillaume Peillex

Merge request reports