[vtkusers] Using vtkMarchingCubes3D with vtkContourWidget
Jonathan Morra
jonmorra at gmail.com
Sat Nov 6 13:24:06 EDT 2010
I couldn't find GetNextCell() at all in Java. I'm currently using version
5.6. Do you have any other suggestions?
On Nov 6, 2010 9:05 AM, "Karthik Krishnan" <karthik.krishnan at kitware.com>
wrote:
Jonathan:
Use the other signature of the method GetNextCell. [ int
GetNextCell(vtkIdList *pts) ]That should be wrapped...
The code to re-order the points based on the connectivity information
would be written in java as :
vtkIdList idlist = new vtkIdList();
unorderedPolyData.GetLines().GetNextCell(idlist);
npts = idlist.GetNumberOfIds();
for ( int i = 0; i < ( npts-1 ); i ++)
{
points.InsertPoint(i, unorderedPolyData.GetPoints().GetPoint(pts[i]));
}
--
karthik
On Wed, Nov 3, 2010 at 7:29 AM, Jonathan Morra <jonmorra at gmail.com> wrote:
> I have a 3D vtkPolyDat...
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitwa...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101106/922a3589/attachment.htm>
More information about the vtkusers
mailing list