[Insight-users] How to retrieve translation from itk::Rigid3DTransform

Paul Yushkevich pauly at cognitica . com
Fri, 09 May 2003 09:35:06 -0400


Hi Raghavendra,

I am not 100% sure, but I think GetOffset() is will do what you're 
looking for.  You can make a quick test by applying the transform to the 
vector (0,0,0) and seeing if the result matches the vector returned by 
GetOffset().

Paul

Raghavendra Chandrashekara wrote:

> Hi all,
>
> Is there a way to retrieve the translation from the 
> itk::Rigid3DTransform class? There is a function for retrieving the 
> RotationMatrix but not the translation.
>
> Thanks,
>
> Raghavendra.
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>
>


-- 
--------------------------------
Paul A. Yushkevich, Ph.D.
President, Cognitica Corporation

17 Flemington Rd
Chapel Hill, NC 27517
Tel: 1-919-929-7652
--------------------------------