[vtk-developers] vtkVoxelModeller converted from BIT to INT

David Doria daviddoria+vtk at gmail.com
Mon Mar 15 11:01:59 EDT 2010


On Mon, Mar 15, 2010 at 10:35 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> I didn't say phased out, I said not well supported. Here isw what I
> said last fall:
>
> "I think this is a bug in the writer. The scalar data type is VTK_BIT.
> I'm, guessing the writer can't handle this type.
>
> I changed the scalar type to short in my local copy of vtk and the
> program ran without warnings. However, I still could not read the file
> in paraview. But I changed the writer to a vtkDataSetWriter and it ran
> without warning. In this case, when the type was short, I was able to
> see the voxels. As VTK_BIT I could not.
>
> VTK_BIT is not a well-supported type."
>

Will,

Would VTK_SHORT still use too much memory? It just seems much much simpler
to change 2 lines in vtkVoxelModeller - a change to a writer seems like it
would never get approved.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100315/5ef1d5b0/attachment.html>


More information about the vtk-developers mailing list