Hey all,<div><br></div><div>I'm having a bit of trouble parsing a VTK Polygonal Mesh that's been exported (using ParaView). The headings of the exported file are as follows:</div><div><br></div><div><div>"X::Point","Y::Point","Z::Point","MaximumInscribedSphereRadius::PointData","EdgeArray::PointData","EdgeArray::PointData","EdgePCoordArray::PointData","original_coordinates::PointData","original_coordinates::PointData","original_coordinates::PointData","arc_length::PointData"</div>
<div><br></div><div><br></div><div>The X::Point column seems to display the Index of the point. the Y and Z::Point values are zero. MaximumInscribedRadius is a data value associated to each point. The actual coordinates for X Y and Z are under the "original_coordinates::PointData" columns. This seems wrong... but I can at least understand this data.</div>
<div><br></div><div>I am having trouble understanding the edge connectivity columns: "EdgeArray::PointData" and "EdgePCoordArray::PointData". I was hoping some one could help me parse these columns. The two EdgeArray::PointData columns list several large numbers which seem like point indices, but they do not correspond to any other values in the file. EdgePCoordArray::PointData has a bunch of floating point vales and I have no idea what they correspond to.</div>
<div><br></div><div>I've pasted a bit of the file in the hopes some one can help me interpret it.</div><div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse;">
<table border="0" cellpadding="0" cellspacing="0" width="1581" style="border-collapse:
collapse">
<col width="75" span="3">
<col width="286" style="mso-width-source:userset;mso-width-alt:10459">
<col width="163" style="mso-width-source:userset;mso-width-alt:5961">
<col width="173" style="mso-width-source:userset;mso-width-alt:6326">
<col width="210" style="mso-width-source:userset;mso-width-alt:7680">
<col width="181" style="mso-width-source:userset;mso-width-alt:6619">
<col width="152" style="mso-width-source:userset;mso-width-alt:5558">
<col width="191" style="mso-width-source:userset;mso-width-alt:6985">
<tbody><tr height="13">
<td height="13" width="75">X::Point</td>
<td width="75">Y::Point</td>
<td width="75">Z::Point</td>
<td width="286">MaximumInscribedSphereRadius::PointData</td>
<td width="163">EdgeArray::PointData</td>
<td width="173">EdgeArray::PointData</td>
<td width="210">EdgePCoordArray::PointData</td>
<td width="181">original_coordinates::PointData</td>
<td width="152">original_coordinates::PointData</td>
<td width="191">original_coordinates::PointData</td>
</tr>
<tr height="13">
<td height="13" align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">1.00072</td>
<td align="right">45795</td>
<td align="right">45795</td>
<td align="right">0</td>
<td align="right">149.348</td>
<td align="right">152.153</td>
<td align="right">70.2976</td>
</tr>
<tr height="13">
<td height="13" align="right">1</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">1.17639</td>
<td align="right">45816</td>
<td align="right">45816</td>
<td align="right">0</td>
<td align="right">149.402</td>
<td align="right">152.234</td>
<td align="right">70.0807</td>
</tr>
<tr height="13">
<td height="13" align="right">2</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">1.25644</td>
<td align="right">45787</td>
<td align="right">45787</td>
<td align="right">0</td>
<td align="right">149.392</td>
<td align="right">152.265</td>
<td align="right">69.9549</td>
</tr>
<tr height="13">
<td height="13" align="right">3</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">1.38168</td>
<td align="right">45034</td>
<td align="right">45035</td>
<td align="right">0.708</td>
<td align="right">149.532</td>
<td align="right">152.42</td>
<td align="right">69.6766</td>
</tr>
<tr height="13">
<td height="13" align="right">4</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">1.39789</td>
<td align="right">42279</td>
<td align="right">44946</td>
<td align="right">0.808</td>
<td align="right">149.605</td>
<td align="right">152.436</td>
<td align="right">69.6001</td>
</tr>
<tr height="13">
<td height="13" align="right">5</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">1.40398</td>
<td align="right">44955</td>
<td align="right">44955</td>
<td align="right">0</td>
<td align="right">149.634</td>
<td align="right">152.445</td>
<td align="right">69.5657</td>
</tr>
<tr height="13">
<td height="13" align="right">6</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">1.4297</td>
<td align="right">44987</td>
<td align="right">44884</td>
<td align="right">0.1</td>
<td align="right">149.776</td>
<td align="right">152.538</td>
<td align="right">69.4394</td>
</tr>
<tr height="13">
<td height="13" align="right">7</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">1.43997</td>
<td align="right">44084</td>
<td align="right">44084</td>
<td align="right">0</td>
<td align="right">149.842</td>
<td align="right">152.601</td>
<td align="right">69.3622</td>
</tr>
</tbody></table><br>
</span>
</div><div><span class="Apple-style-span" style="border-collapse: collapse;">TiA!</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">-Preet</span></div>
</div>