[ANSYS, Inc. Logo] return to home search
next up previous contents index

29.3 Controlling the Mouse Button Functions

A convenient feature of ANSYS FLUENT is that it allows you to assign a specific function to each of the mouse buttons. According to your specifications, clicking a mouse button in the graphics window will cause the appropriate action to be taken. These functions apply only to the graphics windows; they are not active when an XY plot or histogram is displayed. (See Section  29.9.1 for information about the use of mouse buttons in these plots.) Clicking any mouse button in a graphics window will make that window the active window.

figure   

3DConnexion Space products (Ball, Mouse, Pilot, and Navigator) are not supported with ANSYS FLUENT.



Button Functions


The predefined button functions available are listed below:

mouse-rotate   allows you to rotate the view by dragging the mouse across the screen. Dragging horizontally rotates the object about the screen's $y$ axis; vertical mouse movement rotates the object about the screen's $x$ axis. The function completes when the mouse button is released or the cursor leaves the graphics window.

mouse-dolly   allows you to translate the view by dragging the mouse while holding down the button. The function completes when the mouse button is released or the cursor leaves the graphics window.

mouse-zoom   allows you to draw a zoom box, anchored at the point at which the button was pressed, by dragging the mouse with the button held down. When you release the button, if the dragging was from left to right, a magnified view of the area within the zoom box will fill the window. If the dragging was from right to left, the area of the window is shrunk to fit into the zoom box, resulting in a "zoomed out'' view. If the mouse button is simply clicked (not dragged), the selected point becomes the center of the window.

mouse-roll-zoom   allows you to rotate or zoom the view, depending on the direction in which you drag the mouse. If you drag the mouse horizontally, the display will rotate about the axis normal to the screen. If you drag it vertically, the display will be magnified (if you drag it down) or shrunk (if you drag it up). The function completes when the mouse button is released or the cursor leaves the graphics window. Note that this function is similar to the function of the right mouse button in GAMBIT.

mouse-probe    allows you to select items from the graphics windows and request information about displayed scenes. If the probe function is turned off and you click the mouse-probe button in the graphics window, only the identity of the item on which you clicked will be printed out in the console window. If the probe function is turned on, more detailed information about a selected item will be printed out.

mouse-annotate   allows you to insert text into the graphics window. If the mouse button is dragged, an attachment line is drawn. When the button is released (after dragging or clicking), a cursor is displayed in the graphics window, and you can enter your text. When you are finished, press <Enter> or move the cursor out of the graphics window. To modify or remove annotated text and attachment lines, use the Clear button in the Annotate dialog box, as described in Section  29.2.4.



Modifying the Mouse Button Functions


Mouse button functions are specified in the Mouse Buttons dialog box (Figure  29.3.1).

Display $\rightarrow$ Mouse Buttons...

Figure 29.3.1: The Mouse Buttons Dialog Box
figure

For each mouse button ( Left, Middle, and Right), select the desired function in the drop-down list. The functions are listed above. If you assign the probe function to one of the buttons, select on or off as the Probe status.

The new button functions take effect as soon as you click OK. That is, you do not have to redraw the graphics window to use the new functions; the appropriate function will be executed when a mouse button is subsequently clicked in a graphics window.

The FLUENT Defaults button functions are as follows:


Button 2D 3D
Left mouse-dolly mouse-rotate
Middle mouse-zoom mouse-zoom
Right mouse-probe mouse-probe

The Workbench Defaults button functions are as follows:


Button 2D 3D
Left mouse-dolly mouse-dolly
Middle mouse-rotate mouse-probe
Right mouse-zoom mouse-zoom


next up previous contents index Previous: 29.2.7 Modifying the Rendering
Up: 29. Displaying Graphics
Next: 29.4 Viewing the Application
Release 12.0 © ANSYS, Inc. 2009-01-29