[vtkusers] vtkTransform::GetOrientation()

George Kamucha kamucha at hfm.e-technik.uni-kassel.de
Thu Feb 22 01:41:52 EST 2001


Hi all,
I am still very eager to know what kind of an output one expects from
the vtkTransform::GetOrientation(), anybody out there who can help me in
this please? I tried something simple, below:

vtkTransform *trans = vtkTransform::New();
            trans->Identity();
            trans->PostMultiply();
            trans->RotateY(10);
            trans->RotateX(20);
            trans->RotateZ(30);
            trans->GetOrientation();

I was expecting the output to be just three elements (so I have read
from the Manpages!), but I instead got a matrix which after decomposing
( a lot of work!), gave seemingly the following: Y=9.39, X=20.3 and
Z=33.4. So I am wondering, how come I am not getting the three angles as

opposed to a matrix, and is the error usually this big?. Please assist.

Regards

George








More information about the vtkusers mailing list