[vtkusers] Problems with Polyhedron cells in binary output
Doug McCorkle
mccdo at iastate.edu
Mon Oct 17 09:52:21 EDT 2011
Hello,
I am trying to generate a grid with Polyhedron cells but am running into problems. When I try this test:
http://vtk.org/gitweb?p=VTK.git;a=blob;f=Graphics/Testing/Cxx/TestPolyhedron0.cxx
and change the output to binary I get this in the header:
offset="588"="1.0"?>
<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian" compressor="vtkZLibDataCompressor">
<UnstructuredGrid>
<Piece NumberOfPoints="24" NumberOfCells="1" >
<PointData Scalars="Elevation" Normals="Normals" TCoords="TCoords">
<DataArray type="Float32" Name="Normals" NumberOfComponents="3" format="appended" RangeMin="1" RangeMax="1" offset="0" />
<DataArray type="Float32" Name="TCoords" NumberOfComponents="2" format="appended" RangeMin="6.3639610307" RangeMax="11.853269591" offset="60" />
<DataArray type="Float32" Name="Elevation" format="appended" RangeMin="0" RangeMax="1" offset="184" />
</PointData>
<CellData>
</CellData>
<Points>
<DataArray type="Float32" Name="Points" NumberOfComponents="3" format="appended" RangeMin="12.247448714" RangeMax="12.247448714" offset="236" />
</Points>
<Cells>
Any suggestions on what might be the problem? Thanks for the help.
Doug
More information about the vtkusers
mailing list