3D cells/voxels, vtkGeometryFilter, binary image surface extraction
I am trying to extract the exact (without interpolation) voxel boundary
of a binary image.
The man page of vtkGeometryFilter states that it will extract the
boundary of 3D cells
(the 2D faces that are not shared).
How do I construct such a voxel dataset from binary image data (passed
through the vtkThresholdFilter)?
So far, I tried to use vtkGlyph3D combined with an adapted vtkCubeSource
(so that it would return a voxel).