[vtkusers] vtkMarchingCubes

James Dessart james at rogue-research.com
Wed Apr 23 13:58:55 EDT 2003


On Wed, 23 Apr 2003, Marwan Adada wrote:

> I have an 8 bit volume data (205x233x251) that I need to pass to
> vtkMarchingCubes.  I tried using vtkImageReader but it seems not to work
> with vtkMarchingCubes.  I tried vtkImageData and still couldn't pass it to
> vtkMarchingCubes.  I know vtkVolume16Reader works with vtkMarchingCubes, but
> my data 8bits not 16bits.  I am wondering what vtk 8bit Readers does
> vtkMarchingCubes accepts, Any Ideas??

What you could try would be to read it in as 16-bit values, and run
marching cubes on that.  The values would be between 0-255, as 8-bit
values generally are, but that shouldn't matter, if you specify your
threshold for marching cubes properly.

hope that helps,
James




More information about the vtkusers mailing list