<div class="gmail_quote">On Mon, Mar 15, 2010 at 11:19 AM, 이정규 <span dir="ltr">&lt;<a href="mailto:glazex2@naver.com">glazex2@naver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<div><br></div><div>I am trying to parse a .VTK file with UNSTRUCTURED_GRID but this just have data of points.</div><div>I&#39;ve looked for more information for this but all I found is</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

The Visualization Toolkit supports five different dataset formats: structured points, structured grid, rectilinear</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

grid, unstructured grid, and polygonal data. Data with implicit topology (structured data such as vtkImageData and</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

vtkStructuredGrid) are ordered with x increasing fastest, then y, then z. These formats are as follows.</blockquote></div><div><br></div><div>So I guess somehow I have to infer the topology from these points. I&#39;ve tried Paraview and it renders it as a set of rectangles(I&#39;ve tired to render surface with wireframes and so on)..</div>

<div>I see some hint there that points are ordered with x-ascending order, but how the index is consists up is not mentioned in any documents.....</div><div>Anybody done this before? or have more information for this?</div>

<div><br></div><div>PS : If you are someone at Kitware, would you please, please direct me to the right information?????</div><div><br></div><font color="#888888"><div>--</div><div>Jeonggyu Lee</div><div></div></font></blockquote>
</div><br><div>Do you have an existing .vtk file that you need to read? If not, I would suggest using the XML .vtu format - then you can use:</div><div><br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/IO/ReadUnstructuredGrid">http://www.vtk.org/Wiki/VTK/Examples/IO/ReadUnstructuredGrid</a></div>
<div><br clear="all">Thanks,<br><br>David</div>