<p>I couldn&#39;t find GetNextCell() at all in Java. I&#39;m currently using version 5.6. Do you have any other suggestions?</p>
<p><blockquote type="cite">On Nov 6, 2010 9:05 AM, &quot;Karthik Krishnan&quot; &lt;<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>&gt; wrote:<br><br>Jonathan:<br>
<br>
Use the other signature of the method GetNextCell. [ int<br>
GetNextCell(vtkIdList *pts) ]That should be wrapped...<br>
<br>
The code to re-order the points based on the connectivity information<br>
would be written in java as :<br>
<br>
  vtkIdList idlist = new vtkIdList();<br>
  unorderedPolyData.GetLines().GetNextCell(idlist);<br>
  npts = idlist.GetNumberOfIds();<br>
  for ( int i = 0;  i &lt; ( npts-1 );  i ++)<br>
    {<br>
    points.InsertPoint(i, unorderedPolyData.GetPoints().GetPoint(pts[i]));<br>
    }<br>
<br>
--<br>
<font color="#888888">karthik<br>
</font><p><font color="#500050"><br>On Wed, Nov 3, 2010 at 7:29 AM, Jonathan Morra &lt;<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>&gt; wrote:<br>&gt; I have a 3D vtkPolyDat...</font></p><p><font color="#500050">&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>&gt;<br>&gt; Visit other Kitwa...</font></p></blockquote></p>