[vtkusers] vtkProp3D rotations order

Kerry Loux louxkr at gmail.com
Thu May 1 08:20:39 EDT 2008


Hello all,

I have an actor that I'm trying to orient in my renderWindow using the
vtkActor::SetOrientation(double, double, double) method.  The documentation
for this method (I think this is actually found in vtkActor's parent,
vtkProp3D) says the rotations are performed as Z, X, Y.  When I give it the
proper angles for this scenario, the orientation is off quite a bit.  When I
give it the angles that are correct for a rotation order of X, Y, Z, then it
orients the actor correctly.  I used MATLAB to check my math, and I think
the math is OK.  Has anyone else experienced this?  Is the documentation
wrong?  I'm using VTK 5.0.4 under MSW.

Thanks,

Kerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080501/2cd47df4/attachment.htm>


More information about the vtkusers mailing list