<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Vishal,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:verdana,sans-serif">You could perhaps have a static pointer to your VTK render window, which you could then just access from the </span><font face="monospace, monospace">Execute</font><font face="verdana, sans-serif"> method (and have ITK optimizer as a parameter).</font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif">HTH,</font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif">Dženan</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 29, 2015 at 11:34 PM, vishal <span dir="ltr"><<a href="mailto:itkhelpacc@gmail.com" target="_blank">itkhelpacc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi Dženan,<br>
thank you for ur help...But i have another doubt.. In the registration<br>
algorithms in ITK in order to print the optimizer result, the optimizer<br>
object is passed to the Execute() callback function.. to my understanding<br>
only one object and one event object can be send to Execute()... inorder to<br>
update my VTK render window il have to pass two objects (one ITK optimizer<br>
and VTK renderer object) as argument to Execute()...get the transform from<br>
the optimizer parameter and apply transform as you have suggested to the VTK<br>
object... This is where im having confusion.. How to achieve this? Is my<br>
understanding about the registration algorithm correct? Please help me<br>
out...<br>
Regards<br>
Vishal<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/Visualize-Intermediate-result-of-ITK-registration-in-vtk-tp36590p36592.html" rel="noreferrer" target="_blank">http://itk-users.7.n7.nabble.com/Visualize-Intermediate-result-of-ITK-registration-in-vtk-tp36590p36592.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the ITK - 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<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>