<div dir="ltr">I think you need to update the plane &quot;Origin&quot; as well by plane-&gt;Setorigin(x,x,x).<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Nov 2, 2010 at 1:35 PM, nsarrasin <span dir="ltr">&lt;<a href="mailto:nsarrasin@phenix-systems.com">nsarrasin@phenix-systems.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Hi all,<br>
<br>
Why the output of vtkCutter isn&#39;t update when I do Update()?<br>
I always get the same slice (the first to be compute).<br>
<br>
<br>
cutter-&gt;SetInput(polydata);<br>
cutter-&gt;SetCutFunction(plane);<br>
<br>
for(int step=0; step&lt;nbsteps; step++)<br>
{<br>
        cutter-&gt;Update();<br>
        vtkAppendpolyData-&gt;AddInput( cutter-&gt;GetOutput() ); //here it&#39;s not updated<br>
!!!<br>
<br>
        //rotation of the plane normal<br>
        vtkMatrix4x4-&gt;MultiplyPoint(plane-&gt;GetNormal(), new_normal);<br>
<br>
        //update the plane<br>
        plane-&gt;SetNormal(new_normal);<br>
}<br>
<br>
Thanks for explaining me.<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkCutter-Update-doesn-t-update-the-vtkCutter-GetOutput-tp3246712p3246712.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkCutter-Update-doesn-t-update-the-vtkCutter-GetOutput-tp3246712p3246712.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>