Salome HOME
Redesign SALOME documentation
[modules/gui.git] / doc / salome / gui / input / gl_2d_viewer.rst
1 .. _gl_2d_viewer_page:
2
3 ************
4 GL 2D Viewer
5 ************
6
7 Operations
8 ##########
9
10 The functionalities of GL viewer are available via its Viewer
11 Toolbar. Buttons marked with small downward triangles have extended
12 functionality which can be accessed by locking on them with left mouse
13 button.  
14
15 .. image:: ../images/glviewer_toolbar.png
16         :align: center
17
18 ____
19                                                                                                  
20 .. image:: ../../../../src/GLViewer/resources/gl_view_dump.png                                                                       
21         :align: center
22                                                                                                   
23 **Dump View** - exports an object from the viewer in bmp, png or jpeg image format.               
24                                                                                                   
25 ____
26                                                                                                   
27 .. image:: ../../../../src/GLViewer/resources/gl_view_fitall.png                                                                     
28         :align: center
29                                                                                                   
30 **Fit all** - scales the presentation so that it could fit within the Viewer boundaries.          
31                                                                                                   
32 ____
33                                                                                                   
34 .. image:: ../../../../src/GLViewer/resources/gl_view_fitarea.png                                                                    
35         :align: center
36                                                                                                   
37 **Fit area** - resizes the view to place in the visible area only the contents of a frame drawn   
38 with pressed left mouse button.                                                                   
39                                                                                                   
40 ____
41                                                                                                   
42 .. image:: ../../../../src/GLViewer/resources/gl_view_fitselect.png                                                                  
43         :align: center
44                                                                                                   
45 **Fit selection** - resizes the view to fit in the visible area only currently selected objects.  
46                                                                                                   
47 ____
48                                                                                                   
49 .. image:: ../../../../src/GLViewer/resources/gl_view_zoom.png                                                                       
50         :align: center
51                                                                                                   
52 **Zoom** - allows to zoom in and out.                                                             
53                                                                                                   
54 ____
55                                                                                                   
56 .. image:: ../../../../src/GLViewer/resources/gl_view_pan.png                                                                        
57         :align: center
58                                                                                                   
59 **Panning** - if the represented objects are greater that the                                     
60 visible area and you don't wish to use **Fit all** functionality,                                 
61 click on this button and you'll be able to drag the scene to see its                              
62 remote parts.                                                                                     
63                                                                                                   
64 ____
65                                                                                                   
66 .. image:: ../../../../src/GLViewer/resources/gl_view_glpan.png                                                                      
67         :align: center
68                                                                                                   
69 **Global panning** - allows to select a point to be the center of                                 
70 the presentation showing all displayed objects in the visible ares.                               
71                                                                                                   
72 ____
73                                                                                                   
74 .. image:: ../../../../src/GLViewer/resources/gl_view_reset.png                                                                      
75         :align: center
76                                                                                                   
77 **Reset** - restores the default position the scene.                                              
78                                                                                                   
79 ____
80
81
82 .. _gl_background:
83
84 Background
85 ##########
86
87 GL Viewer background can be customized using the "Change background"
88 popup menu command that opens standard "Select Color" dialog box:
89
90 .. image:: ../images/selectcolor.png
91         :align: center
92
93