1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
5 <!--(==============================================================)-->
\r
6 <!--(Document created with RoboEditor. )============================-->
\r
7 <!--(==============================================================)-->
\r
11 <title>Changing displaying parameters</title>
\r
13 <!--(Meta)==========================================================-->
\r
15 <meta http-equiv=content-type content="text/html; charset=windows-1252">
\r
16 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
\r
17 <meta name=generator-major-version content=0.1>
\r
18 <meta name=generator-minor-version content=1>
\r
19 <meta name=filetype content=kadov>
\r
20 <meta name=filetype-version content=1>
\r
21 <meta name=page-count content=1>
\r
22 <meta name=layout-height content=1947>
\r
23 <meta name=layout-width content=646>
\r
26 <!--(Links)=========================================================-->
\r
28 <link rel='stylesheet' href='default_ns.css'>
\r
29 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
31 if (navigator.appName !="Netscape")
\r
32 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
35 <style type="text/css">
\r
37 p.whs1 {font-family: 'Times New Roman', serif; font-size: 12pt; font-weight: normal;}
\r
38 img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}
\r
39 p.whs3 {font-family: 'Times New Roman', serif; font-size: 12pt;}
\r
40 p.whs4 {margin-left: 40px;}
\r
41 p.whs5 {font-family: 'Times New Roman', serif; font-size: 14pt;}
\r
42 img_whs6 {border-style: none; width: 20px; height: 20px;}
\r
43 p.whs7 {font-size: 12pt; margin-left: 40px;}
\r
44 img_whs8 {border-style: none; border: none; width: 150px; height: 121px;}
\r
45 p.whs9 {font-size: 12pt; font-family: 'Times New Roman', serif;}
\r
46 p.whs10 {font-size: 12pt;}
\r
47 p.whs11 {font-size: 14pt;}
\r
48 img_whs12 {border-style: none; border: none; width: 200px; height: 100px;}
\r
49 p.whs13 {margin-left: 40px; font-size: 12pt;}
\r
50 img_whs14 {border-style: none; border: none; width: 150px; height: 126px;}
\r
51 img_whs15 {border-style: none; border: none; width: 200px; height: 111px;}
\r
54 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
57 if (innerWidth != origWidth || innerHeight != origHeight)
\r
60 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
61 origWidth = innerWidth;
\r
62 origHeight = innerHeight;
\r
68 <style type="text/css">
\r
70 div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
\r
73 <script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
74 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
75 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
76 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
77 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
80 <!--(Body)==========================================================-->
\r
85 <script type="text/javascript" language="javascript1.2">
\r
87 if (window.gbWhTopic)
\r
89 if (window.addTocInfo)
\r
91 addTocInfo("GEOM module\nManaging geometrical objects\nChanging displaying parameters");
\r
92 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
95 if (window.writeBtnStyle)
\r
98 if (window.writeIntopicBar)
\r
101 if (window.setRelStartPage)
\r
103 setRelStartPage("geom.html");
\r
111 document.location.reload();
\r
114 <h1>Changing displaying parameters</h1>
\r
116 <p class="whs1"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM you can set different
\r
117 displaying parameters for visualization of geometrical objects in the
\r
118 viewer:</span></b></p>
\r
120 <p class="whs3"> </p>
\r
124 <li class=kadov-p><p class="whs3"><a
\r
125 href="#W/S">Wireframe/Shading</a></p></li>
\r
127 <li class=kadov-p><p class="whs3"><a
\r
128 href="#Color">Color</a></p></li>
\r
130 <li class=kadov-p><p class="whs3"><a
\r
131 href="#Transparency">Transparency</a> </p></li>
\r
133 <li class=kadov-p><p class="whs3"><a
\r
134 href="#Isos">Isos</a> (in OCC viewer only)</p></li>
\r
139 <p class=TODO>To set displaying parameters of a geometrical object:</p>
\r
141 <p class=TODO> </p>
\r
143 <p class="whs4">Right-click on this geometrical object in
\r
144 the viewer and from the pop-up menu select <span style="font-weight: bold;"><B>Properties</B></span>.</p>
\r
146 <p class="whs4"> </p>
\r
150 <p class="whs5"><b style="font-weight: bold;"><a
\r
151 NAME="W/S"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif" width="20px" height="20px" border="0" class="img_whs6"> Wireframe/Shading</a></b>
\r
154 <p class="whs3"> </p>
\r
156 <p class="whs3"><b style="font-weight: bold;">Description:</b>
\r
157 Set the display mode of the selected shape.</p>
\r
159 <p class="whs3"> </p>
\r
161 <p class="whs3"><b style="font-weight: bold;">TUI
\r
162 Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>
\r
164 <p class="whs3"> </p>
\r
166 <p class="whs3"><b style="font-weight: bold;">Example:</b></p>
\r
168 <p class="whs3"> </p>
\r
170 <p class="whs7"><img src="image135.jpg" width="150px" height="121px" border="0" class="img_whs8"> <img src="image136.jpg" width="150px" height="121px" border="0" class="img_whs8"></p>
\r
172 <p class="whs7"> </p>
\r
174 <p class="whs3"> </p>
\r
176 <p class="whs5"><b style="font-weight: bold;"><a
\r
178 style="font-size: 14pt;">Color</a></b></p>
\r
180 <p class="whs9"> </p>
\r
182 <p class="whs10"><b style="font-weight: bold;">Description:</b>
\r
183 Change the color of a shape.</p>
\r
185 <p class="whs10"> </p>
\r
187 <p class="whs10"><b style="font-weight: bold;">TUI Command:</b><i>
\r
188 gg.setColor(ID, Short, Short, Short)</i></p>
\r
190 <p class="whs10"> </p>
\r
192 <p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example</b></font></span><span
\r
193 style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>:</b></font></span></p>
\r
195 <p class="whs10"> </p>
\r
197 <p class="whs7"><img src="image136.jpg" width="150px" height="121px" border="0" class="img_whs8"> <img src="image137.jpg" width="150px" height="121px" border="0" class="img_whs8"></p>
\r
199 <p class="whs10"> </p>
\r
201 <p class="whs10"> </p>
\r
203 <p class="whs10"> </p>
\r
205 <p class="whs11"><b style="font-weight: bold;"><a NAME=Transparency><span
\r
206 style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Transparency</font></span></a></b></p>
\r
208 <p class="whs10"> </p>
\r
210 <p class="whs10"><b style="font-weight: bold;">Description:</b>
\r
211 Change the transparency (between 0 & 1) of a shape.</p>
\r
213 <p class="whs10"> </p>
\r
215 <p class="whs10"><b style="font-weight: bold;">TUI Command:</b><i>
\r
216 gg.setTransparency(ID, Double)</i></p>
\r
218 <p class="whs10"> </p>
\r
220 <p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
222 <p class="whs10"> </p>
\r
224 <p class="whs7"><img src="image138.jpg" width="200px" height="100px" border="0" class="img_whs12"></p>
\r
226 <p class="whs10"> </p>
\r
228 <p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
\r
232 <p class="whs13"><img src="image140.jpg" width="150px" height="126px" border="0" class="img_whs14"> <img src="image142.jpg" width="150px" height="126px" border="0" class="img_whs14"></p>
\r
234 <p class="whs10"> </p>
\r
236 <p class="whs5"><b style="font-weight: bold;"><a
\r
237 NAME=Isos><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Isos</font></span></a></b></p>
\r
239 <p class="whs5"> </p>
\r
241 <p class="whs10"><b style="font-weight: bold;">Description:</b>
\r
242 Changes the number of isolines displayed within a shape.</p>
\r
244 <p class="whs10"> </p>
\r
246 <p class="whs10"><b style="font-weight: bold;">Arguments:</b>
\r
247 2 values (number of isolines).</p>
\r
249 <p class="whs10"> </p>
\r
251 <p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
253 <p class="whs10"> </p>
\r
255 <p class="whs7"><img src="image139.jpg" width="200px" height="111px" border="0" class="img_whs15"></p>
\r
257 <p class="whs7"> </p>
\r
259 <p class="whs10"><b style="font-weight: bold;">Example:</b></p>
\r
261 <p class="whs10"> </p>
\r
263 <p class="whs7"><img src="image140.jpg" width="150px" height="126px" border="0" class="img_whs14"> <img src="image141.jpg" width="150px" height="126px" border="0" class="img_whs14"></p>
\r
265 <p class="whs3"> </p>
\r
267 <script type="text/javascript" language="javascript1.2">
\r
269 if (window.writeIntopicBar)
\r
270 writeIntopicBar(0);
\r