Specifies the event listener
Specifies the reference to HtmlElement
VolumeDataContext instance used to rendering purpose
render engine type
This is an asynchronous method that returns a Promise as follows:
Promise .then(void) .catch (err: ReturnCode )
render engine type
This is an asynchronous method that returns a Promise as follows:
Promise .then(void) .catch (err: ReturnCode )
Specifies the boolean flag to toggle
true if annotations are to be displayed, false otherwise
Specifies the toggle boolean flag
Set to true to display frames per seoond in the viewport, false to hide it
Specifies the toggle boolean flag
to true to display image markers in the viewport, false to hide it
Specifies the toggle boolean flag
Specifies the image data
Specifies the image width
Specifies the image height
Specifies the image type
boolean flag that specifies whether the image to be render as png or not
Specifies Dicom image data
context used to render
dicom image to be rendered
width of the image
height of the image
dicom tag data
context fetched from canvas
data to be rendered on ruler
Returns RenderParams3D
HTML element associated with this viewport
Returns the HTMLViewportGroup instance
Returns Html element name in success case
Returns the HtmlViewportAdaptors
Returns RenderEngineContext3D instance
Returns true if viewport scaling is on, false otherwise.
Returns series data context
Returns true if the series data context is valid and matching with the given series instance uid
Returns true if the series data context is valid
Specifies the Mouse button to invoke this adapter
Specifies the Key modifier to invoke this Adapter
Returns the repaint able flag
raw image
width of the viewport
height of the viewport
image type
Specifies the boolean flag whether image rendered as png or not
dicom image
data to be processed
Projects the specific array of vectors into the scene and returns a correpsonding array of points.
This is an asynchronous method that returns a Promise as follows:
Promise .then(pointList : Array< Point >) .catch (err: ReturnCode )
callbackFunc(err: ReturnCode , pointList Point : Array< Point> )
3d cursor location
This will realign the viewport with the associated 3DCursor location
Specifies the event listener
This is a synchronous method and returns ReturnCode.ok on success.
This is a synchronous method and returns ReturnCode.ok on success.
Resizes this viewport element
Updated width of this viewport
Updated height of this viewport
This is a synchronous method and returns ReturnCode.ok on success.
Updated width of this viewport
Updated height of this viewport
udpdate the zoom level
flag that mention maximum zoom level or not
This is a synchronous method and returns ReturnCode.ok on success.
path and filename of the XML file to load. This will be relative to the FoviaWebSDK.EXE directory, or can be an absolute path
This is an asynchronous method that returns a Promise as follows:
Promise .then(void) .catch (err: ReturnCode )
callbackFunc(err: ReturnCode , void)
While this does not provide a return value, the application will be notified once the preset has been applied and rendered
Specifies the reference to MouseAdaptorInterface
Specifies the Mouse button to invoke this adapter
Specifies the Key modifier to invoke this Adapter
Specifies the reference to TouchAdaptorInterface
Specifies the touch event to invoke this adapter
Specifies the render type
Specifies the htmlViewportGroup instance
Specifies the mouse adapter id
Specifies the reference to mouse button to invoke this adapter
Specifies the Key modifier to invoke this adapter
Specifies the view type
Specifies the keyboard characters
Specifies the MouseAdaptorInterface reference
Specifies the reference to TouchAdaptorInterface
If true, do image rescaling. If false, render image at acutal size.
Specifies the reference to TouchAdaptorInterface
Specifies the touch event to invoke this adapter
Specifies the view type
Shoots ray into the screen from an array of points, and returns a correpsonding array of RayStopInfo objects.
Array of Vectors to project into the scene. At most 20 points can be passed at one time.
This is an asynchronous method that returns a Promise as follows:
Promise .then(rayStopInfoList : Array< RayStopInfo>) .catch (err: ReturnCode )
callbackFunc(err: ReturnCode , rayStopInfoList : Array< RayStopInfo> )
Converts a 3D point in patient coordinates to a point on the screen. The returned value will have projection plane coordinates for x and y. In z offset from the projection plane is communicated. The extra parameters should be taken directly from the current RenderParams3D, except for spacingX, which is the X spacing from the VolumeDataContext.
Extends the HTMLViewport3D class with specific routines to faciliate easier display and navigation of MPR views