[vtk-developers] vtkVoxelModeller converted from BIT to INT

Will Schroeder will.schroeder at kitware.com
Mon Mar 15 08:16:30 EDT 2010


David-

What's the reason why the vtkXMLImageDataWriter can't be fixed to support
VTK_BIT? Your change might be okay, but if I understand what you've done
correctly, this will cause a significant increase in memory when reading the
data back in.

Will

On Fri, Mar 12, 2010 at 12:48 PM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> If you try to write the output of vtkVoxelModeller with a
> vtkXMLImageDataWriter (like this:
> http://www.vtk.org/Wiki/VTK/Examples/VoxelModeller), it complains that
> VTK_BIT is not supported. I have converted all instances of
> vtkBitArray and VTK_BIT with vtkIntArray and VTK_INT, respectively,
> and it now works as expected.
>
> I have submitted a fix here:
> http://public.kitware.com/Bug/view.php?id=10414
>
> Can someone verify and commit? No tests seem to use this, so no tests
> changed from pass->fail.
>
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>


-- 
William J. Schroeder, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
http://www.kitware.com
(518) 881-4902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100315/0714f3fa/attachment.html>


More information about the vtk-developers mailing list