<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#003333">
<p>Dear Luca</p>
<p>My problem was not related to the cut endpoints, but on some
extra part that was not related to the polyline provided. I do not
know if the problems can be related, but I can not exclude it.<br>
</p>
<p>you can read my first messages here:</p>
<p><a class="moz-txt-link-freetext" href="http://public.kitware.com/pipermail/vtkusers/2017-April/098302.html">http://public.kitware.com/pipermail/vtkusers/2017-April/098302.html</a></p>
<p>This is the sample image I provided</p>
<p><a class="moz-txt-link-freetext" href="http://public.kitware.com/pipermail/vtkusers/attachments/20170405/c72a409b/attachment.png">http://public.kitware.com/pipermail/vtkusers/attachments/20170405/c72a409b/attachment.png</a></p>
<p>And this is a short sample code I provided asking for help</p>
<p><a class="moz-txt-link-freetext" href="http://public.kitware.com/pipermail/vtkusers/2017-April/098304.html">http://public.kitware.com/pipermail/vtkusers/2017-April/098304.html</a></p>
<p><br>
</p>
<p>Regards</p>
<p>Matteo<br>
</p>
<br>
<div class="moz-cite-prefix">Il 23/06/2017 15:30, Luca Pallozzi
Lavorante ha scritto:<br>
</div>
<blockquote
cite="mid:CAFuWFrKe_+xdADqT7YQExKJHyTdM99wzzk7foH9Fb4gCmvCuyw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi vtkusers,<br>
<br>
</div>
regarding my previous posting, describing the "waving"
behavior of the plane generated via vtkPolyPlane, I am
attaching an image showing this issue. Here I am using the
following pipelyne : vtkPolyLine -> vtkPolyPlane ->
vtkCutter. The polyline is composed by three points and
vtkCutter is cutting through a vtkPolyData Surface. It is
possible to see the waving behavior in the resulting cut,
just beyond the polyline's endpoints.<br>
<br>
</div>
Thank you for any help.<br>
<br>
</div>
Luca<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jun 23, 2017 at 10:12 AM, Luca
Pallozzi Lavorante <span dir="ltr"><<a
moz-do-not-send="true" 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 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/<wbr>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<span class="HOEnZb"><font color="#888888"><br>
<br>
</font></span></div>
<span class="HOEnZb"><font color="#888888"> Luca<br>
</font></span></div>
<div class="HOEnZb">
<div class="h5">
<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
moz-do-not-send="true"
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="m_5975167852926655791HOEnZb"><font
color="#888888"><br>
<br>
</font></span></div>
<span class="m_5975167852926655791HOEnZb"><font
color="#888888"> Luca <br>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>