Empty constructor.
Optional
theId: stringReturn image active slice.
Set active slice index.
Return image axes.
Set image axes.
Return image brightness factor; 1.0 by default (no correction).
Set image brightness factor.
Return case side.
Return object's global RGB color defined as OccViewer.ColorString
Set object's global color or empty string to unset.
Return image depth.
Return image width height depth.
Return gamma correction factor; 1.0 by default (no correction).
Set gamma correction factor.
Return image height.
Get object id as string.
Return image name.
Return TRUE if object with specified Id exists.
Return TRUE if object with specified Id has deferred data loaded.
Get XRay lateral view flag.
Set XRay lateral view flag.
Return number if image slices within axial orientation.
Return number if image slices within frontal orientation.
Return number if image slices within sagittal orientation.
Return number if image slices within active orientation.
Get XRay orientation angles.
Set XRay orientation angles.
Return object's selectable status.
Set object's selectable status.
Return slice orientation.
Set slice orientation.
Return object's transparency within [0.0, 1.0]
range, or 0.0
if unspecified.
Set object's global transparency within [0.0, 1.0]
range, or 0.0
to unset.
Update the camera of view on axis rotation
Return object visibility state.
Set object visibility state.
Return view in which object is visible or NULL if it is not displayed or displayed in multiple views.
Set object to be visible only within specific view or all views (NULL) - view affinity. Note that visible still has to be set independently.
Return image width.
Protected
_cloneMake a copy of existing object with new id
Return slice index closest to specific 3D point, or -1 if point is outside of 3d image.
Protected
loadLoad mask data This method doesn't display the object in the Viewer - OccViewer.InteractiveObject.isVisible=true should be called after loading data completion.
the file URL address to read model from or empty string to load already opened model
FALSE if object was not found
Protected
loadOpen object from the given URL and register presentation(s) in the hidden (erased) state. If Interactive Object was created with empty id, it will be generated from the given URL.
The file will be loaded asynchronously. To remove file from file system you should call OccViewer.unlinkFile if it is no longer needed.
Depending on the file format, this method might read only a model structure without geometry - see InteractiveImage.loadUrlAsync. Warning! Displaying an object with not yet loaded geometry will produce errors!
the file URL address
FALSE if model cannot be opened
Protected
preload
Interactive Image Object.