Skip to content

Sparse Voxel Grid #937

Merged
danielepanozzo merged 2 commits intolibigl:devfrom
fwilliams:sparse-grid-bfs
Oct 15, 2018
Merged

Sparse Voxel Grid #937
danielepanozzo merged 2 commits intolibigl:devfrom
fwilliams:sparse-grid-bfs

Conversation

@fwilliams
Copy link
Copy Markdown
Collaborator

Construct a sparse voxel grid from an implicit function

…rid cells surrounding an input surface. The function takes a point on the surface as input and finds all those epsilon grid cells that intersect the surface using a breadth first search over the grid space.
#include <vector>


struct RowVector3iHash {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is polluting the standard namespace. Move into libigl, and convert all functions to inline lambdas

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

move into igl

…rid cells surrounding an input surface. The function takes a point on the surface as input and finds all those epsilon grid cells that intersect the surface using a breadth first search over the grid space.
@danielepanozzo danielepanozzo merged commit 4f030ac into libigl:dev Oct 15, 2018
gmin7 pushed a commit to gmin7/libigl that referenced this pull request Jun 8, 2020
* Add a utility function which computes a sparse set of epsilon-sized grid cells surrounding an input surface. The function takes a point on the surface as input and finds all those epsilon grid cells that intersect the surface using a breadth first search over the grid space.

* Add a utility function which computes a sparse set of epsilon-sized grid cells surrounding an input surface. The function takes a point on the surface as input and finds all those epsilon grid cells that intersect the surface using a breadth first search over the grid space.


Former-commit-id: 4f030ac
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