[vtkusers] interact with polydata

Miro Drahos mdrahos at robodoc.com
Fri Aug 2 16:55:40 EDT 2013


Hi all,
I am trying to setup interaction with the scene just like using 
vtkInteractorStyleTrackBallActor, but would like to update the polydata 
itself, not just the view. In other words, I would like to translate or 
rotate the polydata points according to the mouse interaction.
I couldn't find any interactor style that would modify the data 
position, so I derived my own, and tried to use the transform from 
vtkInteractorStyleTrackballActor::Prop3DTransform(...) using the 
newTransform object and applying it (via vtkPolyDataTransformFilter) to 
the polydata. But this doesn't seem to work as I'd like.
Can anyone point me in the right direction?
Thank you very much,
Miro





More information about the vtkusers mailing list