Salome HOME
PAL12557: Documentation for scripts is not up to date.
[modules/geom.git] / doc / salome / gui / GEOM / occ_viewer.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>OCC_Viewer</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:291px; height:29px; float:none; border-style:none; }\r
18 ul.whs2 { list-style:disc; }\r
19 img_whs3 { border:none; width:26px; height:25px; float:none; border-style:none; }\r
20 img_whs4 { border:none; width:27px; height:25px; float:none; border-style:none; }\r
21 img_whs5 { border:none; width:24px; height:23px; float:none; border-style:none; }\r
22 img_whs6 { border:none; width:24px; height:24px; float:none; border-style:none; }\r
23 img_whs7 { border:none; width:25px; height:24px; float:none; border-style:none; }\r
24 img_whs8 { border:none; width:23px; height:23px; float:none; border-style:none; }\r
25 img_whs9 { border:none; width:26px; height:26px; float:none; border-style:none; }\r
26 img_whs10 { border:none; width:78px; height:147px; float:none; border-style:none; }\r
27 img_whs11 { border:none; height:26px; float:none; width:29px; border-style:none; }\r
28 img_whs12 { border:none; width:26px; height:24px; float:none; border-style:none; }\r
29 img_whs13 { border:none; width:28px; height:29px; float:none; border-style:none; }\r
30 img_whs14 { border:none; width:29px; height:26px; float:none; border-style:none; }\r
31 p.whs15 { margin-left:40px; }\r
32 img_whs16 { border:none; width:395px; height:280px; float:none; border-style:none; }\r
33 p.whs17 { margin-left:84px; }\r
34 -->\r
35 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
36 <!--\r
37 function reDo() {\r
38   if (innerWidth != origWidth || innerHeight != origHeight)\r
39      location.reload();\r
40 }\r
41 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
42         origWidth = innerWidth;\r
43         origHeight = innerHeight;\r
44         onresize = reDo;\r
45 }\r
46 onerror = null; \r
47 //-->\r
48 </script>\r
49 <style type="text/css">\r
50 <!--\r
51 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
52 p.WebHelpNavBar { text-align:right; }\r
53 -->\r
54 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
55 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
56 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
57 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
58 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
59 <script type="text/javascript" language="javascript1.2">\r
60 <!--\r
61 if (window.gbWhTopic)\r
62 {\r
63         if (window.setRelStartPage)\r
64         {\r
65         addTocInfo("Geometry module\nViewing geometrical objects\nOCC 3D Viewer");\r
66 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
67 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
68 \r
69         }\r
70 \r
71 \r
72         if (window.setRelStartPage)\r
73         {\r
74         setRelStartPage("index.htm");\r
75 \r
76                 autoSync(1);\r
77                 sendSyncInfo();\r
78                 sendAveInfoOut();\r
79         }\r
80 \r
81 }\r
82 else\r
83         if (window.gbIE4)\r
84                 document.location.reload();\r
85 //-->\r
86 </script>\r
87 </head>\r
88 <body><script type="text/javascript" language="javascript1.2">\r
89 <!--\r
90 if (window.writeIntopicBar)\r
91         writeIntopicBar(4);\r
92 //-->\r
93 </script>\r
94 <h1>OCC 3D Viewer</h1>\r
95 \r
96 <p><span style="font-weight: bold;"><B>OCC (Open CasCade) 3D viewer</B></span> \r
97  has been developed on the basis of Open CASCADE Technology. This is the \r
98  default viewer for Geometry Module, providing good representation of construction \r
99  and transformation of geometrical objects. Only this viewer allows to \r
100  work with groups and sub-shapes. This viewer can also work in Mesh module, \r
101  however, it doesn't allow to visualize meshes. </p>\r
102 \r
103 <p>&nbsp;</p>\r
104 \r
105 <p>The functions of OCC viewer are available via its Viewer Toolbar. Buttons \r
106  marked with small downward triangles have extended functionality which \r
107  can be accessed by locking on them with left mouse button. &nbsp;</p>\r
108 \r
109 <p>&nbsp;</p>\r
110 \r
111 <p><img src="pics/image95.gif" x-maintain-ratio="TRUE" width="291px" height="29px" border="0" class="img_whs1"></p>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <ul type="disc" class="whs2">\r
116         \r
117         <li class=kadov-p><p><img src="pics/image77.gif" x-maintain-ratio="TRUE" width="26px" height="25px" border="0" class="img_whs3"> <span style="font-weight: bold;"><B>Dump \r
118  View</B></span> - exports an object from the viewer in bmp, png, jpg or jpeg \r
119  image format. </p></li>\r
120         \r
121         <li class=kadov-p><p><img src="pics/image88.gif" x-maintain-ratio="TRUE" width="27px" height="25px" border="0" class="img_whs4"> <span style="font-weight: bold;"><B>Show/Hide \r
122  Trihedron</B></span> - shows or hides coordinate axes. </p></li>\r
123         \r
124         <li class=kadov-p><p><img src="pics/image96.gif" x-maintain-ratio="TRUE" width="24px" height="23px" border="0" class="img_whs5"> &nbsp;<span \r
125  style="font-weight: bold;"><B>Fit all - </B></span>allows \r
126  to select a point to be the center of a scene representing all displayed \r
127  objects in the visible area.<span style="font-weight: bold;"> <B></B></span></p></li>\r
128         \r
129         <li class=kadov-p><p>&nbsp;<img src="pics/image97.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Fit area</B></span> - resizes \r
130  the view to place in the visible area only the contents of a frame drawn \r
131  with pressed left mouse button.</p></li>\r
132         \r
133         <li class=kadov-p><p><img src="pics/image98.gif" x-maintain-ratio="TRUE" width="25px" height="24px" border="0" class="img_whs7"> <span style="font-weight: bold;"><B>Zoom</B></span> \r
134  - &nbsp;allows \r
135  to zoom in and out. </p></li>\r
136         \r
137         <li class=kadov-p><p><img src="pics/image99.gif" x-maintain-ratio="TRUE" width="23px" height="23px" border="0" class="img_whs8"> <span style="font-weight: bold;"><B>Panning</B></span> \r
138  - if the represented objects are greater that the visible area and you \r
139  don't wish to use <span style="font-weight: bold;"><B>Fit all</B></span> functionality, \r
140  click on this button and you'll be able to drag the scene to see its remote \r
141  parts. </p></li>\r
142         \r
143         <li class=kadov-p><p><img src="pics/image100.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Global \r
144  panning</B></span> - represents all displayed objects in the visible area. \r
145  </p></li>\r
146         \r
147         <li class=kadov-p><p><img src="pics/image89.gif" x-maintain-ratio="TRUE" width="26px" height="26px" border="0" class="img_whs9"> <span style="font-weight: bold;"><B>Rotation</B></span> \r
148  - allows to rotate the selected object using the mouse. </p></li>\r
149         \r
150         <li class=kadov-p><p><img src="pics/image102.gif" x-maintain-ratio="TRUE" width="78px" height="147px" border="0" class="img_whs10"> These buttons orientate the scene \r
151  strictly about coordinate axes.</p></li>\r
152         \r
153         <li class=kadov-p><p><img src="pics/image91.gif" x-maintain-ratio="TRUE" height="26px" width="29px" border="0" class="img_whs11"> <span style="font-weight: bold;"><B>Reset</B></span> \r
154  - restores the default position (isometric) of objects in the scene.</p></li>\r
155         \r
156         <li class=kadov-p><p><img src="pics/image103.gif" x-maintain-ratio="TRUE" width="26px" height="24px" border="0" class="img_whs12"> <span style="font-weight: bold;"><B>Memorise \r
157  view</B></span> - saves the current position of objects in the scene</p></li>\r
158         \r
159         <li class=kadov-p><p><img src="pics/image105.gif" x-maintain-ratio="TRUE" width="26px" height="25px" border="0" class="img_whs3"> <span style="font-weight: bold;"><B>Restore \r
160  view - </B></span>restores the<span style="font-weight: bold;"> <B></B></span>saved \r
161  position of objects in the scene</p></li>\r
162         \r
163         <li class=kadov-p><p><img src="pics/image86.gif" x-maintain-ratio="TRUE" width="28px" height="29px" border="0" class="img_whs13"> <span style="font-weight: bold;"><B>Clone \r
164  view</B></span> - opens a new duplicate scene.</p></li>\r
165         \r
166         <li class=kadov-p><p><img src="pics/image106.gif" x-maintain-ratio="TRUE" width="29px" height="26px" border="0" class="img_whs14"> <span style="font-weight: bold;"><B>Clipping \r
167  -</B></span> allows to create cross-section views (clipping planes) of geometrical \r
168  objects.</p></li>\r
169 </ul>\r
170 \r
171 <p>&nbsp;</p>\r
172 \r
173 <p class="whs15"><img src="pics/clipping.png" x-maintain-ratio="TRUE" width="395px" height="280px" border="0" class="img_whs16"></p>\r
174 \r
175 <p class="whs15">&nbsp;</p>\r
176 \r
177 <ul type="disc" class="whs2">\r
178         \r
179         <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Base \r
180  point</B></span> - allows to define the coordinates of the base point for \r
181  the clipping plane. Click </p></li>\r
182         \r
183         <li class=kadov-p><p class="whs17"><span style="font-weight: bold;"><B>Reset</B></span> \r
184  - returns the base point to coordinate origin. </p></li>\r
185         \r
186         <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Direction</B></span> \r
187  - allows to define the orientation of the clipping plane.</p></li>\r
188         \r
189         <li class=kadov-p><p class="whs17"><span style="font-weight: bold;"><B>Invert</B></span> \r
190  - allows to select which part of the object will be removed and which \r
191  will remain after clipping. </p></li>\r
192         \r
193         <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Preview</B></span> \r
194  - allows to see the results of clipping in the viewer.</p></li>\r
195 </ul>\r
196 \r
197 <p>&nbsp;</p>\r
198 \r
199 <script type="text/javascript" language="javascript1.2">\r
200 <!--\r
201 if (window.writeIntopicBar)\r
202         writeIntopicBar(0);\r
203 //-->\r
204 </script>\r
205 </body>\r
206 </html>\r