This discussion is related to:
I would like to:
- move (translate) actors with slider
- retrieve their position in world coordinate once moved
Is it possible ? I feel I don’t understand enough VTK and do something wrong, but can’t find what is the right way of doing it.
For now I tried, from this example:
- set the position of the cone actor (with
- retrieve the world coordinates of the actor Center with
getCenter works only after a rendering took place it seems, so it is not updated unless I interact with the TrackballCamera.
I am looking also at this example
which seem to do the transformations in a more canonical way,
but still not able to get the actor world coordinates.
Thank you in advance !