<font size="2"><font face="verdana,sans-serif">Maybe binary means that header remains ASCII but body (data) is compressed using zlib?</font></font><div><font size="2"><font face="verdana,sans-serif"><br></font></font></div>

<div><font size="2"><font face="verdana,sans-serif">HTH<br></font></font><br><div class="gmail_quote">On Mon, Oct 17, 2011 at 15:52, Doug McCorkle <span dir="ltr">&lt;<a href="mailto:mccdo@iastate.edu">mccdo@iastate.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
I am trying to generate a grid with Polyhedron cells but am running into problems. When I try this test:<br>
<br>
<a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Graphics/Testing/Cxx/TestPolyhedron0.cxx" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Graphics/Testing/Cxx/TestPolyhedron0.cxx</a><br>
<br>
and change the output to binary I get this in the header:<br>
<br>
 offset=&quot;588&quot;=&quot;1.0&quot;?&gt;<br>
&lt;VTKFile type=&quot;UnstructuredGrid&quot; version=&quot;0.1&quot; byte_order=&quot;LittleEndian&quot; compressor=&quot;vtkZLibDataCompressor&quot;&gt;<br>
  &lt;UnstructuredGrid&gt;<br>
    &lt;Piece NumberOfPoints=&quot;24&quot;                   NumberOfCells=&quot;1&quot;                   &gt;<br>
      &lt;PointData Scalars=&quot;Elevation&quot; Normals=&quot;Normals&quot; TCoords=&quot;TCoords&quot;&gt;<br>
        &lt;DataArray type=&quot;Float32&quot; Name=&quot;Normals&quot; NumberOfComponents=&quot;3&quot; format=&quot;appended&quot; RangeMin=&quot;1&quot;                    RangeMax=&quot;1&quot;                    offset=&quot;0&quot;                   /&gt;<br>


        &lt;DataArray type=&quot;Float32&quot; Name=&quot;TCoords&quot; NumberOfComponents=&quot;2&quot; format=&quot;appended&quot; RangeMin=&quot;<a href="tel:6.3639610307" value="+4963639610307">6.3639610307</a>&quot;         RangeMax=&quot;11.853269591&quot;         offset=&quot;60&quot;                  /&gt;<br>


        &lt;DataArray type=&quot;Float32&quot; Name=&quot;Elevation&quot; format=&quot;appended&quot; RangeMin=&quot;0&quot;                    RangeMax=&quot;1&quot;                    offset=&quot;184&quot;                 /&gt;<br>


      &lt;/PointData&gt;<br>
      &lt;CellData&gt;<br>
      &lt;/CellData&gt;<br>
      &lt;Points&gt;<br>
        &lt;DataArray type=&quot;Float32&quot; Name=&quot;Points&quot; NumberOfComponents=&quot;3&quot; format=&quot;appended&quot; RangeMin=&quot;12.247448714&quot;         RangeMax=&quot;12.247448714&quot;         offset=&quot;236&quot;                 /&gt;<br>


      &lt;/Points&gt;<br>
      &lt;Cells&gt;<br>
<br>
Any suggestions on what might be the problem? Thanks for the help.<br>
<br>
Doug<br>
<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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>