]> SALOME platform Git repositories - modules/visu.git/blob - doc/salome/gui/GAUSS/navigation_using_the_spacemouse.htm
Salome HOME
Merge from OCC_development_generic_2006
[modules/visu.git] / doc / salome / gui / GAUSS / navigation_using_the_spacemouse.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Navigation using the spacemouse</title>\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { border:none; width:32px; height:37px; float:none; border-style:none; }\r
18 p.whs2 { text-align:center; }\r
19 img_whs3 { border:none; width:250px; height:255px; float:none; border-style:none; }\r
20 p.whs4 { text-align:center; font-size:8pt; }\r
21 table.whs5 { x-cell-content-align:top; width:83.032%; margin-left:40px; border-spacing:0px; }\r
22 col.whs6 { width:22.707%; }\r
23 col.whs7 { width:35.785%; }\r
24 col.whs8 { width:41.508%; }\r
25 tr.whs9 { x-cell-content-align:top; }\r
26 td.whs10 { width:22.707%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }\r
27 p.whs11 { font-weight:bold; text-align:center; }\r
28 td.whs12 { width:35.785%; padding-right:10px; padding-left:10px; border-top-width:1px; border-top-color:#000000; border-top-style:Solid; border-right-style:Solid; border-right-color:#000000; border-right-width:1px; border-bottom-width:1px; border-bottom-color:#000000; border-bottom-style:Solid; background-color:#008080; }\r
29 td.whs13 { width:41.508%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }\r
30 td.whs14 { width:22.707%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; x-cell-content-align:center; }\r
31 td.whs15 { width:35.785%; padding-right:10px; padding-left:10px; border-right-style:Solid; border-right-color:#000000; border-right-width:1px; border-bottom-width:1px; border-bottom-color:#000000; border-bottom-style:Solid; }\r
32 img_whs16 { border:none; width:191px; height:152px; border-style:none; }\r
33 td.whs17 { width:41.508%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
34 p.whs18 { font-style:italic; font-weight:bold; }\r
35 img_whs19 { border:none; width:190px; height:157px; border-style:none; }\r
36 img_whs20 { border:none; width:216px; height:189px; border-style:none; }\r
37 img_whs21 { border:none; width:198px; height:158px; border-style:none; }\r
38 ul.whs22 { list-style:circle; }\r
39 img_whs23 { border:none; width:257px; height:254px; border-style:none; }\r
40 table.whs24 { x-cell-content-align:top; width:72.748%; margin-left:40px; border-spacing:0px; }\r
41 col.whs25 { width:22.381%; }\r
42 col.whs26 { width:77.619%; }\r
43 td.whs27 { width:22.381%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }\r
44 td.whs28 { width:77.619%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; background-color:#008080; }\r
45 td.whs29 { width:22.381%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
46 td.whs30 { width:77.619%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
47 -->\r
48 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
49 <!--\r
50 function reDo() {\r
51   if (innerWidth != origWidth || innerHeight != origHeight)\r
52      location.reload();\r
53 }\r
54 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
55         origWidth = innerWidth;\r
56         origHeight = innerHeight;\r
57         onresize = reDo;\r
58 }\r
59 onerror = null; \r
60 //-->\r
61 </script>\r
62 <style type="text/css">\r
63 <!--\r
64 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
65 -->\r
66 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
67 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
68 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
69 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
70 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
71 </head>\r
72 <body><script type="text/javascript" language="javascript1.2">\r
73 <!--\r
74 if (window.gbWhTopic)\r
75 {\r
76         if (window.addTocInfo)\r
77         {\r
78         addTocInfo("Navigation within the scene\nNavigation using the spacemouse");\r
79 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
80 \r
81         }\r
82         if (window.writeBtnStyle)\r
83                 writeBtnStyle();\r
84 \r
85         if (window.writeIntopicBar)\r
86                 writeIntopicBar(1);\r
87 \r
88         if (window.setRelStartPage)\r
89         {\r
90         setRelStartPage("gauss_points_viewer.htm");\r
91 \r
92                 autoSync(1);\r
93                 sendSyncInfo();\r
94                 sendAveInfoOut();\r
95         }\r
96 }\r
97 else\r
98         if (window.gbIE4)\r
99                 document.location.reload();\r
100 //-->\r
101 </script>\r
102 <h1><a name=Navigation_using_the_spacemouse></a>Navigation using the spacemouse</h1>\r
103 \r
104 <p><img src="info_blue.jpg" x-maintain-ratio="TRUE" width="32px" height="37px" border="0" class="img_whs1"> Salome does not provide any way to navigate within the \r
105  scene using a spacemouse. Thus the support of this new pointer will be \r
106  added and managed as defined below.</p>\r
107 \r
108 <p>&nbsp;</p>\r
109 \r
110 <p>The spacemouse introduces a local coordinate system, and 6 degrees of \r
111  freedom, which are independent from the 3D view coordinate system. They \r
112  are defined as follows:</p>\r
113 \r
114 <p>&nbsp;</p>\r
115 \r
116 <p align="center" class="whs2"><img src="image50.gif" x-maintain-ratio="TRUE" width="250px" height="255px" border="0" class="img_whs3"></p>\r
117 \r
118 <p align="center" class="whs2">&nbsp;</p>\r
119 \r
120 <p align="center" class="whs4">Fig. 35 : Spacemouse local co-ordinate system</p>\r
121 \r
122 <p>&nbsp;</p>\r
123 \r
124 <p>Move 3D models and scenes on screen based on the corresponding direction \r
125  the user moves the cap on the controller.</p>\r
126 \r
127 <p>The commands available using the spacemouse are then defined as follows:</p>\r
128 \r
129 <p>&nbsp;</p>\r
130 \r
131 <table x-use-null-cells cellspacing="0" width="83.032%" class="whs5">\r
132 <col class="whs6">\r
133 <col class="whs7">\r
134 <col class="whs8">\r
135 \r
136 <tr valign="top" class="whs9">\r
137 <td bgcolor="#008080" width="22.707%" class="whs10">\r
138 <p align="center" class="whs11">Action</td>\r
139 <td bgcolor="#008080" width="35.785%" class="whs12">\r
140 <p align="center" class="whs11">Move</td>\r
141 <td bgcolor="#008080" width="41.508%" class="whs13">\r
142 <p align="center" class="whs11">Description</td></tr>\r
143 \r
144 <tr valign="top" class="whs9">\r
145 <td rowspan="2" colspan="1" valign="middle" width="22.707%" class="whs14">\r
146 <p align="center" class="whs2">Dynamic rotation</td>\r
147 <td width="35.785%" class="whs15">\r
148 <p><img src="image51.gif" width="191px" height="152px" border="0" class="img_whs16"></td>\r
149 <td width="41.508%" class="whs17">\r
150 <p><span style="font-weight: bold;"><B>Tilt</B></span> the controller head left \r
151  and right or forward and backward to rotate accordingly (X-Z axis).</p>\r
152 <p>&nbsp;</p>\r
153 <p class="whs18"><img src="ex_green.jpg" x-maintain-ratio="TRUE" width="32px" height="37px" border="0" class="img_whs1"> Note: \r
154  Left/right capability will be disabled.</td></tr>\r
155 \r
156 <tr valign="top" class="whs9">\r
157 <td width="35.785%" class="whs15">\r
158 <p><img src="image52.gif" width="190px" height="157px" border="0" class="img_whs19"></td>\r
159 <td width="41.508%" class="whs17">\r
160 <p><span style="font-weight: bold;"><B>Twist</B></span> clockwise and counterclockwise \r
161  to rotate the model accordingly (Y-axis)</td></tr>\r
162 \r
163 <tr valign="top" class="whs9">\r
164 <td valign="middle" width="22.707%" class="whs14">\r
165 <p align="center" class="whs2">Dynamic panning</td>\r
166 <td width="35.785%" class="whs15">\r
167 <p><img src="image53.gif" width="216px" height="189px" border="0" class="img_whs20"></td>\r
168 <td width="41.508%" class="whs17">\r
169 <p><span style="font-weight: bold;"><B>Pull</B></span> up and<span style="font-weight: bold;"><B> \r
170  push</B></span> down to move the model up and down.</p>\r
171 <p><span style="font-weight: bold;"><B>Move left</B></span> and <span style="font-weight: bold;"><B>right</B></span> \r
172  to move the model left and right.</td></tr>\r
173 \r
174 <tr valign="top" class="whs9">\r
175 <td valign="middle" width="22.707%" class="whs14">\r
176 <p align="center" class="whs2">Dynamic zoom</td>\r
177 <td width="35.785%" class="whs15">\r
178 <p><img src="image54.gif" width="198px" height="158px" border="0" class="img_whs21"></td>\r
179 <td width="41.508%" class="whs17">\r
180 <p><span style="font-weight: bold;"><B>Push forward</B></span> or <span style="font-weight: bold;"><B>pull \r
181  backwards</B></span> to respectively decrease or increase the zoom ratio.</td></tr>\r
182 </table>\r
183 \r
184 <p>&nbsp;</p>\r
185 \r
186 <ul type="circle" class="whs22">\r
187         \r
188         <li class=kadov-p><p>This support will be active at any time during \r
189  a VISU session.</p></li>\r
190 </ul>\r
191 \r
192 <p>&nbsp;</p>\r
193 \r
194 <p>Buttons of the spacemouse are also used to change the magnification \r
195  for Gauss points:</p>\r
196 \r
197 <p>&nbsp;</p>\r
198 \r
199 <p align="center" class="whs2"><img src="image55.gif" width="257px" height="254px" border="0" class="img_whs23"></p>\r
200 \r
201 <p align="center" class="whs2">&nbsp;</p>\r
202 \r
203 <p align="center" class="whs4">Fig. 36 : Spacemouse buttons control</p>\r
204 \r
205 <p align="center" class="whs2">&nbsp;</p>\r
206 \r
207 <p>By default, buttons are defined as follow, but user can change them \r
208  in the preferences:</p>\r
209 \r
210 <p>&nbsp;</p>\r
211 \r
212 <table x-use-null-cells cellspacing="0" width="72.748%" class="whs24">\r
213 <script language='JavaScript'><!--\r
214 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='72.748%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");\r
215 //--></script>\r
216 <col class="whs25">\r
217 <col class="whs26">\r
218 \r
219 <tr valign="top" class="whs9">\r
220 <td bgcolor="#008080" width="22.381%" class="whs27">\r
221 <p align="center" class="whs11">Button</td>\r
222 <td bgcolor="#008080" width="77.619%" class="whs28">\r
223 <p align="center" class="whs11">Description</td></tr>\r
224 \r
225 <tr valign="top" class="whs9">\r
226 <td width="22.381%" class="whs29">\r
227 <p align="center" class="whs2">Button 1</td>\r
228 <td width="77.619%" class="whs30">\r
229 <p>Decrease by 1 the speed increment used for the keyboard (same as [-] \r
230  key)</td></tr>\r
231 \r
232 <tr valign="top" class="whs9">\r
233 <td width="22.381%" class="whs29">\r
234 <p align="center" class="whs2">Button 2</td>\r
235 <td width="77.619%" class="whs30">\r
236 <p>Increase by 1 the speed increment used for the keyboard (same as [+] \r
237  key)</td></tr>\r
238 \r
239 <tr valign="top" class="whs9">\r
240 <td width="22.381%" class="whs29">\r
241 <p align="center" class="whs2">Button 10</td>\r
242 <td width="77.619%" class="whs30">\r
243 <p>Divide the current magnification by the magnification ratio</td></tr>\r
244 \r
245 <tr valign="top" class="whs9">\r
246 <td width="22.381%" class="whs29">\r
247 <p align="center" class="whs2">Button 11</td>\r
248 <td width="77.619%" class="whs30">\r
249 <p>Multiply the current magnification by the magnification ratio</td></tr>\r
250 \r
251 <tr valign="top" class="whs9">\r
252 <td width="22.381%" class="whs29">\r
253 <p align="center" class="whs2">Button Star</td>\r
254 <td width="77.619%" class="whs30">\r
255 <p>Toggle button to switch to dominant or combined movements</td></tr>\r
256 <script language='JavaScript'><!--\r
257 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");\r
258 //--></script>\r
259 </table>\r
260 \r
261 <p>&nbsp;</p>\r
262 \r
263 <p>&nbsp;</p>\r
264 \r
265 <script type="text/javascript" language="javascript1.2">\r
266 <!--\r
267 if (window.writeIntopicBar)\r
268         writeIntopicBar(0);\r
269 //-->\r
270 </script>\r
271 </body>\r
272 </html>\r