<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2> Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>In vtkInteractorStyleTrackballActor, i see that the
picked Prop gets transformed through Prop3DTransform(). After this function,
ResetCameraClippingRange() is called to view the extents. At this point, looking
through the objects of the picked Prop</FONT><FONT face=Arial
size=2>:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>this->InteractionProp->*vtkAssembly->Parts-*vtkPropCollection->*vtkCollection->Top->Item->vtkOpenGLActor->*vtkActor->*vtkProp3D->Matrix->Element</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>the elements of the 4x4 matrix found correspond to
the transformed Actors' prop.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>The rotate, pan and scale functions within
vtkInteractorStyleTrackballActor then calls
*vtkRenderWindowInteractor->render() after resetting camera planes, and this
resets the Actor's matrix.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>How can i obtain the matrix
from a picked Actor in a vtkAssembly after it has been transformed via
vtkInteractorStyleTrackballActor? </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>I have tried using
Actor->GetMatrix() before render() but this also resets the
matrix.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>Is there another method to
obtain the orientation, scale and position of individual Actors within an
vtkAssembly that has been transformed by mouse movements.</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2>Theo.</FONT></DIV></BODY></HTML>