1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Changing displaying parameters</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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
\r
18 img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
\r
19 p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
\r
20 p.whs4 { margin-left:40px; }
\r
21 p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
\r
22 img_whs6 { width:20px; height:20px; border-style:none; }
\r
23 p.whs7 { font-size:12pt; margin-left:40px; }
\r
24 img_whs8 { border:none; width:403px; height:422px; float:none; border-style:none; }
\r
25 img_whs9 { border:none; width:400px; height:424px; float:none; border-style:none; }
\r
26 p.whs10 { font-size:12pt; font-family:'Times New Roman' , serif; }
\r
27 p.whs11 { font-size:12pt; }
\r
28 img_whs12 { border:none; float:none; width:393px; height:423px; border-style:none; }
\r
29 p.whs13 { font-size:14pt; }
\r
30 img_whs14 { border:none; width:354px; height:177px; float:none; border-style:none; }
\r
31 p.whs15 { margin-left:40px; font-size:12pt; }
\r
32 img_whs16 { border:none; width:397px; height:428px; float:none; border-style:none; }
\r
33 img_whs17 { border:none; width:401px; height:429px; float:none; border-style:none; }
\r
35 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
38 if (innerWidth != origWidth || innerHeight != origHeight)
\r
41 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
42 origWidth = innerWidth;
\r
43 origHeight = innerHeight;
\r
49 <style type="text/css">
\r
51 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
53 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
54 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
55 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
56 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
57 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
59 <body><script type="text/javascript" language="javascript1.2">
\r
61 if (window.gbWhTopic)
\r
63 if (window.addTocInfo)
\r
65 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
68 if (window.writeBtnStyle)
\r
71 if (window.writeIntopicBar)
\r
74 if (window.setRelStartPage)
\r
76 setRelStartPage("geom.htm");
\r
85 document.location.reload();
\r
88 <h1>Changing displaying parameters</h1>
\r
90 <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
91 displaying parameters for visualization of geometrical objects in the
\r
92 viewer:</span></b></p>
\r
94 <p class="whs3"> </p>
\r
98 <li class=kadov-p><p class="whs3"><a
\r
99 href="#W_S">Wireframe/Shading</a></p></li>
\r
101 <li class=kadov-p><p class="whs3"><a
\r
102 href="#Color">Color</a></p></li>
\r
104 <li class=kadov-p><p class="whs3"><a
\r
105 href="#Transparency">Transparency</a> </p></li>
\r
107 <li class=kadov-p><p class="whs3"><a
\r
108 href="#Isos">Isos</a> (in OCC viewer only)</p></li>
\r
113 <p class=TODO>To set displaying parameters of a geometrical object:</p>
\r
115 <p class=TODO> </p>
\r
117 <p class="whs4">Right-click on this geometrical object in
\r
118 the viewer and from the pop-up menu select <span style="font-weight: bold;"><B>Properties</B></span>.</p>
\r
120 <p class="whs4"> </p>
\r
124 <p class="whs5"><b style="font-weight: bold;"><a
\r
125 NAME=W_S><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> </p>
\r
127 <p class="whs3"> </p>
\r
129 <p class="whs3">This
\r
130 option is relevant for viewing 3D objects. Wireframe mode means that </p>
\r
132 <p class="whs3"> </p>
\r
134 <p class="whs3"><b style="font-weight: bold;">Description:</b>
\r
135 Set the display mode of the selected shape.</p>
\r
137 <p class="whs3"> </p>
\r
139 <p class="whs3"><b style="font-weight: bold;">TUI
\r
140 Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>
\r
142 <p class="whs3"> </p>
\r
144 <p class="whs3"><b style="font-weight: bold;">Example:</b></p>
\r
146 <p class="whs3"> </p>
\r
148 <p class="whs7"><img src="pics/disp_mode1sn.png" x-maintain-ratio="TRUE" width="403px" height="422px" border="0" class="img_whs8"> <img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="424px" border="0" class="img_whs9"></p>
\r
150 <p class="whs7"> </p>
\r
152 <p class="whs3"> </p>
\r
154 <p class="whs5"><b style="font-weight: bold;"><a
\r
156 style="font-size: 14pt;">Color</a></b></p>
\r
158 <p class="whs10"> </p>
\r
160 <p class="whs11"><b style="font-weight: bold;">Description:</b>
\r
161 Change the color of a shape.</p>
\r
163 <p class="whs11"> </p>
\r
165 <p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i>
\r
166 gg.setColor(ID, Short, Short, Short)</i></p>
\r
168 <p class="whs11"> </p>
\r
170 <p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example</b></font></span><span
\r
171 style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>:</b></font></span></p>
\r
173 <p class="whs11"> </p>
\r
175 <p class="whs7"><img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="424px" border="0" class="img_whs9"> <img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="393px" height="423px" border="0" class="img_whs12"></p>
\r
177 <p class="whs11"> </p>
\r
179 <p class="whs11"> </p>
\r
181 <p class="whs11"> </p>
\r
183 <p class="whs13"><b style="font-weight: bold;"><a NAME=Transparency><span
\r
184 style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Transparency</font></span></a></b></p>
\r
186 <p class="whs11"> </p>
\r
188 <p class="whs11"><b style="font-weight: bold;">Description:</b>
\r
189 Change the transparency (between 0 & 1) of a shape.</p>
\r
191 <p class="whs11"> </p>
\r
193 <p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i>
\r
194 gg.setTransparency(ID, Double)</i></p>
\r
196 <p class="whs11"> </p>
\r
198 <p class="whs11"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
200 <p class="whs11"> </p>
\r
202 <p class="whs7"><img src="pics/neo-transparency.png" x-maintain-ratio="TRUE" width="354px" height="177px" border="0" class="img_whs14"></p>
\r
204 <p class="whs11"> </p>
\r
206 <p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
\r
210 <p class="whs15"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="397px" height="428px" border="0" class="img_whs16"> <img src="pics/transparencysn.png" x-maintain-ratio="TRUE" width="401px" height="429px" border="0" class="img_whs17"></p>
\r
212 <p class="whs11"> </p>
\r
216 <script type="text/javascript" language="javascript1.2">
\r
218 if (window.writeIntopicBar)
\r
219 writeIntopicBar(0);
\r