3 \page vtk_3d_viewer_page VTK 3D Viewer
7 The functionalities of VTK viewer are available via its Viewer
8 Toolbar. Buttons marked with small downward triangles have extended
9 functionality, which can be accessed by locking on them with left mouse
12 \image html vtkviewer_toolbar.png
15 \image html vtk_view_camera_dump.png
17 <b>Dump View</b> - exports an object from the viewer in bmp, png or jpeg image format.
20 \image html vtk_view_style_switch.png
22 <b>Interaction style switch</b> - allows to switch between "Salome
23 standard controls" and "Keyboard free" \ref viewer_navigation_modes "interaction styles".
27 \image html vtk_view_zooming_style_switch.png
29 <b>Zooming style switch</b> - allows to switch between standard
30 (zooming at the center of the view) and advanced (zooming at the
31 current cursor position) zooming styles. The second mode is available
32 only for parallel (non-perspective) view's mode.
35 \image html vtk_view_highlight.png
37 These buttons allow switching between three pre-selection (highlighting) modes:
38 - <b>Static pre-selection mode</b> - pre-selection is done in terms of bounding boxes;
39 - <b>Dynamic pre-selection mode</b> - pre-selection is done in terms of cells, i.e. an object can be selected by clicking the point/cell belonging to this object. This mode causes some performance loss. It is advisable to switch dynamic pre-selection off to have a good performance on big objects (for example, huge meshes);
40 - <b>Disable pre-selection</b> - pre-selection is disabled.
44 \image html vtk_view_selection.png
46 <b>Enable/Disable selection</b> - enables or disables selection in the view.
49 \image html vtk_view_triedre.png
51 <b>Show/Hide Trihedron</b> - shows or hides coordinate axes.
54 \image html vtk_view_fitall.png
56 <b>Fit all</b> - scales the presentation so that it could fit within
57 the Viewer boundaries.
60 \image html vtk_view_fitarea.png
62 <b>Fit area</b> - resizes the view to place in the visible area only
63 the contents of a frame drawn with pressed left mouse button.
66 \image html vtk_view_zoom.png
68 <b>Zoom</b> - allows to zoom in and out.
71 \image html vtk_view_pan.png
73 <b>Panning</b> - if the represented objects are greater that the
74 visible area and you do not wish to use <b>Fit all</b> functionality,
75 click on this button to drag the scene to see its remote parts.
78 \image html vtk_view_glpan.png
80 <b>Global panning</b> - allows to select a point to be the center of
81 the presentation showing all displayed objects in the visible area.
84 \image html vtk_view_rotation_point.png
86 <b>Change rotation point</b> - allows to to choose the point around
87 which the rotation is performed.
89 \image html set_rotation_point_dialog1.png
91 By default the rotation point is located in the Center of the bounding
94 \image html set_rotation_point_dialog2.png
96 Unchecking <b>Use Bounding Box Center</b> check-box allows you to
97 define the coordinates of the rotation point manually.
99 - <b>Set to Origin</b> button restores the default rotation point
102 - <b>Select Point from View</b> button allows to select the rotation
103 point in the 3D Viewer.
107 \image html vtk_view_rotate.png
109 <b>Rotation</b> - allows to rotate the selected object using the
113 \image html vtk_view_front.png
114 \image html vtk_view_back.png
115 \image html vtk_view_top.png
116 \image html vtk_view_bottom.png
117 \image html vtk_view_left.png
118 \image html vtk_view_right.png
120 These buttons orientate the scene strictly about coordinate axes:
121 \b Front, \b Back, \b Top, \b Bottom, \b Left or \b Right side.
124 \image html vtk_view_anticlockwise.png
126 <b>Rotate counter-clockwise</b> - rotates view 90° counter-clockwise.
129 \image html vtk_view_clockwise.png
131 <b>Rotate clockwise</b> - rotates view 90° clockwise.
134 \image html vtk_view_reset.png
136 <b>Reset</b> - restores the default position (isometric) of objects in
140 \image html vtk_view_update_rate.png
142 <b>Update Rate</b> - allows to define the Update Rate for the
143 presentations displayed in the viewer.
145 \image html updaterate.png
147 - <b>Desired Update Rate, FPS</b> - allows to set the target Update
150 - <b>Still Update Rate, FPS</b> - allows to set the Update Rate for
151 the periods when both the user and the application do not perform
152 any actions in the viewer
154 - <b>Current Update Rate, FPS</b> - shows the Update Rate currently
155 available on your configuration
157 - <b>Number of Cells</b> - shows the number of cells currently in
162 \image html vtk_view_scaling.png
164 <b>Scaling</b> - represents objects deformed (stretched or stuffed)
165 along the axes of coordinates.
168 \image html vtk_view_graduated_axes.png
170 <b>Graduated axes</b> - allows to define parameters of axes and
173 \image html graduatedaxes1.png
175 - <b>Axis name</b> - if checked the axis name is displayed in the viewer.
177 - <b>Name</b> - allows to redefine the name of the axis.
179 - <b>Font</b> - allows to define color and properties of the font of axis name.
181 - <b>Labels</b> - if checked the labels are displayed in the viewer.<
183 - <b>Number</b> - allows to define the number of labels.
185 - <b>Offset</b> - allows to define the distance between labels.
187 - <b>Font</b> - allows to define color and properties of the font of labels names.
189 - <b>Tick marks</b> - if checked the tick marks are displayed in the viewer.
191 - <b>Length</b> - allows to define the length of tick marks.
193 - <b>Is visible</b> - if checked the axis is displayed in the viewer.
197 \image html vtk_view_parameters.png
199 <b>Change View Parameters</b> - this button gives access to the
200 dialog for customization of various view parameters.
202 \image html vtk_view_parameters_dlg.png
204 - <b>Projection Mode</b> - switches between the \b Orthogonal and \b Perspective projection modes.
206 - <b>Focal Point</b> - allows to specify the focal point of the view
208 - <b>Set to Bounding Box Center</b> - chooses the center of the
209 bounding box of the current scene as the focal point;
210 - <b>Set to Origin</b> - chooses the global coordinates system origin as
212 - <b>Select Point from View</b> - allows to specify the focal point by the
213 direct selection of a point in the view window;
214 - <b>X</b>, <b>Y</b>, <b>Z</b> - allows to input the coordinates of the focal
217 - <b>Camera Position</b> - allows to specify the position of the view camera:
218 - <b>Absolute Coordinates</b> - in absolute coordinates;
219 - <b>Relative to Focal Point</b> - as a offset to the focal point;
220 - <b>Projection Direction</b> - allows specify the direction of the
222 - <b>Focal Distance</b> - the focal distance value.
224 - <b>View Up Direction</b> - direction of the "view up" vector.
228 - \b Scale - the current zoom factor (available in the <b>Orthogonal
230 - <b>View Angle</b> - the current view angle (available in the <b>Perspective
235 \image html vtk_view_sync.png
237 <b>Synchronize view</b> - allows to synchronize 3d view
238 parameters. This button has two states - checked and
239 unchecked. Clicking on this button opens a drop-down menu listing
240 compatible 3d views. When a view is selected in the list , the parameters (view point, position, zoom coefficient, etc.) of the current view are synchronized with the selected view (static
243 In addition, when this button is "checked", the
244 views are synchronized dynamically, i.e. any zoom, pan, rotate
245 or other view operation done in one view is automatically applied to the other view.
248 \image html vtk_view_parallel.png
250 <b>Orthogonal mode</b> - Switches the view to the orthogonal mode.
253 \image html vtk_view_perspective.png
255 <b>Perspective mode</b> - Switches the view to the perspective mode.
258 \image html vtk_view_recording_start.png
259 \image html vtk_view_recording_play.png
260 \image html vtk_view_recording_pause.png
261 \image html vtk_view_recording_stop.png
263 These buttons allow recording viewing operations as a video file in
264 the AVI format using external software (jpeg2yuv):
266 - <b>Start recording</b> - specify parameters and start recording;
268 - <b>Pause recording</b> - suspend recording;
270 - <b>Continue recording</b> - resume recording;
272 - <b>Stop recording</b> - stop recording.