[vtkusers] (Help)Can I change an Actor's coordinate by operate the actor in a window

David Doria daviddoria at gmail.com
Wed Nov 16 07:17:06 EST 2011


2011/11/16 老猫 <872996403 at qq.com>:
> Hello
>
> I put some points into an Actor.Now I want to change these points'
> coordinate by operate the actor in a window.
> For example,I can do the rotate operation.
> Is there any way can I make it true? I find the InteractorStyle of Actor
> cannot help me.
> If it can be done by some way,can I get the points from the changed Actor?
>
> Thank you

I think you are looking for something like this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/RotateActor

And here is another example that uses the same technique:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Interaction/Game

David



More information about the vtkusers mailing list