NeptuneLabs FSI Viewer JS User Manual page 77

Table of Contents

Advertisement

2 FSI Viewer JS
strViewString
bSuccess
strViewString
bSuccess
77
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].
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.
getHotspotViewString(nHotspotID)
returns the view string for the given hotspot.
FSIHotspotID is the consecutive number of the Hotspot
(1,2,3,..)
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.
NeptuneLabs - FSI Viewer

Advertisement

Table of Contents
loading

Table of Contents