TOC PREV NEXT

Scan2MCNP


User Interface


Scan2MCNP uses the Windows Multiple Document Interface (MDI) application. This figure Link to Interface Picture shows the interface. A single parent window contains multiple child windows, each of which can be independently sized and moved. Clicking on a child window activates it. The effect of selecting some menu and toolbar items depends on which window is active. The size and location of the parent and child windows are saved (in the registry) and used for new executions of the program. The top of the parent window contains a menu and an optional toolbar that contains buttons for performing common operations. The (optional) status bar at the bottom of the parent window contains two fields for messages about the state of the program or active image. When a menu is open, the right status bar field gives a brief description of the highlighted menu item.

There are four types of child windows. The image is displayed in an image window. The transcript window shows messages from the program. The partition window shows the division of the color mapping into ranges that are assigned to materials for MCNP. Text output, such as a previewed MCNP input file, is written in the report window. Any number of image windows may be present. The other child window types are restricted to a single instance of each. The title bar of the image window shows the name of the DICOM file from which the image was read. If the image is colored using the partition boundaries, the name is followed by "Binned".

It is common for MDI applications to provide menu items to arrange the child windows by cascading or tiling. The cascade arrangement makes all child windows the same size, each slightly offset from and overlapping the previous window. Child windows in the tiled arrangement do not overlap and fill as much of the parent window as possible. Because changing the sizes of the transcript, partition, and report windows may be undesirable, we provide menu items to cascade or tile only the image windows.

Messages. Program messages are classified as information, warning, or error. These messages are written to the transcript window. The user may also select (on the Options dialog) to have the messages appear in popup dialogs.

Context Menus. A right mouse click in an image window or in the partition window shows a popup context menu with items pertinent to the window. Most, but not all, of the items in the context menus are duplicated in the main menu.



White Rock Science
http://www.whiterockscience.com/wrs.html
505 672 1105
email
 
TOC PREV NEXT