<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=TR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.cpp?root=VTK&content-type=text/plain</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Gökhan ERSOY [mailto:goksoy66@gmail.com] <br>
<b>Sent:</b> Friday, August 22, 2008 3:36 PM<br>
<b>To:</b> Sercani<br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] how to use keyboard buttons?<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>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...<o:p></o:p></p>
<div>
<p class=MsoNormal>22 Ağustos 2008 Cuma 15:10 tarihinde Sercani <<a
href="mailto:sercanimailgroups@gmail.com">sercanimailgroups@gmail.com</a>>
yazdı:<o:p></o:p></p>
<div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>Hi Gökhan;</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>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><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>Kolay gelsin :D</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>Sercani...</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>
<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <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><o:p></o:p></p>
</div>
<div>
<div>
<p> <o:p></o: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<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>