<div dir="ltr">Changing the origin will cause the plane to rebuild on the next render. Depending on the resolution/dimensions of the plane that could be costly. A 10x10 plane should be super fast. A 10000x10000 plane I would expect to be really slow. Not sure if that is the issue, just an idea.<div><br></div><div>Thanks</div><div>Ken</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 2, 2016 at 12:33 PM, Lonni Besançon <span dir="ltr"><<a href="mailto:lonni.besancon@gmail.com" target="_blank">lonni.besancon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
I have a question that is related to time performance.<br>
I am currently using the method SetOrigin() to modify the origin of a plane<br>
in vtk. When I move other actors using a transform or changing directly the<br>
UserMatrix I basically encounter no issue at all related to time<br>
performance.<br>
However, when it comes to changing the origin of the plane, all my program<br>
slows down. Would you know if that's normal?<br>
If that is, what would be an other way to proceed?<br>
<br>
I still think that it should not take that long, and that there's something<br>
wrong.<br>
Indeed all I get is 3 doubles from an other part of the program (not related<br>
to the rendering, GUI side), and fetch these 3 doubles to the SetOrigin()<br>
method. This SetOrigin() call is repeated a given number of iterations.<br>
I have checked that when I comment this part of the code the rendering is<br>
just fine and my program runs normally.<br>
<br>
I'm using vtk6 and windows (though I don't think this is an OS-related<br>
issue).<br>
<br>
Thanks in advance.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/setOrigin-of-plane-is-slowing-the-rendering-tp5736303.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/setOrigin-of-plane-is-slowing-the-rendering-tp5736303.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>