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
dilate voxels from a PointDataGrid #1717
Comments
Hi @PerspectivesLab, The topology of PointDataGrid's is slightly more locked down than that of other grid types as the idea is that the active states of PDG voxels represent whether that voxel contains any points or not (you can manipulate this yourself but a lot of tools work on that assumption) - so I wouldn't be suprised if the dilate/erode methods do nothing for PDGs. We can add a
I'm not 100% clear on what you're trying to do here - |
Hi @Idclip, thank's for the clarification, what i am trying to do at the moment, is serializing each voxels ( size 2 ) points to file, i know i can iterate adjacent voxels from a voxel and gather the points as but i would like to avoid if/statements in order to be fast. the main idea i had, was looking for a function to scale the voxel grid (all voxels from their center, only their bounds, not the data) so they overlap ( 0.3 ), |
Environment
Operating System: windows 10
Compiler: msvc 2019
Describe the problem
i am trying to dilate voxels of a PointDataGrid in order to save each voxels to file with an offset, the dilateActiveValues doesnt affect the voxel of a PointDataGrid.
ex: PointDataGrid with voxel 2.0, and a extra offset of 0.3. so thats all the saved voxels overlap by 0.3, is there a way to achieve that ?
i tried clip, clipGrid, ( to slow ), is there a fast way to slice/cut voxel volumes in a grid with an overlap/padding between voxels ? ( ex 0.3 )
The text was updated successfully, but these errors were encountered: