next up previous contents index
Next: The ``Manager'' Menu Up: Controlling and Viewing Previous: General Interaction Strategy

Get the Feeling

  Have a guided tour through the manag menu in this chapter.

You have created your first executable as shown in section 4. Start it from the command prompt (if is already running and you might have changed something press tex2html_wrap43340 (in the upper right corner) and start it again.)

startup
You should see a graphics window showing a house with a little (hard to recognize) tree and a control window showing the manag-menu. Depending on the GraphicDevice (X or GL or ...) the house will be displayed as a wireframe or solid by default. (This can be switched, but not now).

First have a look into the transformation menu.

tex2html_wrap43334
In the trans-menu. Play with the translation rulers
tex2html_wrap43350 .. tex2html_wrap43352
to move the object, with the
tex2html_wrap43354
ruler to scale it and with
tex2html_wrap43356 .. tex2html_wrap43358
to rotate it.
tex2html_wrap43360
Press reset to reset the transformation if you lost the object.

tex2html_wrap43362
Switch to sphere rotation mode. You can click inside the sphere and then drag the mouse to rotate the object as if turning a ball.
tex2html_wrap43364
Switch back to ruler rotation mode.
tex2html_wrap43360
Press reset to reset the transformation.

tex2html_wrap43368
Switch the camera on. The house is displayed perspectively.
tex2html_wrap43368
Switch the camera off.

tex2html_wrap43360
Press reset to reset the transformation.

tex2html_wrap43336
Back to the manag menu.

First we explore the data hiarchy tree (scene tree).

In the upper middle of the control window is a button tex2html_wrap43376 , this is the current object. The graphic window's contents are the graphical view of this Scene. Since it is a Scene it does nothing but display its sub node tex2html_wrap43378 . Press this button now:

tex2html_wrap43378
You stepped into the Scene tree. "House" is the current object now. "main" moved to the left, ready to bring you out again. Two new buttons appeared, tex2html_wrap43382 and tex2html_wrap43384 . These are sub objects of "House". Nothing should have changed in the graphics window.

When asked to display, "House" will display both Scenes, the tree and the chimney. "Chimney" displays the whole house. To see the chimney press

tex2html_wrap43382
The tree disappears. The sub objects of Chimney are the real chimney object tex2html_wrap43388 and the next scene tex2html_wrap43390 .

tex2html_wrap43390
The chimney disappears out of the graphics window. Note that the button tex2html_wrap43382 moves up.

tex2html_wrap43396
Only the walls remain.

tex2html_wrap43390
tex2html_wrap43382
Return.

tex2html_wrap43388
Walk onto the object. No sub objects are displayed since there are none.

tex2html_wrap43388
Press the current object's button. You get an info list in a layer which shows basic information, scroll through the list using the scrollbar at the right side. This info list works for every object. Sometimes you will open it accidently, try to close it by pressing the
tex2html_wrap43290
button at the bottom of the layer.

tex2html_wrap43408
We now want a second chimney. Mark the existing one. The button label changes, the marked object's button becomes blue.

tex2html_wrap43382
We need a place to copy the object to. This must be a Scene. The same scene is a good place.

tex2html_wrap43412
Link the object to another place. A Scene "C: Chimney" is created. You don't see the copy because the objects are drawn at the same place.

tex2html_wrap43414
Go there. The scene's object is marked, too. It is the same object controlled by two scenes. If you had pressed tex2html_wrap43416 you would have created a new object.

tex2html_wrap43418
Remove the marking.

tex2html_wrap43420
Open the scene transformation menu. The details are described in the trans-menu. The rulers are grayed out because there is no active matrix.

tex2html_wrap43422
Press and hold the combobutton to select tex2html_wrap43424 . It always shows the current state.

tex2html_wrap43350 ( tex2html_wrap43428 ), twice
Move the second chimney in direction -x. The ruler's input field shows -0.4.

tex2html_wrap43328
Close the scene matrix editor.

tex2html_wrap43382
Walk up to see both chimneys.

tex2html_wrap43434
Open scene surface property editor to switch to grid mode to see the triangulation. Doesn't hurt if grid mode is already active.

tex2html_wrap43436 / tex2html_wrap43438
Click this button on the scene suprop layer until it shows "to patch" indicating the local scene surface property is in grid mode.

tex2html_wrap43414
Note the surface property layer has updated properly. This Scene doesn't have an own surface property and is displayed using the global surface properties. Automatically create a surface property by pressing

tex2html_wrap43436 / tex2html_wrap43438
Until it shows to patch.

tex2html_wrap43328
Close the scene surface property editor.

We do not want to walk on the two other Scenes by hand, let's use a utility method.

tex2html_wrap43448
We want to send the method "all2grid".

tex2html_wrap43450
Pick the right method in the list.
tex2html_wrap43450
Click the entry again, that is another way to press tex2html_wrap43290 .

The roof and the walls should be in grid mode now.

tex2html_wrap43382
Walk up.

tex2html_wrap43388
Refine the chimney now.

tex2html_wrap43448
We want to send the method "refine-global". This is a method of class Triang2d. Because we stay on an instance of Adapt2d, which is subclass of Fe2d, which is subclass of Triang2d, we have to change to the Triang2d methods first.

tex2html_wrap43462
Click the path to the superclass methods.
tex2html_wrap43462
Click again to enter the decision.

tex2html_wrap43466
Click the path to the superclass methods.
tex2html_wrap43466
Click again to enter the decision. Use the scrollbar at the right side to find the string "refine4".

tex2html_wrap43470
Pick the right method in the list.
tex2html_wrap43470
Click the entry again.

tex2html_wrap43382
Go back to the scene. Note that both chimneys are refined since they are the same object.

tex2html_wrap43414
We want to remove the extra chimney. Go to the Scene.

tex2html_wrap43478
Delete the Scene and its object but not the next Scene. Note that the original chimney remains in the Scene.

You stay on tex2html_wrap43390 now. Refine the rest of the house as well by using the Scene.

tex2html_wrap43448
You see the valid methods of the class Scene. But Scenes are special, if a Scene does not understand a method it is sent to the sub objects.

"refine4"
Enter the text in the input field and press ENTER.

Both, the roof and the walls are refined.

tex2html_wrap43408
tex2html_wrap43412
tex2html_wrap43418
Create a copy of the roof.

tex2html_wrap43490
Go to the new copied Scene.

tex2html_wrap43492
Change the display method only for the roof, which is of class Fe2d. A list in a layer appears, showing the valid display methods for Fe2d.

tex2html_wrap43494
tex2html_wrap43290
Choose isoline as display method. The roof is displayed as "temperature isolines".

tex2html_wrap43390
See one roof with two display methods.

tex2html_wrap43490
Go to the copy of the roof.

tex2html_wrap43478
Delete this Scene and its object.

tex2html_wrap43390
tex2html_wrap43382
tex2html_wrap43378

tex2html_wrap43384
Go to the tree to learn something about time dependent objects.

tex2html_wrap43512
Walk onto the interpolated object. The object moves to center position in the graphics window because the TimeScene has an own Scene matrix that is unused now.

tex2html_wrap43384
Go back onto the TimeScene.

tex2html_wrap43516 ruler
Move the scene time ruler. See the tree growing and shrinking. Note that tree segments appear and disappear, this is done by several TimeSteps.

tex2html_wrap43518
Go to the chained TimeSteps that are interpolated. The Triang2ds on the right side are the pre-object and the post-object.

tex2html_wrap43520
Visit the next TimeStep.

tex2html_wrap43522
Another TimeStep yet.

tex2html_wrap43384
Go back onto the TimeScene. You do not have to go via the prior TimeSteps.

tex2html_wrap43526
Move the main time ruler. Nothing happens.

tex2html_wrap43516 ( tex2html_wrap43530 )
Initialize the time dependency spline.

tex2html_wrap43516 ( tex2html_wrap43288 )
Open the Spline_Editor to edit the scene time spline, which describes the main time dependency.

Do not edit the spline now, just press

tex2html_wrap43300
to use the spline. Note the tex2html_wrap43288 is pressed now. Then press
tex2html_wrap43298
to close the Spline_Editor.

tex2html_wrap43526
Move the main time ruler. The scene time ruler moves as well. Note that only main time values between 0 and 1 are valid.

tex2html_wrap43516 ( tex2html_wrap43288 )
Open the Spline_Editor to edit the scene time spline. Move the little circle at the right side of the left node up to get an S shaped spline.

tex2html_wrap43526
Move the main time ruler. The scene time ruler moves as well, but not linear any more. Note you do not have to close the Spline_Editor to see the effect. To switch off the spline and to close the editor, press

tex2html_wrap43300
tex2html_wrap43298

tex2html_wrap43378
tex2html_wrap43382
Let's try an alternative display method.

tex2html_wrap43558
Open a display method selector layer.

"points" ENTER
Enter the word "points". The house is displayed as points.

tex2html_wrap43338
Switch to the opts-menu. The display method has put a ruler there.
tex2html_wrap43562
Play with the ruler to adjust the points size.

tex2html_wrap43336
Switch back to the manag menu.
tex2html_wrap43558
Reset the display method.
tex2html_wrap43568
Click on the default value: display.
tex2html_wrap43290
Accept the value. You can have a look into the opts menu to see that the ruler disappeared.

Now you have seen something of GRAPE; you may try to add and remove some projects now and see their Buttons and Rulers come and go in the option-menus; for the Projects and their user interfaces see chapter 4.5.

The next sections describe everything in detail.


next up previous contents index
Next: The ``Manager'' Menu Up: Controlling and Viewing Previous: General Interaction Strategy

SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.