[vtkusers] get the rotation angles of volume
Francois Bertel
francois.bertel at kitware.com
Thu Sep 17 11:50:52 EDT 2009
Hello,
You can get the resulting angle and axis of rotation with void
GetOrientationWXYZ(double wxyz[4]) (vtkTransform)
On Thu, Sep 17, 2009 at 11:25 AM, toulgen <toulgen at gmail.com> wrote:
> Hi,
>
>
>
> I have a 3D volume (vtkVolume*vol;).
>
> To rotate my volume with c++ code, I use this : vol->RotateX(rotationX);
> vol->RotateY(rotationY); vol->RotateZ(rotationZ);
>
> With mouse, I can rotate my volume.
>
>
>
> I want to get the rotation angles of the new volume position after rotation
> with mouse?
>
>
>
> Thx
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list