geom/doc/salome/gui/GEOM/changing_displaying_parameters.htm

247 lines
8.2 KiB
HTML
Raw Normal View History

2004-06-16 21:45:26 +06:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Changing displaying parameters</title>
2004-12-17 16:18:33 +05:00
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
2004-06-16 21:45:26 +06:00
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
2004-12-17 16:18:33 +05:00
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
2004-12-17 16:18:33 +05:00
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
p.whs4 { margin-left:40px; }
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
img_whs6 { width:20px; height:20px; border-style:none; }
2004-12-17 16:18:33 +05:00
p.whs7 { font-size:12pt; margin-left:40px; }
img_whs8 { border:none; width:150px; height:121px; border-style:none; }
2004-12-17 16:18:33 +05:00
p.whs9 { font-size:12pt; font-family:'Times New Roman' , serif; }
p.whs10 { font-size:12pt; }
p.whs11 { font-size:14pt; }
img_whs12 { border:none; width:200px; height:100px; border-style:none; }
2004-12-17 16:18:33 +05:00
p.whs13 { margin-left:40px; font-size:12pt; }
img_whs14 { border:none; width:150px; height:126px; border-style:none; }
img_whs15 { border:none; width:200px; height:111px; border-style:none; }
2004-06-16 21:45:26 +06:00
-->
2004-12-17 16:18:33 +05:00
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
2004-06-16 21:45:26 +06:00
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
2004-12-17 16:18:33 +05:00
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
2004-06-16 21:45:26 +06:00
-->
2004-12-17 16:18:33 +05:00
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
2004-06-16 21:45:26 +06:00
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
2004-12-17 16:18:33 +05:00
<body><script type="text/javascript" language="javascript1.2">
2004-06-16 21:45:26 +06:00
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addTocInfo("GEOM module\nManaging geometrical objects\nChanging displaying parameters");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
2004-12-17 16:18:33 +05:00
setRelStartPage("geom.htm");
2004-06-16 21:45:26 +06:00
2004-12-17 16:18:33 +05:00
autoSync(1);
2004-06-16 21:45:26 +06:00
sendSyncInfo();
sendAveInfoOut();
}
}
else
2004-12-17 16:18:33 +05:00
if (window.gbIE4)
document.location.reload();
2004-06-16 21:45:26 +06:00
//-->
</script>
<h1>Changing displaying parameters</h1>
<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
displaying parameters for visualization of geometrical objects in the
viewer:</span></b></p>
<p class="whs3">&nbsp;</p>
<ul>
<li class=kadov-p><p class="whs3"><a
href="#W_S">Wireframe/Shading</a></p></li>
2004-06-16 21:45:26 +06:00
<li class=kadov-p><p class="whs3"><a
href="#Color">Color</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#Transparency">Transparency</a> </p></li>
<li class=kadov-p><p class="whs3"><a
2004-12-01 15:39:14 +05:00
href="#Isos">Isos</a> (in OCC viewer only)</p></li>
2004-06-16 21:45:26 +06:00
</ul>
<p>&nbsp;</p>
<p class=TODO>To set displaying parameters of a geometrical object:</p>
<p class=TODO>&nbsp;</p>
<p class="whs4">Right-click on this geometrical object in
the viewer and from the pop-up menu select <span style="font-weight: bold;"><B>Properties</B></span>.</p>
<p class="whs4">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs5"><b><a
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>
2004-06-16 21:45:26 +06:00
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Description:</b>
Set the display mode of the selected shape.</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">TUI
Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
<p class="whs3">&nbsp;</p>
<p class="whs7"><img src="image135.jpg" width="150px" height="121px" border="0" class="img_whs8"> &nbsp;<img src="image136.jpg" width="150px" height="121px" border="0" class="img_whs8"></p>
<p class="whs7">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs5"><b style="font-weight: bold;"><a
NAME=Color
style="font-size: 14pt;">Color</a></b></p>
<p class="whs9">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">Description:</b>
Change the color of a shape.</p>
<p class="whs10">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">TUI Command:</b><i>
gg.setColor(ID, Short, Short, Short)</i></p>
<p class="whs10">&nbsp;</p>
<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
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>:</b></font></span></p>
<p class="whs10">&nbsp;</p>
<p class="whs7"><img src="image136.jpg" width="150px" height="121px" border="0" class="img_whs8"> &nbsp;<img src="image137.jpg" width="150px" height="121px" border="0" class="img_whs8"></p>
<p class="whs10">&nbsp;</p>
<p class="whs10">&nbsp;</p>
<p class="whs10">&nbsp;</p>
<p class="whs11"><b style="font-weight: bold;"><a NAME=Transparency><span
style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Transparency</font></span></a></b></p>
<p class="whs10">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">Description:</b>
Change the transparency (between 0 &amp; 1) of a shape.</p>
<p class="whs10">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">TUI Command:</b><i>
gg.setTransparency(ID, Double)</i></p>
<p class="whs10">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs10">&nbsp;</p>
<p class="whs7"><img src="image138.jpg" width="200px" height="100px" border="0" class="img_whs12"></p>
<p class="whs10">&nbsp;</p>
<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>
<p>&nbsp;</p>
<p class="whs13"><img src="image140.jpg" width="150px" height="126px" border="0" class="img_whs14"> &nbsp;<img src="image142.jpg" width="150px" height="126px" border="0" class="img_whs14"></p>
<p class="whs10">&nbsp;</p>
<p class="whs5"><b style="font-weight: bold;"><a
NAME=Isos><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Isos</font></span></a></b></p>
<p class="whs5">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">Description:</b>
Changes the number of isolines displayed within a shape.</p>
<p class="whs10">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">Arguments:</b>
2 values (number of isolines).</p>
<p class="whs10">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs10">&nbsp;</p>
<p class="whs7"><img src="image139.jpg" width="200px" height="111px" border="0" class="img_whs15"></p>
<p class="whs7">&nbsp;</p>
<p class="whs10"><b style="font-weight: bold;">Example:</b></p>
<p class="whs10">&nbsp;</p>
<p class="whs7"><img src="image140.jpg" width="150px" height="126px" border="0" class="img_whs14"> &nbsp;<img src="image141.jpg" width="150px" height="126px" border="0" class="img_whs14"></p>
<p class="whs3">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>