Open kfarivar opened 3 years ago
I am in a very similar situation. It seems that the C++ API has (or once had) the AddVoxel() function that at least provided a way to do this, but it doesn't seem to have made it over to Python, and it wasn't a full solution in any case - having a VoxelGrid(points) constructor as already exists for PointCloud would be very helpful.
I am trying to voxelize pointcloud and a reconstructed mesh. and I want to then add the voxels that already don't exist in the pointcloud from the mesh. But apparently union or intersection is not supported on voxel grids. I tried to get the voxel coordinates do my set operations on the voxel coordinates and then return it to a voxelgrid but then I realised there doesn't seem to be a way to initialize a voxelgrid from a set of voxel coordinates.