Actor's matrix position value

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Actor's matrix position value

Beatrix Schober
Hi all,

I am using vtkInteractorStyleTrackballActor to move a single actor. As I have one LUT for all objects (to get the same elevation colors), I run the transformation matrix on vtkTransformPolyDataFilter to get the new correct bounds and to compute the LUT. 
vtkSmartPointer<vtkTransform> transform = vtkSmartPointer<vtkTransform>::New();
The z position is 180.

The problem is, that the position of the actor is not the correct position in the whole scene. What am I missing? What I am doing wrong?

Inline image 1

When doing a translation in z direction of 340 with transform->Translate(0.0, 0.0, 340), the computations are correct:

Inline image 2

Thank you very much in advance for any hint!



Powered by

Visit other Kitware open-source projects at

Please keep messages on-topic and check the VTK FAQ at:

Search the list archives at:

Follow this link to subscribe/unsubscribe: