2. Specification and changing of the environment for the display

2.1 Turning ON/OFF the displaying axis

2.2 Changing the displayed axis

2.3 Changing the projection type

2.4 Changing the geometry display type

2.5 Changing the level of the geometry display

2.5.1 Changing the level for the geometry display

2.5.2 Selection of body

2.5.3 Changing the display color

2.5.4 Correction option for displaying zone

2.6 Changing the specification regarding a particle trajectory display

2.6.1 Specification of a history region

2.6.2 Specify the type of particle for display

2.6.3 Changing the line color for a particle trajectory

2.6.4 Changing the line type for the particle trajectory

2.6.5 Specifying the line width

2.6.6 Specifying energy range

2.6.7 WEIGHT

2.6.8 LATCH function

2.7 Changing the window design

2.7.1 Changing back ground color

2.7.2 Changing the character color

2.7.3 Changing the setting of the axis

2.7.4 Displaying a title

2.7.5 Displaying memo

2.7.6 Displaying a legend

2.7.7 Set html browser name for help

2.8 Hiding a part of the geometry

2.9 Returns to the initial setting


2.1 Turning ON/OFF the displaying axis

*Turning on the displaying axis -> Select [Display Axis]-[ON] in the main menu.
*Turning off the displaying axis ->
 Select [Display Axis]-[OFF] in the main menu.

 

2.2 Changing the displayed axis

By specifying the axis, the eye point is moved and the direction of the displayed coordinate is changed.

 *Z-axis plus in the right direction, Y-axis plus in the upper direction in the window
    -> Select [Axis]-[Z-Y] in the main menu

 *Y-axis plus in the right direction, Z-axis plus in the upper direction in the window
    -> Select [Axis]-[Y-Z] in the main menu

 *X-axis plus in the right direction, Z-axis plus in the upper direction in the window
    -> Select [Axis]-[X-Z] in the main menu

 *X-axis plus in the right direction, Y-axis plus in the upper direction in the window
    -> Select [Axis]-[X-Y] in the main menu

 

2.3 Changing the projection type

The following two types of projections can be specified:

*Ortho

Projection lines toward the projection plane are parallel. Bodies at far points and near points are indicated using the same size.
Select [Projection]-[Ortho] in the main menu to specify this type.

*Perspective

Projection lines from the object converge at the eye point.
Just as people see things, a body at a far point is indicated as being smaller and a body at a near point is indicated as being larger. The user can feel the perspective.
Select [Projection]-[Perspective] in the main menu to specify this type.

 

2.4 Changing the geometry display type

The geometry display type can be changed.

*Polygon -> Select [Display Type]-[Polygon] in the main menu.
*Wire frame ->
 Select [Display Type]-[Line] in the main menu.

 

2.5 Changing the level of the geometry display

The level of the geometry display can be selected from the following 3 levels:

*Body ...Each body is displayed.
*Zone ...Each zone is displayed. (The zone is a combination of bodies and is called "region" in EGS4)
*Material ...Each medium is displayed. (Group of the region with identical material.)

Turning ON/Off and changing the color is possible for each item at each level. Select [Environment]-[Environment for Display] in the main menu. Then, a window shows up. Please select [geometry display] from the tabs at the upper part.

 

2.5.1 Changing the level for the geometry display

Please select the level for the geometry display from the items in [Select Display Type], as shown in Fig.2.5

 

2.5.2 Selection of body, zone and material number for the display

A list of data is indicated under each level for the display. These data correspond to the geometry information in the current data file. By putting "check" for each body, zone and material number, the display or no display can be controlled.

*Checked ...Display
*Uncheck ...No display

Also, click the right button of the mouse for all display or no display. Here, a popup menu like in shows up. Select [All Check] for all displays or [All UnCheck] for no display in the menu.

 

2.5.3 Changing the display color

The color for each body, zone and material number can be changed. Select an item in the list by a left click of the mouse. When an item is selected, the color for the item becomes reverse, as shown in Fig.2.5. Then click the right button of the mouse to indicate the popup menu.
 CautionHere, be careful to select an item by a left click first. Otherwise an illegal operation may be caused.

When [Change Color] is selected in the pop up menu, a dialog box for color selection shows up. Please select a color for the item. When the color is selected properly, the color ID code in the list is changed to the selected one.

 

2.5.4 Correction option for displaying zone

The zone may not be properly displayed due to a numerical problem of the computer. This tends to happen when the subtraction of a body is done, as shown in the figure below.

To correct this, the size of subtracting body is made larger. The following two items are specified for this purpose as shown.

*Correction factor ...A correction is specified as the ratio to the original length (default=1E-6)
*Correction value ...Specify a correction value directly (default = 0.005cm)

The size of a subtracting body is calculated by the following equation:

Corrected length = Original length * (1 + Correction factor) + Correction Value

After a correction, the zone is properly shown, as indicated in the figure below.

 

2.6 Changing the specification regarding a particle trajectory display

The following items can be changed regarding the particle trajectory display: history region, line color and line type for each kind of particle, and energy region.
 Select [Environment]-[Environment for Display] in the main menu to make a change. Then, a window, as shown, appears. Select [Particle display] among the tabs at the upper part of the window

 

2.6.1 Specification of a history region

If a user specifies a history region, only the particles within this history region are displayed. The user can select one of the following two possible methods:

*Specify the history region

[Specify] is indicated in the [Specify History Range] frame in Fig 2.6

Checks this -> Specify history range
Does not check this -> Not specify history range

If the history range is not specified, all of the particles are displayed.
To specify the range, input the lower limit of the range and the upper limit of the range in the textbox at the right-hand side of the [Specify] check box. If either box is left blank, the minimum or maximum history number of the data is assigned as the lower or upper value, respectively.

*Specify the number of displaying histories from the last history

[Display Count from Last History] is indicated in the [Specify History Range] frame in Fig.2.6

Checks this Specify the number of displaying histories from the last history.
Does not check this
Number of displaying histories is not specified.

All of the history is displayed when the history range for the display is not specified.Type in the number of displaying histories in the box (Default = 1).

 

2.6.2 Specify the type of particle for display

The following 3 kinds of particles are indicated in cgview:

*Photon (g, x)
*Electron (e-)
*Positron (e+)

Displaying each kind of particle is specified by checking each item in Fig.2.6 To suppress displaying a kind of particle, delete the check sign for that particle.

 

2.6.3 Changing the line color for a particle trajectory

The line color for a particle trajectory can be changed. Click button 4 in Fig.2.6 to change the line color. Then, a dialog box to select the color appears. Select a color. The color ID code in the box is changed to the selected one when the color is selected without any trouble. Also, the line color of electrons and positrons can be changed by clicking the button in each box.

 

2.6.4 Changing the line type for the particle trajectory

The line type for a particle trajectory can be changed. The following 4 types of lines can be used:

*Solid line
*Dashed line
*Single dot chain line
*Double dot chain line

Select the line type in the pull-down menu in Fig 2.6

 

2.6.5 Specifying the line width

The line width for the standard weight particle is specified. Default=1.
Because the default line width is 1 pixel, the line of width N is indicated as N pixel line. Input a positive integer to textbox in Fig. 2.6

 

2.6.6 Specifying energy range

By checking [Specify Energy Range] in a frame of each particle in Fig.2.6, the energy-range specification is enabled. In this case, a particle is displayed only if its energy is within a specified range. If this button is not checked, the energy range is not specified.

Type in the lower and upper energy in text boxes in Fig 2.6, respectively, to specify the energy range. If either of these boxes is left blank, 0 and 1e15 are automatically assigned for the lower and upper energy, respectively. Unit is [MeV].

 

2.6.7 WEIGHT

The width of the particle trajectory line is automatically modified using particle WEIGHT data (which is read in from the input data file). The line width is set as the line width described in section 2.6.5 x WEIGHT.

 

2.6.8 LATCH function

By checking [Use Latch] in [Specify History Range] frame in Fig.2.6, the LATCH function is enabled. In this case, a history with a negative value of the latch flag is not displayed. If this button is not checked, the LATCH function is cancelled.

 

2.7 Changing the window design

The conditions of the display, the background color, title and axis etc, can be changed.
 Select [Environment]-[Environment for display] in the main menu. Then, a window, as shown, appears. Select [General display] among the tabs in the upper position.

 

2.7.1 Changing back ground color

It is possible to change the background color. Click button. A dialog box appears to select the color. Please select a color. The color ID code in the box is changed to the selected one when the color is selected without any trouble.

 

2.7.2 Changing the character color

It is possible to change the colors of the axis, title, memo and legend. Click button. Then, a dialog box to select the color appears. Select a color. The color ID code in the box is changed to the selected one when the color is selected without any trouble

 

2.7.3 Changing the setting of the axis

The following items can be changed. Type in the values to text boxes for each item in the [Axis Setting] frame:

*Divisions Size ...Length of the division line at the axis
*Division Unit ...Division unit at the axis
*Divisions Space ...Interval of divisions at the axis
*Allow Size ...Size of allow at the top of the axis
*String Size ...Size of character for the division label
*String Space ...Spacing for the division label character

 

2.7.4 Displaying a title

A title can be displayed in a window. Please check [Title Display] in the General display. Then, a sample title appears in an input box, as shown in the following figure. The title can be typed in here. Also, a displayed title can be moved inside the main window by a left click

 

2.7.5 Displaying memo

Memo can be displayed in the window. Check [Memo Display] in the General display. Then, a sample memo appears in an input box, as shown in the following figure. A memo can be typed in here.Also, a displayed memo can be moved inside the main window by a left click.

 

2.7.6 Displaying a legend

A legend can be displayed in the window. As shown in the following figure, the contents of the legend include the range of history number, the line color and the line type for each kind of particle.

 

2.7.7 Set html browser name for help

It is Specify html browser name for view help. Click 3 Button. Then, a dialog box to select the browser appears.

 

2.8 Hiding a part of the geometryTo display a cut view of the geometry, or to show the inside geometry, it is possible to hide a part of the geometry. Select [Environment]-[Environment for display] in the main menu. Then, a window appears, as shown. Select [Delete part] among the tabs at the upper part of the window.

Please check [Delete Part of Geometry]. The range for the deleting part is specified in a frame of [Deleting Area]. Type in the values to specify a virtual box. The geometry inside the virtual box is not displayed. The meanings of the input items are as follows (Unit is in [cm]).

X Min ...Minimum value for X (If left blank, automatically set from data.)
X Max ...Maximum value for X (If left blank, automatically set from data.)
Y Min ...Minimum value for Y (If left blank, automatically set from data.)
Y Max ...Maximum value for Y (If left blank, automatically set from data.)
Z Min ...Minimum value for Z (If left blank, automatically set from data.)
Z Max ...Maximum value for Z (If left blank, automatically set from data.)

 

2.9 Returns to the initial setting

The environment returns to the initial setting by pushing the [Default] button.