Tracking Multiple Actors

Hi all,

For an application I’m building I’d like to be able to track the relative pose and position of two vtkActors, I’me sure somewhere in the code there is the information I need but I can’t seem to find it!

To clarify what I want is for the user to be able to move two actors independently via vtkInteractorStyleTrackballActor and then at some point be able to calculate the relative movements so that I can calculate the distance between the vertices in the two datasets.

I already have the code for the distance calculation but when I interact with the data I can’t seem to be able to recover the movement.

Thanks in advance.

Cliff