Module: Scientific Scalebar ()

Description:

This is an experimental module from the Xtra Library: https://xtras.amira-avizo.com.

This Xtra displays a 2D scale bar on top of the rendering area. The Xtra actually wraps a Scalebars module from which the relevant parameters are exposed and set to display a scale bar suitable for scientific publications. The location and size of the scale bar can be controlled by the ports.

Ports:

Labeling Options

Unit

Units label (e.g., meters, mm, etc.) that is displayed at the axes. Note that the value of this port will not be editable when the units management is activated in the preferences. In this case, the unit will be set to the global display coordinates one.

Color

Color of the coordinate system.

LineWidth

Line width of axes and tick marks.

Font

Font type, size (in points) and color of displayed text (units and numbers).

Position and Size

PosX

The position of the origin (fraction of horizontal size of the viewing area).

PosY

The position of the origin (fraction of vertical size of the viewing area).

SizeX

Maximum size of the coordinate system (fraction of viewport size).

Custom Size

Custom Size

If custom size is ON, the module scales things to get ``nice'' numbers (no fractions) and port xFactor is enabled. Otherwise, scale bars screen size is fixed in pixel size.

XFactor

Multiplicative factor of horizontal displayed text value. Default value is 1. This is used to add a virtual scale, /eg convert pixel size to model size.