/*!
\page view_geom_obj_page Viewing geometrical objects
Newly created geometrical objects are automatically displayed in
the OCC 3D Viewer.
OCC 3D Viewer is described in the documentation on GUI
module.
After the object has appeared in the Viewer, you can select it with
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
- Rename - allows to change the name of the geometric
object.
- Delete - irreversibly deletes the selected object from the
viewer and from the Object Browser.
- \subpage display_mode_page "Display Mode" - allows to select between
Wireframe and Shading presentation.
- \subpage bring_to_front_page "Bring To Front" - allows to bring to
front of the viewer the selected geometrical object.
- Clear Top Level State - allows to remove from the viewer foreground
geometrical objects that have been placed there via Bring To Front command.
- \subpage color_page "Color" - allows to change the filling color in
the standard Select Color menu.
- \subpage transparency_page "Transparency" - allows to change the
transparency of geometrical objects.
- \subpage isolines_page "Isos" - allows to change the number of
isolines displayed within a shape.
- \subpage deflection_page "Deflection" - allows to change the
deflection coefficient of a shape.
- \subpage material_page "Material" - allows to change the
material properties of a shape.
- \subpage point_marker_page "Point Marker" - allows to change the
representation of geometrical vertices.
- \subpage line_width_page "Line Width" - allows to change the
width of edges and isolines.
- Auto color / Disable auto color - activates the auto color
mode. When the 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 :
go.SetAutoColor(enable), enabled = go.GetAutoColor()
- Hide - allows to hide the selected geometrical object from the
viewer. TUI Command : sg.EraseOnly(ID)
\image html image18.png
- Hide all - hides all objects from the viewer. TUI
Command: sg.EraseAll()
\image html image26.png
- Show Only - displays only the selected
geometrical object. TUI Command: sg.DisplayOnly(ID)
\image html image33.png
- Dump view - exports an object from the viewer in bmp, png,
jpg or jpeg image format.
- Change background - allows to redefine the background
color. By default it is black.
Some of these functionalities are available through right-clicking
on the viewer background:
\image html image22.png
- Select Only provides a filter for exclusive selection of objects of a certain type.
The following commands appear in the Object Browser context menu
under certain conditions:
\image html ob_popup_menu.png
- \ref work_with_groups_page "Create Group" - allows creating groups of geometrical objects.
- Conceal child items / Disclose child items - hides / shows child
sub-objects in the Object Browser, if the selected geometric object has
child objects. When some child objects are hidden, the name of the
parent object is hilghlighted with bold font.
- Show Only Children - erases from the current viewer all objects
and then displays only the children of the selected object(s).
- Unpublish - unpublishes the selected geometric object from the Object Browser
and erase it from all viewers. To publish unpublished geometric objects select in the
context menu of the Geometry root object Publish... item.
The following dialog box will appear
\image html publish_dlg.png
Switch the checkbox near the appropriate object and
click Publish or Publish And Close button.
"Eye" icons in this dialog box allow previewing unpublished objects in the viewer. All
unpublished objects are by default sorted by the name in ascending order. It is possible
to change order of sorting (ascending / descending) by clicking the corresponding title
bar of the objects list.
At the bottom of the Object Browser, there is \b Information
window providing some information on a selected geometric object:
\image html creation_op_info.png Information window
- Creation operation shows a name of the operation
used to create the selected object.
- In a table under Creation operation, \b Parameter and \b
Value are a name and a value of a parameter used to create the
selected object.
*/