<p>I couldn't find GetNextCell() at all in Java. I'm currently using version 5.6. Do you have any other suggestions?</p>
<p><blockquote type="cite">On Nov 6, 2010 9:05 AM, "Karthik Krishnan" <<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>> 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 < ( 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 <<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>> wrote:<br>> I have a 3D vtkPolyDat...</font></p><p><font color="#500050">> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>><br>> Visit other Kitwa...</font></p></blockquote></p>