<div dir="ltr">I would pass the output of vtkCutter to the vtkStripper filter:<div><br></div><div>vtkSmartPointer<vtkStripper> stripper = Â  Â  vtkSmartPointer<vtkStripper>::New(); Â Â </div><div>stripper->SetInputConnection(cutter->GetOutputPort());<br>

</div><div><br></div><div>This will make the scattered lines into one connected polyline and easier to track the points.</div><div><br></div><div>-S</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 5:38 PM, MarkSchumacher <span dir="ltr"><<a href="mailto:9mws@queensu.ca" target="_blank">9mws@queensu.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Vtk Users,<br>
I can't seem to figure out how to define inside our outside of my polydata.<br>
Im working with about 150 points that define the curve I've posted in the<br>
pictures below. All these points lie in the same plane , I used cutter to<br>
create the polydata.<br>
I've creating a polygon out of these points, but I don't quite understand<br>
the output . (second image attached)<br>
<br>
All I'm trying to do is close points 1 and 2 (on the image) and create an<br>
object that tells me if a point lies within that object.<br>
<br>
Thanks , I'd appreciate any help .<br>
<br>
Image 1: <a href="http://i.imgur.com/YOrebTq.png" target="_blank">http://i.imgur.com/YOrebTq.png</a><br>
Image 2: <a href="http://i.imgur.com/iZfc4th.png" target="_blank">http://i.imgur.com/iZfc4th.png</a><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Trying-to-define-a-closed-Object-tp5727465.html" target="_blank">http://vtk.1045678.n5.nabble.com/Trying-to-define-a-closed-Object-tp5727465.html</a><br>


Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>