2004-06-16 21:45:26 +06:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
< html >
<!-- (==============================================================) -->
<!-- (Document created with RoboEditor. )============================ -->
<!-- (==============================================================) -->
< head >
< title > Changing displaying parameters< / title >
<!-- (Meta)========================================================== -->
< meta http-equiv = content-type content = "text/html; charset=windows-1252" >
< meta name = generator content = "RoboHELP by eHelp Corporation - www.ehelp.com" >
< meta name = generator-major-version content = 0.1 >
< meta name = generator-minor-version content = 1 >
< meta name = filetype content = kadov >
< meta name = filetype-version content = 1 >
< meta name = page-count content = 1 >
2004-12-01 15:39:14 +05:00
< meta name = layout-height content = 1947 >
< meta name = layout-width content = 646 >
2004-06-16 21:45:26 +06:00
<!-- (Links)========================================================= -->
< link rel = 'stylesheet' href = 'default_ns.css' >
< script type = "text/javascript" language = "JavaScript" title = "WebHelpSplitCss" >
<!--
if (navigator.appName !="Netscape")
{ document.write("< link rel = 'stylesheet' href = 'default.css' > ");}
//-->
< / script >
< style type = "text/css" >
<!--
p.whs1 {font-family: 'Times New Roman', serif; font-size: 12pt; font-weight: normal;}
img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}
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 {border-style: none; width: 20px; height: 20px;}
p.whs7 {font-size: 12pt; margin-left: 40px;}
img_whs8 {border-style: none; border: none; width: 150px; height: 121px;}
p.whs9 {font-size: 12pt; font-family: 'Times New Roman', serif;}
p.whs10 {font-size: 12pt;}
p.whs11 {font-size: 14pt;}
img_whs12 {border-style: none; border: none; width: 200px; height: 100px;}
p.whs13 {margin-left: 40px; font-size: 12pt;}
img_whs14 {border-style: none; border: none; width: 150px; height: 126px;}
img_whs15 {border-style: none; border: none; width: 200px; height: 111px;}
-->
< / style >
< script type = "text/javascript" language = "JavaScript" title = "WebHelpInlineScript" >
<!--
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" >
<!--
div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
-->
< / style >
< script type = "text/javascript" language = "javascript1.2" src = "whmsg.js" > < / script >
< 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 >
<!-- (Body)========================================================== -->
< body >
< script type = "text/javascript" language = "javascript1.2" >
<!--
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)
{
setRelStartPage("geom.html");
autoSync(0);
sendSyncInfo();
sendAveInfoOut();
}
}
else
document.location.reload();
//-->
< / 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" > < / p >
< ul >
< li class = kadov-p > < p class = "whs3" > < a
href="#W/S">Wireframe/Shading< / a > < / p > < / li >
< 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 > < / p >
< p class = TODO > To set displaying parameters of a geometrical object:< / p >
< p class = TODO > < / 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" > < / p >
< p > < / p >
< p class = "whs5" > < b style = "font-weight: bold;" > < a
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 >
< / font > < / span > < / p >
< p class = "whs3" > < / p >
< p class = "whs3" > < b style = "font-weight: bold;" > Description:< / b >
Set the display mode of the selected shape.< / p >
< p class = "whs3" > < / p >
< p class = "whs3" > < b style = "font-weight: bold;" > TUI
Command:< / b > < i > gg.setDisplayMode(ID, Short)< / i > < / p >
< p class = "whs3" > < / p >
< p class = "whs3" > < b style = "font-weight: bold;" > Example:< / b > < / p >
< p class = "whs3" > < / p >
< 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 >
< p class = "whs7" > < / p >
< p class = "whs3" > < / p >
< p class = "whs5" > < b style = "font-weight: bold;" > < a
NAME=Color
style="font-size: 14pt;">Color< / a > < / b > < / p >
< p class = "whs9" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > Description:< / b >
Change the color of a shape.< / p >
< p class = "whs10" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > TUI Command:< / b > < i >
gg.setColor(ID, Short, Short, Short)< / i > < / p >
< p class = "whs10" > < / 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" > < / p >
< 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 >
< p class = "whs10" > < / p >
< p class = "whs10" > < / p >
< p class = "whs10" > < / 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" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > Description:< / b >
Change the transparency (between 0 & 1) of a shape.< / p >
< p class = "whs10" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > TUI Command:< / b > < i >
gg.setTransparency(ID, Double)< / i > < / p >
< p class = "whs10" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > Dialog Box:< / b > < / p >
< p class = "whs10" > < / p >
< p class = "whs7" > < img src = "image138.jpg" width = "200px" height = "100px" border = "0" class = "img_whs12" > < / p >
< p class = "whs10" > < / 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 > < / p >
< 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 >
< p class = "whs10" > < / 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" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > Description:< / b >
Changes the number of isolines displayed within a shape.< / p >
< p class = "whs10" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > Arguments:< / b >
2 values (number of isolines).< / p >
< p class = "whs10" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > Dialog Box:< / b > < / p >
< p class = "whs10" > < / p >
< p class = "whs7" > < img src = "image139.jpg" width = "200px" height = "111px" border = "0" class = "img_whs15" > < / p >
< p class = "whs7" > < / p >
< p class = "whs10" > < b style = "font-weight: bold;" > Example:< / b > < / p >
< p class = "whs10" > < / p >
< 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 >
< p class = "whs3" > < / p >
< script type = "text/javascript" language = "javascript1.2" >
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
< / script >
< / body >
< / html >