<div dir="ltr">when i apply only following code, can i use direction buttons? i am sorry, but i am very new in vtk. :(<br><br> vtkRenderWindowInteractor iren;<br> ...<br> <i> </i>vtkInteractorStyleFlight style = new vtkInteractorStyleFlight();<br>
iren.SetInteractorStyle(style<i>);</i><br><br><br>Gökhan<br><br><br><div class="gmail_quote">2008/8/22 Sercani <span dir="ltr"><<a href="mailto:sercanimailgroups@gmail.com">sercanimailgroups@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="TR">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">You can find example code here : <a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.cpp?root=VTK&content-type=text/plain" target="_blank">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.cpp?root=VTK&content-type=text/plain</a></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Gökhan ERSOY [mailto:<a href="mailto:goksoy66@gmail.com" target="_blank">goksoy66@gmail.com</a>] <br>
<b>Sent:</b> Friday, August 22, 2008 3:36 PM<br>
<b>To:</b> Sercani<br>
<b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b>Subject:</b> Re: [vtkusers] how to use keyboard buttons?</span></p>
</div><div><div></div><div class="Wj3C7c">
<p> </p>
<div>
<p style="margin-bottom: 12pt;">do u have an example code for
vtkInteractorStyleFlight? i can understand better with a simple example.<br>
<br>
bilgiler için sağol :)<br>
<br>
Gökhan...</p>
<div>
<p>22 Ağustos 2008 Cuma 15:10 tarihinde Sercani <<a href="mailto:sercanimailgroups@gmail.com" target="_blank">sercanimailgroups@gmail.com</a>>
yazdı:</p>
<div>
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Gökhan;</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">You can use
vtkInteractorStyleFlight for moving an object on screen using keyboard...Your
second question depends on selecting the actor to interact. If you want to
select that actor by clicking on it you can use vtkPropPicker or
vtkVisibleCellSelector and use actor->SetUserMatrix or
actor->SetUserTransform(). If you wont choose the actor by clicking on
it, you can set other actor's draggable value to off.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Kolay gelsin :D</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Sercani...</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>]
<b>On Behalf Of </b>Gökhan ERSOY<br>
<b>Sent:</b> Friday, August 22, 2008 2:43 PM<br>
<b>To:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b>Subject:</b> [vtkusers] how to use keyboard buttons?</span></p>
</div>
<div>
<div>
<p> </p>
<div>
<p>Hello<br>
<br>
1- i want to use keyboard buttons (direction buttons or other ones) to get move
an object on the screen. how can i do this?<br>
2- other question is how i can interact only one object (Actor) in the screen.
i want an object to be moved anywhere as independent of others. <br>
<br>
thanks...<br>
<br>
Gökhan</p>
</div>
</div>
</div>
</div>
</div>
</div>
<p> </p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>