[vtkusers] Get the orientation of vtkPlaneWidget
Stefan Maas
stefan.maas at fh-gelsenkirchen.de
Sun May 18 15:15:38 EDT 2008
Hello,
can someone tell me an easy or tricky way to get the orientation of an
vtkPlaneWidget?
I want to use it as an "auxiliary-object" to align an vtkActor (an implant).
My idea was something like this:
When I move (translate, rotate) the planeWidget, the actor should take the
position and orientation of the planeWidget.
Setting the position works by:
actor.SetPostion(planeWidget.GetPostion()); //java
But for the orientation it doesn't work because there is no method called
"planeWidget.GetOrientation()".
Any Ideas?
Thanks!
Stefan
More information about the vtkusers
mailing list