Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SignedDistanceField] add module #1035

Merged
merged 15 commits into from
Jul 4, 2024
Merged

Conversation

MatPont
Copy link
Contributor

@MatPont MatPont commented Jun 10, 2024

This PR adds a module to compute a signed distance field given a triangulation representing a surface.

It implements an exact backend (accelerated with a BVH data structure), the fast marching backend [Sethian, 1996] being a fast approximation and the fast marching band method, a variant of the fast marching, being faster than the latter but also being a less good approximation.

Copy link
Collaborator

@julien-tierny julien-tierny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Mathieu,

thanks a lot for this great work.
I played quite extensively with the filter, and it works great (although I found that the FastMarchingBand was really really off, and that the Fast Marching was extremely slow!!!) But I guess that's fine. The default backend is doing a great job and looks fairly efficient.

Can you please address the few comments I posted in the code?
Thanks a lot!

core/base/signedDistanceField/CMakeLists.txt Outdated Show resolved Hide resolved
core/base/signedDistanceField/SignedDistanceField.h Outdated Show resolved Hide resolved
core/base/signedDistanceField/SignedDistanceField.h Outdated Show resolved Hide resolved
core/vtk/ttkSignedDistanceField/ttkSignedDistanceField.cpp Outdated Show resolved Hide resolved
paraview/xmls/SignedDistanceField.xml Outdated Show resolved Hide resolved
paraview/xmls/SignedDistanceField.xml Outdated Show resolved Hide resolved
@julien-tierny
Copy link
Collaborator

alright, looks good!
thanks!

@julien-tierny julien-tierny merged commit cb7c18e into topology-tool-kit:dev Jul 4, 2024
45 checks passed
@MatPont MatPont deleted the sdf branch July 4, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants