In general the available interactive functionality depends on the chosen projection and type of data being viewed. Most projections provide Scaling and Translation.
If you have a mouse with a mousewheel it will zoom in or out. Scroll down will bring the picture closer to you while scroll up will push it away.
Some interactivity can be achieved by direct actions, other functionality depends on the interactivity mode being used. Only one mode can be active at a time. This mode is shown by the button being selected from the toolbar, the control panel being shown and the cursor shape while moving the mouse over the view.
Direct actions will result in an immediate change.
Reset
Reset is a direct action. It will put the view back into its original state of the projection.
Fit to Window
Fit to Window is a direct action. It will measure the bounding box of the event/geometry in its currently visible state and will Scale and Translate to fit it within the boundaries of the window. The Scaling is uniform. The Translation will center the result.
Of the modes described below only one can be active at a time. The active mode is shown by the corresponding button being depressed, the corresponding menu item in the popup menu being flagged, the corresponding control panel being shown. Any mouse interaction started may be interrupted by pressing the Esc key.
Scaling
Scaling will allow you to enlarge or shrink the picture you are currently seeing. You can also zoom into a region on the screen. When you select the Scaling mode, the control panel will show you a choice of three sub-modes in its Selection box:
Translation
Translation allows you to move the picture anywhere inside the view. Translation (apart from incurred by any of the scaling modes) will only work in direct mode. The control panel will give you no other choice.
When you drag the left-mouse button the picture underneath will follow until you release the mouse button. If you click, the clicked point will be centered. If you alt-click the center will move to the clicked point.
Translations like these will only have an affect on the currently viewed angle. So, if you click on a calorimeter cluster, the cluster will move to the center of the screen, however if you go on to rotate the cluster, you will find that the model is not centered along the screen's Z-axis. In fact what will most likely happen is that the model will float out of the viewable area while you rotate. To select a proper rotation point a 3D translation mode will be added in the near future.
Rotation
The rotation modes are both immediate. From the Selection box you may choose between:
Picking
Picking allows the user to show information attached to the objects shown in the view. This attributes can be physics values or other relevant information. When you select the picking mode the control panel will allow you to select from different sub-modes:
The control panel will show a table of picked objects, which update as you change your pick of the view. If only a single object is picked, its attributes will show in the attributes table. If multiple objects are picked, then you can select one object from the picked table to show its attributes. Doing so will cause the view to only highlight that single picked object.
The Options... button in the Picked objects table allows you to restrict the picking to certain layers and to certain HepRepTypes. The layers are shown in a list, with a checkbox if this layer is used in the picking. The HepRepTypes are shown in a tree, where checkboxes mark if types are used in picking.
The Options... button in the Attributes of picked object table allow you to limit the display of attributes to certain categories. The categories are shown in a list, with a checkbox if attributes of a category are shown.
Tree Selection
In tree selection mode, the control panel shows a tree of HepRepTypes. If you expand the tree you will find familiar names of your event and geometry. You can toggle the visibility of certain object types, by clicking on the right-most checkbox. The left most checkbox only exist if the object in the tree is a folder. It shows three states:
This checkbox may change state depending on the state of other checkboxes. By clicking, it will either switch off or checked (in one of the two conditions depending on the sub-nodes). It allows you to hide whole subtrees at once.
The tree also has a popup menu to allow you to execute actions such as "Expand all", "Collapse all", "Show all", "Hide all" and "Invert All" for the node you clicked on when selecting the popup menu AND all nodes below that one.
Below the tree there are several other options available:
The tree is associated to the selected view.
Settings
The Settings panel allows you to change and control general settings and settings of the projection(s). Any variable may be selected from the table. For numeric variables a slider appears and a value box. You may use either to make changes to the variable. Variables can be coupled so that their maximum and minimum value may depend on another variable, or a variable may only be active after switching on a different variable.
The quality settings allow the user to make the picture show better on the screen. The default settings are the best for performance, but for screen, printer and file output it may be worthwhile to switch some of these options on.
Draw Thick lines
This option will draw lines in the thickness given by the HepRep data. Especially for online presentations this may give better viewable results. When this option is off, the lines are drawn in single unit width, which gives the best interactive performance.
Fill
Boxes
This option will fill symbols (hits) and some polygons (calorimeter hits) when the fill flag is switched on the HepRep data. When this option is off, all filled objects are drawn only by a surrounding line, which gives the best interactive performance.
Draw
Frames
To show colored objects (hits) on top of other colored objects (tracks) it is sometimes useful to draw a thin (black) frame around them. This option will draw such a frame if the HepRep data contains information for it. The loss in performance can be dramatic, as the number of drawn objects multiplies by two and all frames are filled objects.
Anti-Alias
To smoothen curved lines and lines with non-trivial angles, you can switch on anti-aliasing, which blends the jagged edges due to pixelation into the background by choosing mid-tones between the line color and the background color. As this is a pixel-by-pixel operation it can be quite a performance loss. Future versions of Java may use hardware acceleration if available.
Use
Layering
All objects are drawn in layers: hits on top of tracks on top of calorimeter hits on top of geometry. The layering may cause certain objects to disappear, when data has not been correctly layered. If you switch off layering these hidden objects may suddenly appear. There is no performance loss for having layering switched on.