next up previous contents index
Next: Surface Methods for Creating Up: Surface Previous: I/O Methods on Surface

Surface Task, Reflection and Geom Status Handling

 

These methods are related to the project Surface user-interface described in section 8.2.3.

   tex2html_wrap44806    tex2html_wrap44808
CLASS * Surface
These methods are used by the Surface project to create and maintain the user-interface. "get-panel" returns the interface shown in figure 8.16, "update-panel" is called when the current object of the manager is changed to find a new Surface for the interface.

   tex2html_wrap44810    tex2html_wrap44812
SURFACE * surface
TASK_TYPE task
"set-task" sets the surface-> task to task. This will also change the model to the geometry corresponding to the task, e.g. domain for tskDomain. After changing the model "set-task" updates the Geom2d status button with "update-geom-status" (see below).

"update" calls "set-frame" and "set-task" to update time, frame number and task for an instance of class Surface. This is for example necessary if the surface frame or task was changed ``by hand'', e.g. after reading in a Surface instance.

   tex2html_wrap44814    tex2html_wrap44816    tex2html_wrap44818    tex2html_wrap44820
CLASS * Surface
SURFACE * surface
"get-reflect-buttons" returns a Group containing the three reflection buttons for the Surface interface, it is only used by "get-panel".

"reflect-send" allows to interactively pick boundaries for the reflection and the objects to reflect, "reflect" then does the reflection. It reflects all or only the selected objects in the model Chain, the created objects are added at the end of the model Chain. If you make a mistake you can delete reflected objects with "reflect-delete-send", the first time this method is called all objects created by the last reflection are deleted, on all subsequent calls only one object (the last in the model Chain) is deleted.

"reflect-send"/"reflect-delete-send" is called when the tex2html_wrap44822 / tex2html_wrap44824 button is pressed, for more information see 8.2.3.2.

   tex2html_wrap44826    tex2html_wrap44828    tex2html_wrap44830
CLASS * Surface
SURFACE * surface
"get-geom-status-buttons" returns a CheckField (see 9.1.3.3) which shows the status of the display flags of the current Surface's model Geom2d instances (see 6.3.4), is is only used by "get-panel".

"new-geom-status" is called if one of the Checkboxes is changed, it sets the display flags to reflect the new values. Conversely, "update-geom-status" has to be called when the display flags are changed, this will update the Checkboxes. For more information see 8.2.3.


next up previous contents index
Next: Surface Methods for Creating Up: Surface Previous: I/O Methods on Surface

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.