<DIV>Hi Goodwin,</DIV>
<DIV> </DIV>
<DIV>Thanks for your advice. I added these two lines of code to the TCL example </DIV>
<DIV>VTK\Rendering\Testing\Tcl\pickCells.tcl</DIV>
<DIV> </DIV>
<DIV>vtkInteractorStyleTrackballActor irenstyle<BR> iren SetInteractorStyle irenstyle</DIV>
<DIV><BR>It worked great! I can control each actor independently. The only problem is that all </DIV>
<DIV>manipulation is limited inside the same Z depth buffer. It seems to me that I can not change </DIV>
<DIV>the depth order of the actors. Thank you.</DIV>
<DIV> </DIV>
<DIV>Jim</DIV>
<DIV> </DIV>
<DIV><BR><B><I>Goodwin Lawlor <goodwin.lawlor@ucd.ie></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Jim,<BR><BR>To drag vtkActors around (independently of each other) use<BR>vtkInteractorStyleTrackballActor as the interactor style.<BR><BR>hth<BR><BR>Goodwin<BR><BR><BR>"Jim" <JIKSED@YAHOO.COM>wrote in message<BR>news:20050620183157.17774.qmail@web31905.mail.mud.yahoo.com...<BR>Dear vtkusers,<BR><BR>To make my question clearer, I found an example which is similar to my<BR>request:<BR><BR>VTK\Rendering\Testing\Tcl\pickCells.tcl<BR><BR>It seems to me that picking a cell is not a problem. How can I pick and then<BR>drag a cell<BR>around? Thanks. Jim.<BR><BR><BR>Jim <JIKSED@YAHOO.COM>wrote:<BR>Dear VTKUSERS,<BR><BR>I have multiple actors added to the same renderer. Is is possilbe to pick or<BR>select any of the<BR>actors AND drag it around with VTK? The default behavior is to<BR>rotate/zoom/pan all actors<BR>at the same time, but I want to interact with only one of the
actors.<BR>Someone please point me<BR>to the right direction or a link to an example? Thanks a bunch.<BR><BR>Jim<BR><BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com