VTK
Use vtkMarchingCubes To Take Surface Info From Volume
Here is a simple example which use vtkMarchingCubes to take iossurface from volume. We use vtkVoxelModeller to create an image data which has scalar data to mark where is inside and outside. Output: