2008-03-07 12:45:34 +05:00
|
|
|
/*!
|
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
\page view_geom_obj_page Viewing geometrical objects
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2009-08-18 11:41:44 +06:00
|
|
|
Newly created geometrical objects are automatically displayed in
|
2008-03-07 12:45:34 +05:00
|
|
|
the <b>OCC 3D Viewer</b>.
|
|
|
|
|
2009-08-18 11:41:44 +06:00
|
|
|
<b>OCC 3D Viewer</b> is described in the documentation on <b>GUI
|
2008-03-07 12:45:34 +05:00
|
|
|
module</b>.
|
2009-08-18 11:41:44 +06:00
|
|
|
|
|
|
|
After the object has appeared in the Viewer, you can select it with
|
2008-03-07 12:45:34 +05:00
|
|
|
left mouse click to change its presentation parameters and access to
|
|
|
|
other useful options by right-clicking on the selected object.
|
|
|
|
|
|
|
|
\image html dialog.png
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><b>Rename</b> - allows to change the name of the geometric
|
|
|
|
object.</li>
|
|
|
|
<li><b>Delete</b> - irreversibly deletes the selected object from the
|
|
|
|
viewer and from the Object Browser.</li>
|
2009-02-13 17:16:39 +05:00
|
|
|
<li>\subpage display_mode_page "Display Mode" - allows to select between
|
2008-03-07 12:45:34 +05:00
|
|
|
Wireframe and Shading presentation.</li>
|
2009-02-13 17:16:39 +05:00
|
|
|
<li>\subpage color_page "Color" - allows to change the filling color in
|
2008-03-07 12:45:34 +05:00
|
|
|
the standard <b>Select Color</b> menu.</li>
|
2009-02-13 17:16:39 +05:00
|
|
|
<li>\subpage transparency_page "Transparency" - allows to change the
|
2008-03-07 12:45:34 +05:00
|
|
|
transparency of geometrical objects.</li>
|
2009-02-13 17:16:39 +05:00
|
|
|
<li>\subpage isolines_page "Isos" - allows to change the number of
|
2008-03-07 12:45:34 +05:00
|
|
|
isolines displayed within a shape.</li>
|
2009-07-27 11:26:04 +06:00
|
|
|
<li><b>Auto color</b> / <b>Disable auto color</b> - toggle auto color
|
|
|
|
mode. When auto color mode is enabled, the groups created on the
|
|
|
|
sub-shapes of the selected geometrical object are automatically
|
|
|
|
coloured by the unique colors. TUI Commands :
|
|
|
|
<em>go.SetAutoColor(enable)</em>, <em>enabled = go.GetAutoColor()</em></li>
|
2008-03-07 12:45:34 +05:00
|
|
|
<li><b>Hide</b> - allows to hide the selected geometrical object from the
|
2009-08-18 11:41:44 +06:00
|
|
|
viewer. TUI Command : <em>sg.EraseOnly(ID)</em></li>
|
|
|
|
|
|
|
|
\image html image18.png
|
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
<li><b>Hide all</b> - allows to hide all objects from the viewer. TUI
|
2009-08-18 11:41:44 +06:00
|
|
|
Command: <em>sg.EraseAll()</em></li>
|
|
|
|
|
|
|
|
\image html image26.png
|
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
<li><b>Show Only</b> - allows to display only the selected
|
2009-08-18 11:41:44 +06:00
|
|
|
geometrical object. TUI Command: <em>sg.DisplayOnly(ID)</em></li>
|
|
|
|
|
|
|
|
\image html image33.png
|
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
<li><b>Dump view</b> - exports an object from the viewer in bmp, png,
|
|
|
|
jpg or jpeg image format.</li>
|
|
|
|
<li><b>Change background</b> - allows to redefine the background
|
2009-08-18 11:41:44 +06:00
|
|
|
color. By default it is black.</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
Some of these functionalities are available through right-clicking
|
2008-03-07 12:45:34 +05:00
|
|
|
on the viewer background:
|
|
|
|
|
2009-08-18 11:41:44 +06:00
|
|
|
\image html image22.png <br>
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2009-08-18 11:41:44 +06:00
|
|
|
<ul>
|
2008-03-07 12:45:34 +05:00
|
|
|
<li><b>Select Only</b> provides a filter for exclusive selection of objects of a certain type.</li>
|
|
|
|
</ul>
|
|
|
|
|
2009-08-18 11:41:44 +06:00
|
|
|
The Object browser's popup menu can include some other commands:
|
|
|
|
|
|
|
|
\image html ob_popup_menu.png <br>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li>\subpage work_with_groups_page "Create Group" - invokes dialog box
|
|
|
|
that allows creating groups of geometrical objects.</li>
|
|
|
|
<li><b>Hide Children</b> / <b>Show Children</b> - hide / show child
|
|
|
|
sub-objects in the Object Browser. These commands are available only
|
|
|
|
if the selected geometry object has any children. Note: when some
|
|
|
|
children are hidden, the object name is hilghlighted with the bold
|
|
|
|
font.</li>
|
|
|
|
</ul>
|
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
*/
|