ImFusion Web SDK

SliceView

A 2D MPR View.

Extends

Properties

PropertyTypeDescription
blendingModeSliceBlendingModeThe blending behavior of the underlying Slice when rendering multiple images.
blendingFactornumberThe blending factor in range 0..1 of the underlying Slice if applicable to the current blendingMode
interpolationModeSliceInterpolationModeThe interpolation mode of the underlying Slice's default renderer.

Methods

Inherited from View

MethodDescription
addObject()Add a custom GlObject to this view
removeObject()Remove a custom GlObject from this view
onVisibleDataChanged()Fires when the visible data in the view changes.
setBorderColor()Set the border color for this view.
screenshot()Creates a screenshot of the this view.
setBackgroundColor()Set the optional background color used to clear the viewport before rendering anything.

Inherited from ClassHandle

MethodDescription
isAliasOf()Returns true if this handle and other alias the same underlying C++ object.
delete()Releases this JavaScript handle.
deleteLater()Schedules this handle for deferred deletion and returns this handle.
isDeleted()Returns true if this handle has already been deleted.
[dispose]()Releases this handle when the enclosing scope exits, so a handle can be declared with using instead of calling delete() later manually.
clone()Returns a new JavaScript handle aliasing the same underlying C++ object.

On this page