<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Tim,</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">have you tried </span><font face="monospace, monospace">static_casting</font><font face="arial, helvetica, sans-serif"> to </font><font face="monospace, monospace">VersorRigid3DTransform</font><font face="verdana, sans-serif">?</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">Regards,</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 Mon, Nov 14, 2016 at 12:36 PM, Timothee Evain <span dir="ltr"><<a href="mailto:tevain@telecom-paristech.fr" target="_blank">tevain@telecom-paristech.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
I'm wondering how can I retrieve the inverse of a VersorRigid3DTransform through the GetInverseTransform() method to assign to another VersorRigid3DTransform.<br>
As this return a itk::Transform pointer, downcasting with dynamic_cast leads to an error related to pointer being not one to a complete class.<br>
I guess this had to do with Transform being a abstract class, so what is the "standard" way to do ? Should I go through inverse parameters to initialize the inverse transform ?<br>
<br>
Tim<br>
______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
</blockquote></div><br></div>