geom/doc/salome/GEOM/files/salome2_sp3_displaygui_functions.htm
2005-10-19 15:30:29 +00:00

227 lines
7.4 KiB
HTML
Executable File

<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Titre</title>
<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">
<!--
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; }
-->
</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><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addTocInfo("GEOM module\nManaging geometrical objects\nDisplaying\\hiding objects");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
setRelStartPage("../geom.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
<h1>Displaying\hiding objects</h1>
<p class="whs1"><b style="font-weight: normal;"><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"> </b>Visualization is available in both, OCC and VTK viewers.
These viewers work independently, i.e. visibility of objects and their
graphic attributes may differ in OCC and VTK viewer. It<b style="font-weight: normal;"><span
style="font-weight: normal;"> is reasonable to use the OCC viewer for
GEOM module.</span></b></p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: normal;">Displaying\hiding
different geometrical objects in the viewer is possible using the following
operations: </b></p>
<p class="whs3">&nbsp;</p>
<ul>
<li class=kadov-p><p class="whs3"><a
href="#DisplayAll">DisplayAll</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#EraseAll">EraseAll</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#Display">Display</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#DisplayOnly">DisplayOnly</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#EraseOnly">Erase</a></p></li>
</ul>
<p class="whs3">&nbsp;</p>
<p class=TODO>To display\hide one or several objects in the viewer:</p>
<p class=TODO>&nbsp;</p>
<p class="whs4">In the main menu select <span style="font-weight: bold;"><B>View
</B></span>or right-click on the necessary object in the Object Browser and
from the associated pop-up menu choose the required operation.</p>
<p class="whs4">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs5"><a NAME=DisplayAll
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
size=4> DisplayAll</font></b></a>
</p>
<p class="whs5">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Description:</b>
Displays all geometrical objects which have been created or imported in
the current study.</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">TUI
Command:</b><i> sg.DisplayAll()</i></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs5"><a NAME=EraseAll
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
size=4> EraseAll</font></b></a></p>
<p class="whs5">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Description:</b>
Erases all shapes displayed in the viewer.</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b>TUI
Command:</b><i> sg.EraseAll()</i></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs5"><a NAME=Display
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
size=4> Display</font></b></a></p>
<p class="whs5">&nbsp;</p>
<p class="whs3"><span
style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
Displays an object in 3D viewer.</font></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b>TUI
Command:</b><i> </i></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs5"><a NAME=DisplayOnly
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
size=4> DisplayOnly</font></b></a></p>
<p class="whs5">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Description:</b>
Displays only the selected geometrical element.</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">TUI
Command:</b><i> sg.DisplayOnly(ID)</i></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs5"><a NAME=EraseOnly
style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
size=4> Erase</font></b></a></p>
<p class="whs5">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Description
:</b> Erases only the selected shape.</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">TUI
Command :</b><i> sg.EraseOnly(ID)</i></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>