<div dir="ltr"><div><div><div><div><div>Hi Marco, did you experience the same problem that I reported?<br></div> I mean, the cuts extending beyond the endpoints of the polyline used to feed vtkPolyPlane?<br><br></div>I think that maybe the problem could be solved composing vtkPolyPlane with two more planes normal to each polylne's endpoints. I also think that this could be done using something like vtkImplicitBoolean, but I don't know how. It is not clear to me how instances of vtkImplicitFunction should be composed in order to remove the planes past the polyline's endpoints. I also noticed that this "extensions" are not planar: beyond the polyline's endpoints the planes form "waves" when looked down along the Z axis. I also noticed this behaviour by modifying the Interaction/Widgets/Testing/Cxx/TestPolyPlane.cxx example, where I explicitly created and visualized a vtkPolyData from vtkCutter's output (In this example, vtkCutter received as implicit function an instance of vtkPolyPlane, just as I needed). <br><br></div> Any kind help or explanation on this issue would be greatly welcomed.<br><br></div> Thank you<br><br></div> Luca<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 22, 2017 at 6:12 PM, Luca Pallozzi Lavorante <span dir="ltr"><<a href="mailto:lplavorante@gmail.com" target="_blank">lplavorante@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi vtkusers,<br><br></div>I have a vtkUnstruturedGrid showing depositional data and I'd like to cut this data using contiguous vertical slices defined by a vtkPolyLine. I have seen in the documentation that vtkPolyPlane generates the right implicit function which I can pass to vtkCutter.<br></div>The resulting cuts are OK, but my vertical slices extends beyond my polyline's endpoints. I would like to end the cutting planes exaclty at my polyline's first and last point. Is this possible?<br></div>I am using VTK 7.0 on Linux.<br><br></div> Thank you very much for any help<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"> Luca <br></font></span></div>
</blockquote></div><br></div>