\page occ_3d_viewer_page OCC 3D Viewer
+<h2>Operations</h2>
+
The functionalities of OCC viewer are available via its Viewer
Toolbar. Buttons marked with small downward triangles have extended
functionality which can be accessed by locking on them with left mouse
to the other view.
<hr>
-\note OCC Viewer features a special <b>Polyline Selection</b>
+\anchor occ_background
+<h2>Background</h2>
+
+OCC Viewer background can be customized using the "Change background"
+popup menu command that opens the following dialog box:
+
+\image html change_background_dlg.png
+
+The following types of the background are supported:
+- Single color: the background is colored with the solid color
+ specified by the user in the dialog box.
+- Gradient background: the background is gradiently colored according
+ to two colors and the gradient type specified in the dialog box. The
+ following types of background are supported:
+ - Horizontal
+ - Vertical
+ - First diagonal
+ - Second diagonal
+ - First corner
+ - Second corner
+ - Third corner
+ - Fourth corner
+
+Default background for the viewer is specified via the
+\ref occ_preferences "application preferences".
+
+<h2>Polyline selection</h2>
+
+OCC Viewer features a special <b>Polyline Selection</b>
mechanism, which allows selecting an arbitraty part of the graphic
-area using a polygon frame, instead of the usual selection with a
-rectangular frame.
+area using a polygon frame (rubber band), instead of the usual
+selection with a rectangular frame.
To produce a Polyline Selection, lock the right mouse button and draw
the first side of the polygon, then change the direction by clicking
the left mouse button add draw another side, etc. The whole selection
checked, the action groups are represented in the viewer toolbars
as a single drop-down button, switchable by the user. Otherwise,
all the buttons from the action groups are displayed in the toolbar.
-- <b>OCC Viewer 3d</b>
+- \anchor occ_preferences <b>OCC Viewer 3d</b>
- <b>Trihedron size</b> - this submenu allows to set the size of
coordinate axes displayed in the viewer.
- <b>Relative size</b> - if checked in, trihedron axes scale to fit the
relatively to the current cursor position.
- <b>Show static trihedron</b> - allows to show/hide the static trihedron
located in the bottom-left corner of the viewer.
-- <b>VTK Viewer 3d</b>
+- \anchor vtk_preferences <b>VTK Viewer 3d</b>
- <b>Projection mode</b> - allows choosing between \b Orthogonal and
\b Perspective projection mode.
- <b>Background Color</b> - this submenu allows to select background
size of the area displayed in 3D Viewer.
- <b>Navigation</b> - this option allows to choose one of the
modes of work with mouse in OCC and VTK 3D viewers (for more details
- see preferences for OCC Viewer 3d).
+ see \ref occ_preferences "preferences for OCC Viewer 3d").
- <b>Zooming mode</b> - this option allows to choose a zooming mode
- (for more details see preferences for OCC Viewer 3d).
+ (for more details see \ref occ_preferences "preferences for OCC Viewer 3d").
- <b>Speed Increment</b> - defines the number of units by
which the speed increases or respectively decreases after pressing [+]
or [-] keyboard buttons.
\page vtk_3d_viewer_page VTK 3D Viewer
+<h2>Operations</h2>
+
The functionalities of VTK viewer are available via its Viewer
Toolbar. Buttons marked with small downward triangles have extended
functionality which can be accessed by locking on them with left mouse
- <b>Continue recording</b> - resume recording;
- <b>Stop recording</b> - stop recording.
+\anchor vtk_background
+<h2>Background</h2>
+
+VTK Viewer background can be customized using the "Change background"
+popup menu command that opens the following dialog box:
+
+\image html change_background_dlg.png
+
+The following types of the background are supported:
+- Single color: the background is colored with the solid color
+ specified by the user in the dialog box.
+- Gradient background: the background is gradiently colored according
+ to two colors and the gradient type specified in the dialog
+ box. Currently, only vertical background type is supported.
+
+Default background for the viewer is specified via the
+\ref vtk_preferences "application preferences".
+
*/