Previous Next Up Title Contents Index Top Library

5.5.1. SIMPLE SPACE MANAGER

To manage easy space move 2 solutions :

1. With view simple widget

3 areas control movements in space.

Figure 5.5.1a

Area 1 :

Close : Close the window

Update : Query parameter and update values

Ratio On : Conserve ratios (view calculation, see mapping.win for expert users)

XYZ,... : Orient the view marker

View No : Current view number

Arrows : Move in 2D straight, left, top, bottom. The centre button recenters the object in the graphic window.

Area 2 :

Scale Phi : Modify the horizontal angle

Scale Theta : Modify the vertical angle

Scale Dist : Z modified PRP (PRP : Projection Reference Point)

Scale Zoom : Modify the view plane

Area 3 :

Default : Calculate a default view

Reference : Display the XYZ marker

File : Generate the source file for the current view (GuiViewSimplexx.c)

Expert : Access to PHIGS expert views

Mouse Control : Intuitive control of movements in space.

By holding down the corresponding mouse button :

Figure 5.5.1b

The FLY control is carried out from the centre of the window. The further the cursor is from the centre, the larger is the animation.

The bounding box is RED next to X min and GREEN next to X max.

2 With popup - menu in worksation (access with button 3)

Buttons for mouse control are unsensitive ( default )

Activate Mouse Ctrl : Initialization and rotate / zoom activation

Rotate : Rotation with button 1

Zoom : Zoom with button2 on Y axies

Pane : shift in space

Fly : Fly in space ( point (0,0) in screen center ) (keep button press)

Bounding Box (Only) : Display bounding box only

Bounding Box (With) : Display bounding box and object

Default (Reset) : Compute defaut view

Reference : Display reference

z Buffer : Set / Unset hidden line hidden surfaces

View Mode : Rotation axe X, Y or Z up

View Type : View type ( parallele or perspective )

Warning:

When Rotate is activate, it is possible to move bounding box only with <shift> key.

For panning when Rotate is activate press <Control> key.

This popup-menu is unset with XmNmouseCtrlMenu resource of workstation widget

For PHIGS program this popup-menu i avalaible with %mc (yes/no) directive in configuration file GPHIGS.def, and option list is set with %ml (abcdef...) option. (see chapter 8)


Previous Next Up Title Contents Index Top Library