[Paraview] Help needed debugging VTP file

Olumide 50295 at web.de
Tue Oct 7 15:33:22 EDT 2008


Hello -

I'm having difficulty debugging the following brief VTP file generated 
by my custom exporter -- I can't seem to figure out why Paraview won't 
open it. Is there some sort of syntax error in it?

Thanks,

- Olumide

%%%%%%%%%%%%%%%%%%%%%%%%%%%% VTP File %%%%%%%%%%%%%%%%%%%%%%%%%%%%

<?xml version="1.0" encoding="utf-8"?>
<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian">
	<PolyData>
		<Piece NumberOfPoints="24" NumberOfVerts="0" NumberOfLines="1" 
NumberOfStrips="0" NumberOfPolys="6">


			<Points>
				<DataArray type="Float32" NumberOfComponents="3" format="ascii">
					 0.395507 0.427410 0.812954
					 0.457372 0.349573 0.817686
					 0.541530 0.349630 0.764529
					 0.563762 0.427524 0.706680
					 0.501819 0.505304 0.702030
					 0.417690 0.505133 0.755232
					 0.417690 0.505133 0.755232
					 0.395507 0.427410 0.812954
					 0.482041 0.429542 0.763630
					 0.395507 0.427410 0.812954
					 0.457372 0.349573 0.817686
					 0.482041 0.429542 0.763630
					 0.457372 0.349573 0.817686
					 0.541530 0.349630 0.764529
					 0.482041 0.429542 0.763630
					 0.541530 0.349630 0.764529
					 0.563762 0.427524 0.706680
					 0.482041 0.429542 0.763630
					 0.563762 0.427524 0.706680
					 0.501819 0.505304 0.702030
					 0.482041 0.429542 0.763630
					 0.501819 0.505304 0.702030
					 0.417690 0.505133 0.755232
					 0.482041 0.429542 0.763630
				<DataArray>
			</Points>

			<Lines>
				<DataArray type="Int32" Name="connectivity" format="ascii">
					 0 1 2 3 4 5
				</DataArray>
				<DataArray type="Int32" Name="offsets" format="ascii">
					6
				</DataArray>
			</Lines>


			<Polys>
				<DataArray type="Int32" Name="connectivity" format="ascii">
					 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
				</DataArray>
				<DataArray type="Int32" Name="offsets" format="ascii">
					 9 12 15 18 21 24
				</DataArray>
			</Polys>

		</Piece>
	</PolyData>
</VTKFile>



More information about the ParaView mailing list