Hi David-<div><br></div><div>I think we have to approach this in a series of steps, we may not be able to correctly solve the VTK_BIT problem immediately, but do something quick with an eye to fixing it longer term.</div><div>

<br></div><div>One option: since the writer doesn't work now let's do something quickly, documenting the fact (e.g. bug tracker, etc.) that long term we need to improve the support for VTK_BIT. (I would use VTK_UNSIGNED_CHAR myself which is half the size of VTK_SHORT assuming it works.)</div>

<div><br></div><div>Another option (and I am shooting from the hip here) is to do the minimal work in the reader/writer to get VTK_BIT "sort of" working meaning you may have to perform temporary conversions to and from VTK_BIT to another type, etc. which may cause temporary increases in memory.</div>

<div><br></div><div>I'm sure there are other opinions in the community about this...</div><div><br>Will<br><br><div class="gmail_quote">On Mon, Mar 15, 2010 at 11:01 AM, 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;"><div class="im"><div class="gmail_quote">On Mon, Mar 15, 2010 at 10:35 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I didn't say phased out, I said not well supported. Here isw what I<br>
said last fall:<br>
<br>
"I think this is a bug in the writer. The scalar data type is VTK_BIT.<br>
I'm, guessing the writer can't handle this type.<br>
<br>
I changed the scalar type to short in my local copy of vtk and the<br>
program ran without warnings. However, I still could not read the file<br>
in paraview. But I changed the writer to a vtkDataSetWriter and it ran<br>
without warning. In this case, when the type was short, I was able to<br>
see the voxels. As VTK_BIT I could not.<br>
<br>
VTK_BIT is not a well-supported type."<br>
<div><div></div><div></div></div></blockquote></div><br></div><div>Will, </div><div><br></div><div>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.</div>


<div><br clear="all">Thanks,<br><font color="#888888"><br>David</font></div>
</blockquote></div><br>
</div>