<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>All right, I will do it.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>technically, is it OK that vtkClipPolyData behaves 
like this ?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thank you</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Seb</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:crv2002@nycap.rr.com" title=crv2002@nycap.rr.com>Christopher 
  R. Volpe</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:maraux@ondim.fr" 
  title=maraux@ondim.fr>'sebastien MARAUX'</A> ; <A 
  href="mailto:vtkusers@public.kitware.com" 
  title=vtkusers@public.kitware.com>'vtkusers'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 30, 2002 1:09 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [vtkusers] Argh ! 
  vtkClipPolyData put to the end the Traversal of a polydata cell array</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=264290512-30122002><FONT color=#0000ff face=Arial 
  size=2>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?</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=ltr 
  style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
    <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> <A 
    href="mailto:vtkusers-admin@public.kitware.com">vtkusers-admin@public.kitware.com</A> 
    [<A 
    href="mailto:vtkusers-admin@public.kitware.com">mailto:vtkusers-admin@public.kitware.com</A>]<B>On 
    Behalf Of </B>sebastien MARAUX<BR><B>Sent:</B> Monday, December 30, 2002 
    5:51 AM<BR><B>To:</B> vtkusers<BR><B>Subject:</B> [vtkusers] Argh ! 
    vtkClipPolyData put to the end the Traversal of a polydata cell 
    array<BR><BR></FONT></DIV>
    <DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>I use a vtkClipPolydata on a polydata, in a 
    loop "for each </FONT></DIV>
    <DIV><FONT face=Arial size=2>cell of this polydata" </FONT><FONT face=Arial 
    size=2>that I initialized with initTraversal().</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>The issue is that vtkClipPolyData seems to use 
    the same </FONT></DIV>
    <DIV><FONT face=Arial size=2>method, and then bring to the end of the 
    traversal at the first </FONT></DIV>
    <DIV><FONT face=Arial size=2>call. T</FONT><FONT face=Arial size=2>his "cut" 
    my loop, and only first cell of polydata is </FONT></DIV>
    <DIV><FONT face=Arial size=2>processed.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>I would like to avoid using 
    vtkCellArray-&gt;GetCell(i) for speed </FONT></DIV>
    <DIV><FONT face=Arial size=2>issue, is this the only work around 
    ?</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial 
size=2>Seb.</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>