[vtkusers] Argh ! vtkClipPolyData put to the end the Traversal of a polydata cell array
sebastien MARAUX
maraux at ondim.fr
Mon Dec 30 07:23:02 EST 2002
All right, I will do it.
technically, is it OK that vtkClipPolyData behaves like this ?
thank you
Seb
----- Original Message -----
From: Christopher R. Volpe
To: 'sebastien MARAUX' ; 'vtkusers'
Sent: Monday, December 30, 2002 1:09 PM
Subject: RE: [vtkusers] Argh ! vtkClipPolyData put to the end the Traversal of a polydata cell array
Hmmm. How about a ShallowCopy on the PolyData, and then you iterate over the cells in the copy while the clipper iterates over the cells in the original?
-----Original Message-----
From: vtkusers-admin at public.kitware.com [mailto:vtkusers-admin at public.kitware.com]On Behalf Of sebastien MARAUX
Sent: Monday, December 30, 2002 5:51 AM
To: vtkusers
Subject: [vtkusers] Argh ! vtkClipPolyData put to the end the Traversal of a polydata cell array
Hello,
I use a vtkClipPolydata on a polydata, in a loop "for each
cell of this polydata" that I initialized with initTraversal().
The issue is that vtkClipPolyData seems to use the same
method, and then bring to the end of the traversal at the first
call. This "cut" my loop, and only first cell of polydata is
processed.
I would like to avoid using vtkCellArray->GetCell(i) for speed
issue, is this the only work around ?
Seb.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021230/ae99d307/attachment.htm>
More information about the vtkusers
mailing list