[Insight-users] problem with Euler3DTransform: SetParameters()
and GetMTime()
Luis Ibanez
luis.ibanez at kitware.com
Thu Jan 19 11:33:18 EST 2006
Hi Jeffrey.
This is a bug.
SetParameters() should invoke Modified().
It may be that in some transforms we are relying on the internal
methods to call Modified() indirectly.
But...
in any case, it is safer to explicitly invoke Modified() at the
end of the SetTransforms() method.
This issue has been logged as bug entry: 2740
http://public.kitware.com/Bug/bug.php?op=show&bugid=2740&pos=0
and a fix has now been committed in the CVS repository.
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkEuler3DTransform.txx?root=Insight&sortby=date&r2=1.17&r1=1.16
Please let us know if you find any other problems.
Thanks
Luis
------------------
Jeffrey Duda wrote:
> I am having trouble using the Euler3DTransform. When I call
> SetParameters() it does not seem to update the modified time of the
> transform (i.e. SetParameters() does not call Modified()). I was
> wondering if:
> 1) This is a bug
> 2) This is intentional (and if so why?)
> 3) This is due to confusion on my part
> A quick glance seems to indicate some inconsistencies in that some
> transforms call Modified() within SetParameters() while others don't.
>
> thanks,
> jeff duda
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list