2 FSI Viewer JS
77
NeptuneLabs - FSI Viewer
strViewString
getViewString();
Returns the string representing the current image section
and rotation. The format is: SceneSet, Scene, left, top, right,
bottom
SceneSet is 1 for rotations around one axis
Scene describes the rotation. If you use 36 images for a spin,
scene 18 means a rotation of 180 degree.
left, top, right, bottom: image coordinates in the range [0.0
to 1.0].
bSuccess
gotoViewString(strViewString, bAnimated);
Display the image section and rotation as specified by
"strViewString".
Please refer to the description of the "getViewString"
method for a format description.
The boolean "bAnimated" can be used to specify, wether the
view should be displayed immediately or in form of an
animated movement from the current view to the specified
view.
strViewString
getHotspotViewString(nHotspotID)
returns the view string for the given hotspot.
FSIHotspotID is the consecutive number of the Hotspot
(1,2,3,..)
bSuccess
gotoHotspot(FSIHotspotID, bAnimate)
displays the image section as specified by the Hotspot.
FSIHotspotID is the consecutive number of the Hotspot
(1,2,3,..)
The boolean "bAnimated" can be used to specify, wether the
view should be displayed immediately or in form of an
animated movement from the current view to the specified
view.