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
21 \image html vtk_view_style_switch.png
23 <b>Interaction style switch</b> - allows to switch between "Salome
24 standard controls" and "Keyboard free" \ref viewer_navigation_modes "interaction styles".
28 \image html vtk_view_zooming_style_switch.png
30 <b>Zooming style switch</b> - allows to switch between standard
31 (zooming at the center of the view) and advanced (zooming at the
32 current cursor position) zooming styles. The second mode is available
33 only for parallel (non-perspective) view's mode.
36 \image html vtk_view_highlight.png
38 These buttons allow to switch between three pre-selection modes.
40 - <b>Standard preselection mode</b> - pre-selection is enabled in a standard mode;
41 - <b>Dynamic preselection mode</b> - when the dynamic pre-selection is chosen,
42 an objects can be selected by clicking the point/cell belonging to
43 this object, with some performance loss. Switch dynamic pre-selection
44 off to have a good performance on big objects (for example, huge meshes);
45 - <b>Disable preselection</b> - pre-selection is disabled.
49 \image html vtk_view_selection.png
51 <b>Enable/Disable selection</b> - enables or disables selection in the view.
54 \image html vtk_view_triedre.png
56 <b>Show/Hide Trihedron</b> - shows or hides coordinate axes.
59 \image html vtk_view_fitall.png
61 <b>Fit all</b> - scales the presentation so that it could fit within
62 the Viewer boundaries.
65 \image html vtk_view_fitarea.png
67 <b>Fit area</b> - resizes the view to place in the visible area only
68 the contents of a frame drawn with pressed left mouse button.
71 \image html vtk_view_zoom.png
73 <b>Zoom</b> - allows to zoom in and out.
76 \image html vtk_view_pan.png
78 <b>Panning</b> - if the represented objects are greater that the
79 visible area and you don't wish to use <b>Fit all</b> functionality,
80 click on this button and you'll be able to drag the scene to see its
84 \image html vtk_view_glpan.png
86 <b>Global panning</b> - allows to select a point to be the center of
87 the presentation showing all displayed objects in the visible ares.
90 \image html vtk_view_rotation_point.png
92 <b>Change rotation point</b> - allows to to choose the point around
93 which the rotation is performed.
95 \image html set_rotation_point_dialog1.png
97 By default the rotation point is located in the Center of the bounding
100 \image html set_rotation_point_dialog2.png
102 Unchecking <b>Use Bounding Box Center</b> checkbox allows you to
103 define the coordinates of the rotation point manually.
105 - <b>Set to Origin</b> button restores the default rotation point
108 - <b>Select Point from View</b> button allows to select the rotation
109 point in the 3D Viewer.
113 \image html vtk_view_rotate.png
115 <b>Rotation</b> - allows to rotate the selected object using the
119 \image html vtk_view_front.png
120 \image html vtk_view_back.png
121 \image html vtk_view_top.png
122 \image html vtk_view_bottom.png
123 \image html vtk_view_left.png
124 \image html vtk_view_right.png
126 These buttons orientate the scene strictly about coordinate axes:
127 \b Front, \b Back, \b Top, \b Bottom, \b Left or \b Right side.
130 \image html vtk_view_anticlockwise.png
132 <b>Rotate counterclockwise</b> - rotates view 90° counterclockwise.
135 \image html vtk_view_clockwise.png
137 <b>Rotate clockwise</b> - rotates view 90° clockwise.
140 \image html vtk_view_reset.png
142 <b>Reset</b> - restores the default position (isometric) of objects in
146 \image html vtk_view_update_rate.png
148 <b>Update Rate</b> - allows to define the Update Rate for the
149 presentations displayed in the viewer.
151 \image html updaterate.png
153 - <b>Desired Update Rate, FPS</b> - allows to set the target Update
156 - <b>Still Update Rate, FPS</b> - allows to set the Update Rate for
157 the periods when both the user and the application do not perform
158 any actions in the viewer
160 - <b>Current Update Rate, FPS</b> - shows the Update Rate currently
161 available on your configuration
163 - <b>Number of Cells</b> - shows the number of cells currently in
168 \image html vtk_view_scaling.png
170 <b>Scaling</b> - represents objects deformed (stretched or stuffed)
171 along the axes of coordinates.
174 \image html vtk_view_graduated_axes.png
176 <b>Graduated axes</b> - allows to define parameters of axes and
179 \image html graduatedaxes1.png
181 - <b>Axis name</b> - if checked the axis name is displayed in the viewer.
183 - <b>Name</b> - allows to redefine the name of the axis.
185 - <b>Font</b> - allows to define color and properties of the font of axis name.
187 - <b>Labels</b> - if checked the labels are displayed in the viewer.<
189 - <b>Number</b> - allows to define the number of labels.
191 - <b>Offset</b> - allows to define the distance between labels.
193 - <b>Font</b> - allows to define color and properties of the font of labels names.
195 - <b>Tick marks</b> - if checked the tick marks are displayed in the viewer.
197 - <b>Length</b> - allows to define the length of tick marks.
199 - <b>Is visible</b> - if checked the axis is displayed in the viewer.
203 \image html vtk_view_parameters.png
205 <b>Change View Parameters</b> - this button provides access to the
206 dialog box allowing customization different parameters of the view.
208 \image html vtk_view_parameters_dlg.png
210 - <b>Projection Mode</b> - switchs to the Orthogonal / Perspective
213 - <b>Focal Point</b> - allows to specify the focal point of the view
215 - <b>Set to Bounding Box Center</b> - chooses the center of the
216 bounding box of the current scene as the focal point.
218 - <b>Set to Origin</b> - chooses the global coordinates system origin as
221 - <b>Select Point from View</b> - allows to specify the focal point by the
222 direct selection of a point in the view window
224 - <b>X</b>, <b>Y</b>, <b>Z</b> - allows to input the coordinates of the focal
227 - <b>Camera Position</b> - allows to specify the position of the view camera:
229 - <b>Absolute Coordinates</b> - either in absolute coordinates,
231 - <b>Relative to Focal Point</b> - or as a offset to the focal point;
233 - <b>Projection Direction</b> - allows specify the direction of the
236 - <b>Focal Distance</b> - the focal distance value;
238 - <b>View Up Direction</b> - direction of the "view up" vector.
240 - <b>Zooming</b> - the current zoom factor (available in the <b>Orthogonal
243 - <b>View Angle</b> - the current view angle (available in the <b>Perspective
248 \image html vtk_view_sync.png
250 <b>Synchronize view</b> - allows to synchronize 3d view
251 parameters. This button has two states - checked and
252 unchecked. Clicking on this button opens a drop-down menu listing the
253 compatible 3d views. As soon as the user selects any view from the
254 list, the parameters (view point, position, zoom coefficient, etc.) of
255 the current view are synchronized with the selected view (static
258 In addition, when this button is in the "checked" state, the dynamic
259 synchronization of the views is performed, i.e. any zoom, pan, rotate
260 or other view operation done in one view is automatically applied to
264 \image html vtk_view_parallel.png
266 <b>Orthogonal mode</b> - Switches the view to the orthogonal mode.
269 \image html vtk_view_perspective.png
271 <b>Perspective mode</b> - Switches the view to the perspective mode.
274 \image html vtk_view_recording_start.png
275 \image html vtk_view_recording_play.png
276 \image html vtk_view_recording_pause.png
277 \image html vtk_view_recording_stop.png
279 These buttons allow recording viewing operations as a video file in
280 the AVI format using external software (jpeg2yuv):
282 - <b>Start recording</b> - specify parameters and start recording;
284 - <b>Pause recording</b> - suspend recording;
286 - <b>Continue recording</b> - resume recording;
288 - <b>Stop recording</b> - stop recording.