[vtkusers] Interact with one of the actors
Jim
jiksed at yahoo.com
Mon Jun 20 18:15:12 EDT 2005
Hi Goodwin,
Thanks for your advice. I added these two lines of code to the TCL example
VTK\Rendering\Testing\Tcl\pickCells.tcl
vtkInteractorStyleTrackballActor irenstyle
iren SetInteractorStyle irenstyle
It worked great! I can control each actor independently. The only problem is that all
manipulation is limited inside the same Z depth buffer. It seems to me that I can not change
the depth order of the actors. Thank you.
Jim
Goodwin Lawlor <goodwin.lawlor at ucd.ie> wrote:
Hi Jim,
To drag vtkActors around (independently of each other) use
vtkInteractorStyleTrackballActor as the interactor style.
hth
Goodwin
"Jim" wrote in message
news:20050620183157.17774.qmail at web31905.mail.mud.yahoo.com...
Dear vtkusers,
To make my question clearer, I found an example which is similar to my
request:
VTK\Rendering\Testing\Tcl\pickCells.tcl
It seems to me that picking a cell is not a problem. How can I pick and then
drag a cell
around? Thanks. Jim.
Jim wrote:
Dear VTKUSERS,
I have multiple actors added to the same renderer. Is is possilbe to pick or
select any of the
actors AND drag it around with VTK? The default behavior is to
rotate/zoom/pan all actors
at the same time, but I want to interact with only one of the actors.
Someone please point me
to the right direction or a link to an example? Thanks a bunch.
Jim
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050620/16433319/attachment.htm>
More information about the vtkusers
mailing list