12 Plug-in Reference
433
NeptuneLabs - FSI Viewer
12.16 Measure
Plug-in Extends:
• FSI Viewer
• FSI Showcase
23 mm, 230,5°
?
100%
Plug-in Location:
/plugins/measure.swf
Function
:
Provides distance and angle measuring
Syntax:
<Plugin src="measure" />
The Measure plug-in provides an additional mouse mode which enables the user to
measure distances and angles inside the FSI Viewer by clicking & dragging.
Pressing SHIFT locks the angle to 45 degree steps.
Pressing CTRL moves the measurement line.
Mouse Mode
The mouse mode id for the measuring mode is 100.
You can use this id to set the InitialMouseMode parameter of the FSI Viewer.
e.g.
<InitialMouseMode value="100" />
or
?cfg=foo&InitialMouseMode=100
Setting up the Plug-in
The Measure Plug-in requires the real width of the entire image to enable distance
measuring.
Example 1:
If you already know the entire width of the image simply add the "ImageWidth" and
the "Suffix" parameter to the plug-in tag:
If the width of the entire image is 120.5 inches the corresponding plug-in tag looks
as follows:
<plugin src="measure" ImageWidth="120.5" Suffix=" inches" />