<div>Dear all,</div>
<div> </div>
<div>I am confused with the vtk XML StructuredGrid data file format. For instance I tried to plot one cube with following data file:</div>
<div> </div>
<div><?xml version="1.0"?><br><VTKFile type="StructuredGrid" version="0.1" byte_order="LittleEndian"><br><StructuredGrid WholeExtent="0 1 0 1 0 1"><br><Piece Extent="0 1 0 1 0 1">
<br><PointData Scalars="Density"><br><DataArray type="Float32" Name="Density" format=""ascii"><br>0.000000<br>0.250000<br>0.500000<br>0.750000<br>1.000000<br>0.000000
<br>0.500000<br>1.000000<br></DataArray><br></PointData><br><Points><br><DataArray type = "Float32" NumberOfComponents="3" format="ascii"><br>0.0 0.0
0.0<br>1.0 0.0 0.0<br>0.0 0.0 1.0<br>1.0 0.0 1.0<br>0.0 1.0 0.0<br>1.0 1.0 0.0<br>0.0 1.0 1.0<br>1.0 1.0
1.0<br></DataArray><br></Points><br></Piece><br></StructuredGrid><br></VTKFile></div>
<div> </div>
<div>I could not plot it and got errors. Where can I find the ASCII vtk XML StructuredGrid data file example? I think I did not understand WholeExtent and Extent clearly.</div>
<div>Thanks in advance.</div>
<div> </div>
<div>Sincerely,</div>
<div>HNG</div>