Salome HOME
Merge from OCC_development_generic_2006
[modules/visu.git] / doc / salome / gui / GAUSS / cameras.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>Cameras</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:220px; 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:82.127%; margin-left:40px; border-spacing:0px; }\r
22 col.whs6 { width:31.543%; }\r
23 col.whs7 { width:68.457%; }\r
24 tr.whs8 { x-cell-content-align:top; }\r
25 td.whs9 { width:31.543%; 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
26 p.whs10 { font-weight:bold; }\r
27 td.whs11 { width:68.457%; 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
28 td.whs12 { width:31.543%; 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
29 td.whs13 { width:68.457%; 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
30 ul.whs14 { list-style:disc; }\r
31 img_whs15 { border:none; width:230px; height:154px; border-style:none; }\r
32 -->\r
33 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
34 <!--\r
35 function reDo() {\r
36   if (innerWidth != origWidth || innerHeight != origHeight)\r
37      location.reload();\r
38 }\r
39 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
40         origWidth = innerWidth;\r
41         origHeight = innerHeight;\r
42         onresize = reDo;\r
43 }\r
44 onerror = null; \r
45 //-->\r
46 </script>\r
47 <style type="text/css">\r
48 <!--\r
49 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
50 -->\r
51 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
52 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
53 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
54 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
55 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
56 </head>\r
57 <body><script type="text/javascript" language="javascript1.2">\r
58 <!--\r
59 if (window.gbWhTopic)\r
60 {\r
61         if (window.addTocInfo)\r
62         {\r
63         addTocInfo("Navigation within the scene\nCameras");\r
64 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
65 \r
66         }\r
67         if (window.writeBtnStyle)\r
68                 writeBtnStyle();\r
69 \r
70         if (window.writeIntopicBar)\r
71                 writeIntopicBar(1);\r
72 \r
73         if (window.setRelStartPage)\r
74         {\r
75         setRelStartPage("gauss_points_viewer.htm");\r
76 \r
77                 autoSync(1);\r
78                 sendSyncInfo();\r
79                 sendAveInfoOut();\r
80         }\r
81 }\r
82 else\r
83         if (window.gbIE4)\r
84                 document.location.reload();\r
85 //-->\r
86 </script>\r
87 <h1>Cameras</h1>\r
88 \r
89 <p><img src="info_blue.jpg" x-maintain-ratio="TRUE" width="32px" height="37px" border="0" class="img_whs1"> Salome provides a simple way to store and retrieve a \r
90  specific point of view corresponding to the scene really seen by user. \r
91  This behaviour will be kept without any change for the project.</p>\r
92 \r
93 <p>&nbsp;</p>\r
94 \r
95 <p>This command is activated by right clicking with the mouse on the 3D \r
96  view. Then a popup menu is opened, and user can select the \91<span style="font-weight: bold;"><B>Save \r
97  view parameters</B></span>\92.</p>\r
98 \r
99 <p>&nbsp;</p>\r
100 \r
101 <p>The selection of this command creates a new child node in the Study \r
102  and is shown in the Study browser under the main entry \91Post-Pro\92 \96 i.e. \r
103  nodes are located at the same levels as MED files.</p>\r
104 \r
105 <p>&nbsp;</p>\r
106 \r
107 <p>From these nodes, 4 options are accessible through another contextual \r
108  popup menu, as described in the following figure:</p>\r
109 \r
110 <p>&nbsp;</p>\r
111 \r
112 <p align="center" class="whs2"><img src="image56.gif" x-maintain-ratio="FALSE" width="250px" height="220px" border="0" class="img_whs3"></p>\r
113 \r
114 <p align="center" class="whs2">&nbsp;</p>\r
115 \r
116 <p align="center" class="whs4">Fig. 37 : Popup menu from a \91Camera\92 item of the tree</p>\r
117 \r
118 <p align="center" class="whs2">&nbsp;</p>\r
119 \r
120 <table x-use-null-cells cellspacing="0" width="82.127%" class="whs5">\r
121 <script language='JavaScript'><!--\r
122 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='82.127%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");\r
123 //--></script>\r
124 <col class="whs6">\r
125 <col class="whs7">\r
126 \r
127 <tr valign="top" class="whs8">\r
128 <td bgcolor="#008080" width="31.543%" class="whs9">\r
129 <p class="whs10">Command</td>\r
130 <td bgcolor="#008080" width="68.457%" class="whs11">\r
131 <p class="whs10">Purpose</td></tr>\r
132 \r
133 <tr valign="top" class="whs8">\r
134 <td valign="middle" width="31.543%" class="whs12">\r
135 <p class="whs10">Restore view parameters</td>\r
136 <td width="68.457%" class="whs13">\r
137 <p>Apply the current settings of the view parameter to the current 3D view.</td></tr>\r
138 \r
139 <tr valign="top" class="whs8">\r
140 <td valign="middle" width="31.543%" class="whs12">\r
141 <p class="whs10">Save view parameters</td>\r
142 <td width="68.457%" class="whs13">\r
143 <p>Save current parameters of the 3D view to the current entry of the tree \r
144  (position, view point and focal distance).</td></tr>\r
145 \r
146 <tr valign="top" class="whs8">\r
147 <td valign="middle" width="31.543%" class="whs12">\r
148 <p class="whs10">Rename</td>\r
149 <td width="68.457%" class="whs13">\r
150 <p>Allows user to redefine the name of the element. A dialog is opened \r
151  to realize the input.</td></tr>\r
152 \r
153 <tr valign="top" class="whs8">\r
154 <td valign="middle" width="31.543%" class="whs12">\r
155 <p class="whs10">Delete</td>\r
156 <td width="68.457%" class="whs13">\r
157 <p>Remove the element from the study browser.</td></tr>\r
158 <script language='JavaScript'><!--\r
159 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");\r
160 //--></script>\r
161 </table>\r
162 \r
163 <p>&nbsp;</p>\r
164 \r
165 <p>Persistence of \91View parameters\92 is ensured as a standard Salome behavior \r
166  and consists in storing/retrieving the corresponding SALOMEDS Study attribute.</p>\r
167 \r
168 <p>&nbsp;</p>\r
169 \r
170 <p class="whs10"><a name=Movement_of_the_camera_between_2_positions>Movement \r
171  of the camera between 2 positions</a></p>\r
172 \r
173 <p>In certain situation, the movement of camera is slow and smooth to allow \r
174  user to understand the displacement. Situation concerned are:</p>\r
175 \r
176 <p>&nbsp;</p>\r
177 \r
178 <ul type="disc" class="whs14">\r
179         \r
180         <li class=kadov-p><p>Movement between two registered camera positions \r
181  as defined in the previous paragraph</p></li>\r
182         \r
183         <li class=kadov-p><p>Movement when picking a point (see <a href="description_of_the_picking_functionality.htm">Description \r
184  of the picking functionality</a>)</p></li>\r
185 </ul>\r
186 \r
187 <p>&nbsp;</p>\r
188 \r
189 <p>The path between 2 positions will be interpolated by a number of steps \r
190  computed by the system according to an angular step defined in the preferences.</p>\r
191 \r
192 <p>&nbsp;</p>\r
193 \r
194 <p>The interpolated movement takes care about initial and final positions \r
195  and orientations of the view point and the focal point.</p>\r
196 \r
197 <p>&nbsp;</p>\r
198 \r
199 <p align="center" class="whs2"><img src="image57.gif" width="230px" height="154px" border="0" class="img_whs15"></p>\r
200 \r
201 <p align="center" class="whs2">&nbsp;</p>\r
202 \r
203 <p align="center" class="whs4">Fig. 38 : Transformation between 2 cameras</p>\r
204 \r
205 <p align="center" class="whs2">&nbsp;</p>\r
206 \r
207 <p class="whs10">Changing the view point to a predefined state</p>\r
208 \r
209 <p>The user can also change the view point by any of the pre-defined icons \r
210  of the 3D view (top, down, front, back, left, right, axo):</p>\r
211 \r
212 <p>&nbsp;</p>\r
213 \r
214 <ul type="disc" class="whs14">\r
215         \r
216         <li class=kadov-p><p>The camera is <span style="font-weight: bold;"><B>smoothly</B></span> \r
217  modified to the <span style="font-weight: bold;"><B>standard pre-defined \r
218  state</B></span> of the corresponding pre-defined view (position, focus, focal \r
219  distance)</p></li>\r
220         \r
221         <li class=kadov-p><p>The center of dynamic rotation of the view is \r
222  modified to the one corresponding to the pre-defined view</p></li>\r
223         \r
224         <li class=kadov-p><p>In the case a point is selected, it remains selected</p></li>\r
225 </ul>\r
226 \r
227 <p>&nbsp;</p>\r
228 \r
229 <script type="text/javascript" language="javascript1.2">\r
230 <!--\r
231 if (window.writeIntopicBar)\r
232         writeIntopicBar(0);\r
233 //-->\r
234 </script>\r
235 </body>\r
236 </html>\r