flair

Contents:

  • 1. Prologue
    • 1.1. About
    • 1.2. Version 3 most important changes
    • 1.3. Installation
      • 1.3.1. External dependencies
    • 1.4. Starting flair
      • 1.4.1. Command line options
      • 1.4.2. Desktop integration
    • 1.5. Forum and bug reporting
    • 1.6. Monte Carlo mode
      • 1.6.1. Convert to another Monte Carlo
    • 1.7. Version Numbering
    • 1.8. References
  • 2. Interface
    • 2.1. Pages
      • 2.1.1. Ribbon
        • 2.1.1.1. Clipboard
      • 2.1.2. Notification dialog
      • 2.1.3. Status bar
      • 2.1.4. Customization
        • 2.1.4.1. Mouse actions on tabs
        • 2.1.4.2. Mouse actions on windows
        • 2.1.4.3. Windows tiling
      • 2.1.5. Keyboard Shortcuts
    • 2.2. Flair
      • 2.2.1. Input Templates
    • 2.3. Run
      • 2.3.1. Run:Run
        • 2.3.1.1. Ribbon
        • 2.3.1.2. Fields
        • 2.3.1.3. Attaching process and progress monitoring
      • 2.3.2. Run:Files
        • 2.3.2.1. Ribbon
      • 2.3.3. Run:Data
        • 2.3.3.1. Ribbon
        • 2.3.3.2. File Selection Rules
    • 2.4. Calculator
      • 2.4.1. Ribbon
      • 2.4.2. Editing
      • 2.4.3. Syntax
      • 2.4.4. Special Variables
    • 2.5. Compile
      • 2.5.1. Ribbon
      • 2.5.2. FLUKA User routines Dialog
    • 2.6. Dicom
      • 2.6.1. Dynamic Tabs
      • 2.6.2. Dicom Information
      • 2.6.3. Dicom Editor
      • 2.6.4. Slice Viewer
      • 2.6.5. Voxel Generation
      • 2.6.6. RTPlan creation
      • 2.6.7. RTViewer
    • 2.7. Elements
    • 2.8. Materials
      • 2.8.1. Material Properties
      • 2.8.2. Ribbon
      • 2.8.3. Stoichiometry
      • 2.8.4. Table
      • 2.8.5. Properties
      • 2.8.6. Sternheimer parameters:
    • 2.9. Output
    • 2.10. Pet
      • 2.10.1. Ribbon
      • 2.10.2. Options
    • 2.11. Viewer
  • 3. Input Editor
    • 3.1. Ribbon
    • 3.2. Cards
      • 3.2.1. Card Groups
      • 3.2.2. Card Anatomy
    • 3.3. Editing
    • 3.4. Validation
    • 3.5. Keyboard Shortcuts
    • 3.6. Function evaluation
      • 3.6.1. Global Variables
      • 3.6.2. Functions
  • 4. Geometry Editor
    • 4.1. Ribbon
      • 4.1.1. Context Tabs
        • 4.1.1.1. Bodies context tab
        • 4.1.1.2. Region context tab
        • 4.1.1.3. Spline context tab
    • 4.2. Popup Menu
    • 4.3. Keyboard Map
    • 4.4. Mouse
    • 4.5. Listboxes
    • 4.6. Viewports
    • 4.7. Axes System
    • 4.8. Navigation
      • 4.8.1. Keyboard Navigation
      • 4.8.2. Mouse
        • 4.8.2.1. Left mouse button
        • 4.8.2.2. Middle mouse button
        • 4.8.2.3. Mouse wheel
        • 4.8.2.4. Right mouse button
      • 4.8.3. Viewport lines
      • 4.8.4. Orientation Cube
    • 4.9. Projection
    • 4.10. Debugging
    • 4.11. Selection
      • 4.11.1. Selection Freezing
    • 4.12. Objects
    • 4.13. Bodies
      • 4.13.1. Adding New bodies
      • 4.13.2. Body Visibility
      • 4.13.3. Body Editing
    • 4.14. Regions or Cells
      • 4.14.1. Adding New Region
      • 4.14.2. Region Editing
    • 4.15. Layers
      • 4.15.1. Show Layer
      • 4.15.2. Image Layer
      • 4.15.3. Userdump Layer
      • 4.15.4. Usrbin Layer
      • 4.15.5. 3D Layer
      • 4.15.6. Palette Layer
      • 4.15.7. Voxel Layer
    • 4.16. Transform bodies
    • 4.17. Tools
      • 4.17.1. Move Tool
      • 4.17.2. Rotate Tool
      • 4.17.3. Repeat Tool
      • 4.17.4. Volume Tool
      • 4.17.5. Export Tool
      • 4.17.6. Movie Editor Tool
  • 5. Plot tab
    • 5.1. Ribbon
    • 5.2. Common plot options
    • 5.3. Geometry Plot
      • 5.3.1. Fields and Buttons
    • 5.4. 1D Plot
    • 5.5. 2D Plot
    • 5.6. Mesh Plot
    • 5.7. Residual Nuclei Plot
    • 5.8. Userdump Plot
    • 5.9. Palette templates
  • 6. Preferences
    • 6.1. Colors
    • 6.2. Data
    • 6.3. Fluka
    • 6.4. Fonts
    • 6.5. Geometry
    • 6.6. Gnuplot
    • 6.7. Interface
    • 6.8. Mcnp
    • 6.9. Moira
    • 6.10. Phits
    • 6.11. Programs
    • 6.12. Run
      • 6.12.1. Queues / Submit command
    • 6.13. Custom Batch commands
  • 7. API
    • 7.1. Card class
    • 7.2. Input class
    • 7.3. Project class
    • 7.4. .flair file structure
    • 7.5. Example
flair
  • 4. Geometry Editor
  • 4.8. Navigation
Previous Next

4.8. Navigation

There are several means of navigation in the viewports

  1. keyboard Keyboard Navigation

  2. left-mouse button Mouse

  3. middle-mouse button Middle mouse button

  4. viewport lines Viewport lines

  5. orientation cube Orientation Cube

  6. projection dialog Projection

4.8.1. Keyboard Navigation

Each viewport can be navigated with the keyboard once the mouse cursor is over the viewport

Keys

Action

[arrows]

pan viewport

[Ctrl+arrows]

orbit viewport around u,v axes

[Ctrl+Shift+arrows]

rotates by 90 deg.

[PgUp] / [PgDn]

pan viewport front/back

[Ctrl + PgUp/PgDn]

orbit viewport around w axis

[=] ([+) / [-]

zoom in / zoom out

[o]

open projection dialog Projection to set the origin/basis/save/recall etc…

[Ctrl-0] (zero)

Center to origin

[Ctrl-1], [Ctrl-2]

front [X:Y] / back [-X:Y]

[Ctrl-3], [Ctrl-4]

left [Z:Y] / right [-Z:Y]

[Ctrl-5], [Ctrl-6]

top [Z:X] / bottom [-Z:X]

Naming: Viewport naming assumes

Z:

direction of the beam (horizontal)

X:

horizontal

Y:

vertical

4.8.2. Mouse

The viewports can be navigates with the Left Mouse button by selecting before the appropriate action

4.8.2.1. Left mouse button

Icon

Label

Shortcut

Description

pan.gif

Pan

x

Move viewport

zoom.gif

Zoom

z

zoom in/out. Clicking will zoom x2 or select the region to zoom by drawing a rectangle. To unzoom hold the Control key and click or draw a rectangle

orbit.gif

Orbit

t

orbit viewport

Note

  • The default select action can be achieved with the select.gif icon or with the shortcut [s]

4.8.2.2. Middle mouse button

A more handy way of navigating is with the use of the middle mouse button (or the right one in case of two, by activating the appropriate preference see below)

Pressing the middle mouse button, alone or with the following keys

Modifier

Description

alone

Pan/Move viewport

+ [Right mouse]

Orbit viewport

+ [Ctrl]

orbit projection using a virtual trackball

+ [Ctrl-Middle-Shift]

orbit projection using a virtual trackball with steps of 5 degrees

+ [Shift]

select rectangle region and zoom into

+ [Shift-Middle-Ctrl]

select rectangle region and zoom out

4.8.2.3. Mouse wheel

With the mouse wheel

Modifier

Description

alone

zoom in/out

Ctrl + Wheel

pan/move forward or backward

Ctrl+Shift+Wheel

smoother pan/move forward/backward

Shift + Wheel

resize-cursor: when a body is selected the drag cursor dimensions can be changed with Shift + Wheel

4.8.2.4. Right mouse button

If laptop mode is enabled, then it behaves like the middle button

Modifier

Description

alone

Opens a popup context menu

+ [Ctrl]

Opens the insert popup menu

Note

  1. Middle and Right button can be swapped by activating the laptop mode in the Preferences/Geometry

  2. Wheel sense of zooming can be modified in the Preferences/Geometry

  3. You are required to restart the Geometry Editor after changing the mouse preferences

4.8.3. Viewport lines

Each Viewport if visible in the other viewports it appears as a dashed colored line with a small rectangle showing the center of the viewport.

grab-viewports.gif

Using the select cursor select.gif you can move the viewport lines which will result in moving the viewport. Each line has several handles where actions can take place

grab-viewportline.gif

Dashed lines represent the other viewport’s cross section on the current plot. The center is represented with a square. When the other-viewport is outside the view window, the viewport-line will be displayed on the closest edge.

Actions (select-tool select.gif + left mouse)

  • drag the center square (red square on the figure) to reposition the viewport

  • drag the line close to the center (green line) to reposition the viewport along the vertical axis-w of the viewport

  • drag the extremities (magenta on the figure) of the viewport-line to rotate the viewport

  • drag+shift the extremities (magenta on the figure) of the viewport to rotate by 5deg.

Press ESCape during dragging to cancel the action

Note

When repositioning the center of a viewport, the center is moved to lie on the current viewport. If you want to reposition the center without moving on the current viewport click the Control button at the same time

4.8.4. Orientation Cube

The orientation cube is the cube showing the axes system located on the bottom-left corner of each viewport

../_images/orientation_cube.png

Hovering the mouse over the cube, it will enlarge in size and show more detail waiting for mouse click commands

The letter on each side corresponds to the name of the side. The naming follows the coordinate conversion that:

  • Z is horizontal and points the beam direction

  • Y is vertical (anti-gravity)

  • X is the horizontal (cross product of YxZ)

Letter

Name

Side description

F

Front

X-Y plane towards the positive Z

B

Back

X-Y plane towards the negative Z

U

Up

X-Z plane towards the positive Y

D

Down

X-Z plane towards the negative Y

L

Left

Y-Z plane towards the positive X

R

Right

Y-Z plane towards the negative Y

Element

Command

<center>

the center of each side it will align the viewport to the respective side

<edge>

the edge between two sides it will align the viewport at 45deg azimuthal between the two sides

<corners>

the corner from three sides it will align the viewport at 45deg azimuthal and 45deg polar between the 3 faces

<CW/CCW>

will perform a 90deg rotation clockwise or anti-clockwise versus the relative <w> vector (perpendicular to the screen)

<arrows>

move forward (right) or backward (left) in the view history of the viewport

<home>

will go the predefined system for each viewport

  • Red - Up

  • Green - Isometric

  • Blue - Right

  • Magenta - Front

<origin>

the origin-circle will move the viewport to 0,0,0

<x/y/z>

axis names, will align the clicked axis to become vertical or horizontal (what is nearest)

<MMB>

middle mouse button will toggle the trackball for orbiting the viewport

Previous Next