I'm getting confused by the tons of methods of the Transform3D class. Is it possible to retrieve the rotational component stored in a matrix? I mean "just the three angles around the three axes".
I normally use the (misleading, at least for me) .setEuler(Vector3d euler) method. I'm looking for an equivalent .getEuler(Vector3d euler) one.
I also saw a .set(AxisAngle4d a1). I never tried it, but a corresponding .get(AxisAngle4d a1) doesn't exist.
Finally, there is the copule .get/.set(Quat4d rot), but I haven't been able to understand the relation between the stored (normalized) values and angles value.
What's the difference between .setEuler(Vector3d), .set(AxisAngle4d) and .set(Quat4d rot) ????
The purpose? I have an object moved/rotated by a TransfromGroup. I want to rotate it around a generic axes and then retrieve and print out the resulting rotation angles (in the "Euler" form).
Is it possible?
thanks, Fabrizio NUNNARI
-- Fabrizio Nunnari (nunnarif at di.unito.it) PhD Student - Computer Science Department - Torino - Italy http://www.di.unito.it/~nunnarif/
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
