David-<div><br></div><div>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.</div>

<div><br></div><div>Will<br><br><div class="gmail_quote">On Fri, Mar 12, 2010 at 12:48 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

If you try to write the output of vtkVoxelModeller with a<br>
vtkXMLImageDataWriter (like this:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/VoxelModeller" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/VoxelModeller</a>), it complains that<br>
VTK_BIT is not supported. I have converted all instances of<br>
vtkBitArray and VTK_BIT with vtkIntArray and VTK_INT, respectively,<br>
and it now works as expected.<br>
<br>
I have submitted a fix here:<br>
<a href="http://public.kitware.com/Bug/view.php?id=10414" target="_blank">http://public.kitware.com/Bug/view.php?id=10414</a><br>
<br>
Can someone verify and commit? No tests seem to use this, so no tests<br>
changed from pass->fail.<br>
<br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>

<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>