Salome HOME
27743798746bdb9bb519dc216f234d51dcbfaf5f
[modules/gui.git] / doc / salome / gui / KERNEL / viewers.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>Viewers</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 ul.whs1 { list-style:disc; }\r
18 img_whs2 { border:none; width:26px; height:25px; border-style:none; }\r
19 img_whs3 { border:none; width:27px; height:26px; border-style:none; }\r
20 img_whs4 { border:none; width:28px; height:26px; border-style:none; }\r
21 img_whs5 { border:none; width:28px; height:29px; border-style:none; }\r
22 img_whs6 { border:none; width:27px; height:25px; border-style:none; }\r
23 img_whs7 { border:none; width:26px; height:26px; border-style:none; }\r
24 img_whs8 { border:none; width:28px; height:28px; border-style:none; }\r
25 img_whs9 { border:none; width:27px; height:27px; border-style:none; }\r
26 img_whs10 { border:none; width:29px; height:28px; border-style:none; }\r
27 img_whs11 { border:none; width:25px; height:27px; border-style:none; }\r
28 img_whs12 { border:none; width:28px; height:30px; border-style:none; }\r
29 img_whs13 { border:none; width:402px; height:396px; float:none; border-style:none; }\r
30 -->\r
31 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
32 <!--\r
33 function reDo() {\r
34   if (innerWidth != origWidth || innerHeight != origHeight)\r
35      location.reload();\r
36 }\r
37 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
38         origWidth = innerWidth;\r
39         origHeight = innerHeight;\r
40         onresize = reDo;\r
41 }\r
42 onerror = null; \r
43 //-->\r
44 </script>\r
45 <style type="text/css">\r
46 <!--\r
47 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
48 -->\r
49 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
50 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
51 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
52 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
53 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
54 </head>\r
55 <body><script type="text/javascript" language="javascript1.2">\r
56 <!--\r
57 if (window.gbWhTopic)\r
58 {\r
59         if (window.addTocInfo)\r
60         {\r
61         addTocInfo("GUI module\nViewers");\r
62 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
63 \r
64         }\r
65         if (window.writeBtnStyle)\r
66                 writeBtnStyle();\r
67 \r
68         if (window.writeIntopicBar)\r
69                 writeIntopicBar(1);\r
70 \r
71         if (window.setRelStartPage)\r
72         {\r
73         setRelStartPage("kernel.htm");\r
74 \r
75                 autoSync(1);\r
76                 sendSyncInfo();\r
77                 sendAveInfoOut();\r
78         }\r
79 }\r
80 else\r
81         if (window.gbIE4)\r
82                 document.location.reload();\r
83 //-->\r
84 </script>\r
85 <h1>Viewers</h1>\r
86 \r
87 <p>Salome gives you a choice of four different viewers. This wide choice \r
88  of instruments providing both common and unique possibilities aims to \r
89  give the users of SALOME Platform maximum convenience and ease in their \r
90  work.</p>\r
91 \r
92 <p>Customizing the viewers you can define settings to be used in them by \r
93  default in the <span style="font-weight: bold;"><B>Preferences</B></span> menu.</p>\r
94 \r
95 <p>Salome Platform also provides you with <span style="font-weight: bold;"><B>Viewer \r
96  Toolbars</B></span>, which make it possible to promptly operate your viewer \r
97  scene. Some of the functions are common for all viewers. </p>\r
98 \r
99 <ul type="disc" class="whs1">\r
100         \r
101         <li class=kadov-p><p><img src="image77.gif" width="26px" height="25px" border="0" class="img_whs2"> <span style="font-weight: bold;"><B>Dump \r
102  View</B></span> - exports an object from the viewer in bmp, png, jpg or jpeg \r
103  image format. </p></li>\r
104         \r
105         <li class=kadov-p><p><img src="image78.gif" width="27px" height="26px" border="0" class="img_whs3"> <span style="font-weight: bold;"><B>Fit \r
106  all</B></span> - resizes the view to place all represented objects in the \r
107  visible area</p></li>\r
108         \r
109         <li class=kadov-p><p><img src="image79.gif" width="28px" height="26px" border="0" class="img_whs4"> <span style="font-weight: bold;"><B>Panning</B></span> \r
110  - in case if the represented objects are greater that the visible area \r
111  and you don't wish to use <span style="font-weight: bold;"><B>Fit all</B></span> \r
112  functionality, click on this button and you'll be able to drag the scene \r
113  to see its remote parts. </p></li>\r
114 </ul>\r
115 \r
116 <ul type="disc" class="whs1">\r
117         \r
118         <li class=kadov-p><p><img src="image86.gif" width="28px" height="29px" border="0" class="img_whs5"> <span style="font-weight: bold;"><B>Clone \r
119  view</B></span> - opens a new duplicate scene.</p></li>\r
120 </ul>\r
121 \r
122 <p>&nbsp;</p>\r
123 \r
124 <p><span style="font-weight: bold;"><B>VTK 3d &nbsp;viewer</B></span> \r
125  (Visualization ToolKit Viewer) and <span style="font-weight: bold;"><B>OCC \r
126  3d viewer</B></span> (Open CasCade Viewer) are both useful for creation of \r
127  geometrical models in the GEOM module, however, there some differences, \r
128  which specialize the use of the modules. </p>\r
129 \r
130 <p><span style="font-weight: bold;"><B>OCC 3d viewer</B></span> is the default \r
131  viewer for GEOM Module. Only this viewer gives you the possibility to \r
132  select sub-shapes (described in full detail in the help for the GEOM Module). \r
133  Unfortunately, you can't visualize meshes in this viewer, for this, use \r
134  VTK 3d viewer. &nbsp;&nbsp;</p>\r
135 \r
136 <p><span style="font-weight: bold;"><B>VTK 3d &nbsp;viewer</B></span> \r
137  is the default viewer for SMESH Module. Using this viewer you'll be able \r
138  to visualize and work with meshes. &nbsp;</p>\r
139 \r
140 <p>Most of functions in Viewer Toolbars of these modules are common for \r
141  both viewers, they are:</p>\r
142 \r
143 <ul type="disc" class="whs1">\r
144         \r
145         <li class=kadov-p><p><img src="image88.gif" width="27px" height="25px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Show/Hide \r
146  Trihedron</B></span> - shows or hides coordinate axes. </p></li>\r
147         \r
148         <li class=kadov-p><p><img src="image89.gif" width="26px" height="26px" border="0" class="img_whs7"> <span style="font-weight: bold;"><B>Rotation</B></span> \r
149  - click this button and rotate the selected object in the viewer using \r
150  the mouse. </p></li>\r
151         \r
152         <li class=kadov-p><p><img src="image90.gif" width="28px" height="28px" border="0" class="img_whs8"> <span style="font-weight: bold;"><B>Front</B></span> \r
153  - shows the front view of the object.</p></li>\r
154         \r
155         <li class=kadov-p><p><img src="image91.gif" width="26px" height="26px" border="0" class="img_whs7"> <span style="font-weight: bold;"><B>Reset</B></span> \r
156  - returns the object in its initial position.</p></li>\r
157 </ul>\r
158 \r
159 <p>One more function is available in <span style="font-weight: bold;"><B>OCC \r
160  3d viewer</B></span> only. </p>\r
161 \r
162 <ul type="disc" class="whs1">\r
163         \r
164         <li class=kadov-p><p><img src="image92.gif" width="27px" height="25px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Memorize \r
165  view</B></span> - saves the view of the object. </p></li>\r
166 </ul>\r
167 \r
168 <p>&nbsp;</p>\r
169 \r
170 <p><span style="font-weight: bold;"><B>Plot 2d viewer</B></span> is destined to \r
171  the representation of &nbsp;2d \r
172  plots and graphs obtained via Post-Pro module. </p>\r
173 \r
174 <p>Its viewer toolbar gives you fast access to the following operations:</p>\r
175 \r
176 <ul type="disc" class="whs1">\r
177         \r
178         <li class=kadov-p><p><img src="image80.gif" width="27px" height="27px" border="0" class="img_whs9"> Draw Points - represents points \r
179  on the graph.</p></li>\r
180         \r
181         <li class=kadov-p><p><img src="image81.gif" width="29px" height="28px" border="0" class="img_whs10"> &amp; <img src="image82.gif" width="25px" height="27px" border="0" class="img_whs11"> Horizontal \r
182  axis logarithmic &amp; Vertical axis logarithmic - changes the scaling \r
183  on axes to logarithmic. </p></li>\r
184         \r
185         <li class=kadov-p><p><img src="image83.gif" width="28px" height="30px" border="0" class="img_whs12"> Show Legend - reveals all verbal \r
186  and numerical information on the graphs.</p></li>\r
187         \r
188         <li class=kadov-p><p><img src="image84.gif" width="29px" height="28px" border="0" class="img_whs10"> Settings - calls a menu, in which \r
189  you can specify advanced settings for your <span style="font-weight: bold;"><B>Plot \r
190  2d Viewer</B></span>. Value major/minor it is maximum number of\r
191  major/minor intervals for a specified axis. The real number of intervals\r
192  fits {1,2,5}*10^n with a natural number n and not exceed the maximum\r
193  as specified by the user. &nbsp;</p></li>\r
194 </ul>\r
195 \r
196 <p>&nbsp;</p>\r
197 \r
198 <p><img src="pics/plot1.png" x-maintain-ratio="TRUE" width="402px" height="396px" border="0" class="img_whs13"></p>\r
199 \r
200 <p>&nbsp;</p>\r
201 \r
202 <p><span style="font-weight: bold;"><B>GL Viewer</B></span> is used by exterior \r
203  modules built-in in the <span style="font-weight: bold;"><B>SALOME Platform.</B></span></p>\r
204 \r
205 <script type="text/javascript" language="javascript1.2">\r
206 <!--\r
207 if (window.writeIntopicBar)\r
208         writeIntopicBar(0);\r
209 //-->\r
210 </script>\r
211 </body>\r
212 </html>\r