<div class="gmail_quote">On Mon, Mar 1, 2010 at 2:03 AM, Rakesh Patil <span dir="ltr">&lt;<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi VTK Users..<br><br>I want to extract a single contour line from a set of xy points. So to begin with i used vtkContourFilter class to extract a single contour line of a particular value. But the output contained n number of lines not a single line. So I thought of merging them.. So i used,<br>
<br>vtkAppendPolyData <br><br>class to make it a single line. I get it as a single line but there is a smal confusion here.. Suppose there are 6 lines. when displaying, the first point of the 2nd line is connected to the first point of 1st line. similarly first point of the third line is connected to the first point of the second line. Thus creating unwanted lines in between..<br>
<br>Any solution to get rid of this..???<br><br>Thanks<br><br>Regards<br>Rakesh Patil<br><br></blockquote><div><br></div><div>vtkAppendPolyData is for combining multiple vtkPolyData&#39;s into a single vtkPolyData. I believe vtkContourFilter just produces a single PolyData, so I don&#39;t think it really makes sense to combine them like this. Can you post a screen shot of your multiple lines?</div>
</div><div class="gmail_quote"><br clear="all">Thanks,<br><br><div>David</div></div>