Notes on using xrtGlow



  • Examine a few examples in …/examples/withRaycing/_QookBeamlines.

  • Export to image is available under the context menu -> File. You can save and load the scene settings (camera position, model orientation, rays opacity and so on) as well.

  • From xrtGlow, press F1 to see the available keyboard shortcuts. Also observe the available pop-up menu by right mouse click.

  • Move the model across the view with Shift-MouseLeft, or along view depth with Alt-MouseLeft. Horizontal dragging has no effect. From above, drag up to move the model away from the camera or down to bring it closer. From below, these directions reverse. At zero elevation, up brings it closer. Centering can be done by (a) right click on the element name in Selection and then “Center here” or (b) right click on the element itself in the scene and then “Center view”.

  • The color plot shows the global color map: the correspondence between the selected physical parameter (e.g. energy) and the colors. A sub-band can be selected on the color plot with the mouse; the vertical extent of this selection is ignored. If Global color span is disabled, each beam’s colors are normalized to that beam’s local minimum and maximum. This is useful for inspecting local height profiles. In this mode, the global color map and global color-span controls are disabled.

  • Examine dynamic properties of an optical elements or a screen by right-clicking it. The plot in the inspectror panel shows a local footprint or a screen view.

  • Virtual Screen is instantiated by F3 nearly at the view center. It can be moved along the beamline by Ctrl-MouseLeft drag.

  • Rays or footprints visualisation can be enabled/disabled either by setting corresponding checkboxes in the Navigation Panel for individual elements or globally by changing the opacity of the lines and points in the Color Panel. The same applies for the Projections.

  • Intensity cut-off allows to omit the visualisation of the darkest/weakest rays. It is especially important if Intensity defines the Value key in HSV color space when dark rays can shadow the whole beam.

  • A convenient way to inspect a detailed beam footprint on the coordinate grid is to use Projections: disable the Perspective, select only the footprint of interest on the Navigation Panel (or disable all and just leave the Virtual Screen on), enable the projection, set to zero the Projection Line Opacity, increase the Projection Point Opacity to improve the visibility, enable the Fine Grid. Increase the number of rays in the source if necessary.

  • If you have any doubts regarding the orientation of the optical element or trying to identify the directions, you can plot local coordinate axes by checking the corresponding option on the Scene panel or in the context menu. Make sure that the surface rendering is enabled for this element in the Navigation panel. Orientation of the diffraction planes will be represented by the yellow arrow in case of crystals with asymmetric cut.