[Insight-users] Euler2dtransform, Fixed Center Affine transform

Rupert Brooks rbrooks at cyberus.ca
Mon Aug 22 15:25:45 EDT 2005


Hi,

I am using the Euler2Dtransform, and i have noticed that it always rotates
around [0,0].  What i would like it to do is rotate around
a center specified using the SetCenter() function.  The Centered Rigid2D
transform is not really what i want, as i dont want to optimize over the
center of rotation.

Note that this behavior is different than the AffineTransform, which
changes accordingly when a center of rotation is specified.

So i was wondering
 - is this the intended behavior of the Euler2Dtransform?(IE, if i
implement the center of rotation stuff, should i develop a new class or fix
Euler2D)
 - Since the Affine transform supports this, what is the purpose of the
FixedCenterOfRotationAffineTransform?

Thanks
Rupert B.
--------------------------------------------------------------------------------------
Rupert Brooks                                     For every complex question
rbrooks at cyberus.ca                            there is a simple and wrong solution
www.cyberus.ca/~rbrooks                     --A. Einstein



Sent using cyberus.ca WebMail - http://www.cyberus.ca/


More information about the Insight-users mailing list