<div dir="ltr"><div>Cutter will change the dimensions of the cells when Clipping does not..<br>Assuming you work with polydata you should check <a class="" href="http://www.vtk.org/doc/nightly/html/classvtkClipPolyData.html" title="clip polygonal data with user-specified implicit function or input scalar data">vtkClipPolyData</a><br>
</div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkClipPolyData.html">http://www.vtk.org/doc/nightly/html/classvtkClipPolyData.html</a><br>It is important to remember that in VTK you are always dealing with 3d data<br>
</div><div>so you define plans not line as a clipping function.<br><br></div><div>Regards,<br></div><div>   Alex<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 3:46 AM, Martin Vymazal <span dir="ltr">&lt;<a href="mailto:martin.vymazal@vki.ac.be" target="_blank">martin.vymazal@vki.ac.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
 I would like to ask if  I can slice elements in triangulation. Suppose my<br>
input is a line on a triangulated surface (given as a sequence of vertex pairs<br>
indicating which mesh edges the line should cut, for example), I would like to<br>
split the triangles that the line passes through, eventually introducing new<br>
triangles in the mesh. Apparently there is the class vtkCutter, but I&#39;m not<br>
sure that that&#39;s what should be used. Could you please point me to some<br>
examples if there are any? How should I feed my input line to vtk? Create a<br>
polyline perhaps?<br>
<br>
Thank you very much,<br>
<br>
 Martin Vymazal<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>