pyushkevich / cmrep

Continuous Medial Representation
GNU General Public License v3.0
7 stars 8 forks source link

changed vtklevelset -pl option to use DiscreteFlyingEdges3D, so normals will be preserved #6

Open jilei-hao opened 2 years ago

jilei-hao commented 2 years ago

This fixed a seg fault issue caused by missing normals, when normals needs to be flipped after transformation. The previous filter DiscreteMarchingCubes was not correctly generating normals in either point data or cell data, and DiscreteFlyingEdges3D was not available until vtk8.2.