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 button.
Viewer Toolbar
Dump View - exports an object from the viewer in bmp, png, jpg or jpeg image format.
Interaction style switch - allows to switch between standard and "keyboard free" interaction styles. "Keyboard free" style allows to process all view transformations without using keyboard (only by mouse) and perform selection in view by pressing "S" key. By default, rotation in this mode is performed by left mouse button, panning - by middle mouse button, zooming - by left and middle mouse buttons pressed simultaneously.
Zooming style switch - allows to switch between standard (zooming at the center of the view) and advanced (zooming at the current cursor position) zooming styles. The second mode is available only for parallel (non-perspective) view's mode.
Show/Hide Trihedron - shows or hides coordinate axes.
Fit all - scales the presentation so that it could fit within the Viewer boundaries.
Fit area - resizes the view to place in the visible area only the contents of a frame drawn with pressed left mouse button.
Zoom - allows to zoom in and out.
Panning - if the represented objects are greater that the visible area and you don't wish to use Fit all functionality, click on this button and you'll be able to drag the scene to see its remote parts.
Global panning - allows to select a point to be the center of the presentation showing all displayeed objects in the visible ares.
Change rotation point - allows to to choose the point around which the rotation is performed.
By default the rotation point is located in the Center of the bounding box of an object.
Unchecking Use Bounding Box Center checkbox allows you to define the coordinates of the rotation point manually.
- Set to Origin button restores the default rotation point coordinates.
- Select Point from View button allows to select the rotation point in the 3D Viewer.
Rotation - allows to rotate the selected object using the mouse.
These buttons orientate the scene strictly about coordinate axes.
Rotate counterclockwise - rotates view 90° counterclockwise.
Rotate clockwise - rotates view 90° clockwise.
Reset - restores the default position (isometric) of objects in the scene.
Update Rate - allows to define the Update Rate for the presentations displayed in the viewer.
- Desired Update Rate, FPS - allows to set the target Update Rate
- Still Update Rate, FPS - allows to set the Update Rate for the periods when both the user and the application do not perform any actions in the viewer
- Current Update Rate, FPS - shows the Update Rate currently available on your configuration
- Number of Cells - shows the number of cells currently in display
Scaling - represents objects deformed (stretched or stuffed) along the axes of coordinates.
Graduated axes - allows to define parameters of axes and graduate them.
- Axis name - if checked the axis name is displayed in the viewer.
- Name - allows to redefine the name of the axis.
- Font - allows to define color and properties of the font of axis name.
- Labels - if checked the labels are displayed in the viewer.<
- Number - allows to define the number of labels.
- Offset - allows to define the distance between labels.
- Font - allows to define color and properties of the font of labels names.
- Tick marks - if checked the tick marks are displayed in the viewer.
- Length - allows to define the length of tick marks.
- Is visible - if checked the axis is displayed in the viewer.
Change View Parameters - this button provides access to the dialog box allowing customization different parameters of the view:
- Projection Mode - switchs to the Orthogonal / Perspective projection mode
- Focal Point - allows to specify the focal point of the view
- Set to Bounding Box Center - chooses the center of the bounding box of the current scene as the focal point.
- Set to Origin - chooses the global coordinates system origin as the focal point
- Select Point from View - allows to specify the focal point by the direct selection of a point in the view window
- X, Y, Z - allows to input the coordinates of the focal point directly
- Camera Position - allows to specify the position of the view camera:
- Absolute Coordinates - either in absolute coordinates,
- Relative to Focal Point - or as a offset to the focal point;
- Projection Direction - allows specify the direction of the projection vector;
- Focal Distance - the focal distance value;
- View Up Direction - direction of the "view up" vector.
- Zooming - the current zoom factor (available in the Orthogonal mode only)
- View Angle - the current view angle (available in the Perspective mode only)
Orthogonal mode - Switches the view to the orthogonal mode.
Perspective mode - Switches the view to the perspective mode.
These buttons allow recording viewing operations as a video file in the AVI format using external software (jpeg2yuv):
- Start recording - specify parameters and start recording;
- Pause recording - suspend recording;
- Continue recording - resume recording;
- Stop recording - stop recording.