Convert polygonal mesh to point cloud using GVDB Voxels

How to convert a polygonal mesh to point cloud using GVDB Voxels library?