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

28.4.1 Scaling, Centering, Rotating, Translating, and Zooming the Display

Scaling and centering the display is accomplished using the Views panel (Figure  28.4.1).

Display $\rightarrow$ Views...

Figure 28.4.1: The Views Panel
figure

You can rotate, translate, and zoom the graphics display using either the mouse or the Camera Parameters panel (Figure  28.4.2), which is opened from the Views panel.

Figure 28.4.2: The Camera Parameters Panel
figure



Scaling and Centering


You can scale and center the current display without changing its orientation by clicking on the Auto Scale button in the Views panel.



Rotating the Display


In 3D you can rotate the display in any direction, using either the mouse or the Camera Parameters panel. In 2D you can rotate the display about the axis normal to the screen, using either the mouse or the Camera Parameters panel.

To rotate a 3D display with the mouse, you will use the button with the mouse-rotate function (the left button, by default). (See Section  28.3 for information about changing the mouse functions.) Click and drag the left mouse button in the graphics window to rotate the geometry in the display. You can also click and drag the left mouse button on the ( $x$, $y$, $z$) graphics triad in the lower left corner to rotate the display. If you press the <Shift> key when you first click the mouse button to begin the rotation, the rotation will be constrained to a single direction (e.g., you can rotate about the screen's horizontal axis without changing the position relative to the vertical axis). If you want to constrain the rotation of a 3D display to be about the axis normal to the screen, you can also use the mouse-roll-zoom function described below for 2D cases.

To rotate a 3D display using the Camera Parameters panel (Figure  28.4.2) you will use the dial and the scales below it and to its left:

figure   

Note that the position of the slider or the dial indicator does not reflect the cumulative rotation about the axis; the slider or indicator will return to its original position when you release the mouse button.

To rotate a 2D display about the axis normal to the screen, you can use the dial in the Camera Parameters panel, as described above for 3D cases. If you want to rotate with the mouse instead, you can use the mouse-roll-zoom function. (See Section  28.3 for information about enabling this optional function.) Click the appropriate mouse button and drag the mouse to the left for clockwise rotation, or to the right for counter-clockwise rotation.

Spinning the Display with the Mouse

When you use the mouse for rotation, you have the option to "push'' the display into a continuous spin. This feature can be used in conjunction with video recording, or simply for interactive viewing of the domain from different angles. To activate this option, use the auto-spin? text command:

display $\rightarrow$ set $\rightarrow$ rendering-options $\rightarrow$ auto-spin?

Then display the graphics (or, if the graphics are already displayed, you can click the Apply button in the Display Options panel). The mouse-rotate button will then have two uses:

For smoother rotation, turn on the Double Buffering option in the Display Options panel (see Section  28.2.7). This will reduce screen flicker during graphics updates.



Translating the Display


By default the left mouse button is set to mouse-dolly in 2D. (See Section  28.3 for information about changing the mouse functions.) Click and drag the left mouse button in the graphics window to translate the geometry in the display.

In 3D, you can either change one of the button functions to mouse-dolly and follow the instructions above for 2D, or use the mouse-zoom button (the middle button by default). Click the middle button once on the point in the display that you want to move to the center of the screen. FLUENT will redisplay the graphic with that point in the center of the window. (Note that this method can also be used in 2D.)



Zooming the Display


In both 2D and 3D you will use the mouse button with the mouse-zoom function (the middle button by default) or the mouse-roll-zoom function (see Section  28.3 for information about enabling this optional function), or the Camera Parameters panel to magnify and shrink the display.

With the mouse-zoom function, click the middle mouse button and drag it from left to right (creating a "zoom box'') to magnify the display. Figure  28.4.3 displays the correct dragging of the mouse, from upper left to lower right on the display, in order to zoom. (You can also drag from lower left to upper right.) After you release the mouse button, FLUENT will redisplay the graphic, filling the graphics window with the portion of the display that previously occupied the zoom box.

Figure 28.4.3: Zooming In (Magnifying the Display)
figure

Figure 28.4.4: Zooming Out (Shrinking the Display)
figure

Click the middle mouse button and drag it from right to left to shrink the display. Figure  28.4.4 displays the correct dragging of the mouse, from lower right to upper left on the display, in order to "zoom out''. (You can also drag from upper right to lower left.) After you release the mouse button, FLUENT will redisplay the graphic, shrinking the graphical display by the ratio of sizes of the zoom box you created and the previous display.

With the mouse-roll-zoom function, click the appropriate mouse button and drag the mouse down to zoom in continuously, or up to zoom out.

In the Camera Parameters panel (Figure  28.4.2), use the scale to the right of the dial to zoom the display. Move the slider bar up to zoom in and down to zoom out.


next up previous contents index Previous: 28.4 Modifying the View
Up: 28.4 Modifying the View
Next: 28.4.2 Controlling Perspective and
© Fluent Inc. 2006-09-20