Implementation of AIS_RotationMode
.
Implementation of AIS_SelectionScheme
.
Implementation of Aspect_TypeOfLine
.
Canvas element for OpenGL context.
Implementation of DisplayMode
.
Implementation of Graphic3d_TypeOfLightSource
.
Implementation of IObservableCallback
type.
Implementation of IPromise
type.
Implementation of Observable
.
Implementation of Slice_TypeOfPlane
.
Implementation of ViewCorner
.
Implementation of ViewManager
.
Get animation manager.
animation manager
Get clipping plane controller - a global clipping plane object that could be applied to entire view or specific objects. Global clipping plane object is always defined, but disabled by default.
clipping plane controller.
Get collision manager.
collision manager
Get event manager - an interface for subscribing and unsubscribing to various callbacks (like selection changes).
selection manager.
Get explode view controller - a global explode view object that could be applied to entire view or specific objects. Global explode view object is always defined, but disabled by default.
explode view controller.
Get input bindings
input bindings object
Get Interactive Context - a low-level manager of interactive objects in the Viewer. See also OccViewer.InteractiveObject and it's subclasses for object-oriented interface to this functionality.
interactive context.
Get interactive contour controller
interactive contour controller
Get interactive line controller
interactive line controller
Get interactive plane controller - an interface responsible for managing interactive planes.
interactive plane controller
Get interactive point controller
interactive point controller
Get interactive line controller
interactive line controller
Gets multi threading is on; requires WASM module built with pthread support (OccViewer.isAllowMultithreading and OccViewer.isPthreadLoaded.
Enable/disable multi threading; has no effect if loaded WASM module was built without pthread support (OccViewer.isAllowMultithreading and OccViewer.isPthreadLoaded).
Check if pthread version of viewer is loaded.
Check if WASM module has been loaded.
Get lights controller - an interface for managing list of active light sources and other lighting properties.
lights controller.
Returns manipulator object - an auxiliary presentation object for interactive movements of presentations in the Viewer.
Get model loader - an interface for loading models from various file formats. See also OccViewer.InteractiveMesh for object-oriented interface to this functionality.
model loader.
Get PMI controller - a low-level manager of PMI interactive objects. See also OccViewer.TextLabel and OccViewer.LengthDimension for object-oriented interface to PMI functionality.
PMI controller.
Get Property manager - an interface for accessing properties of model objects. See also OccViewer.InteractiveMesh for object-oriented interface to this functionality.
property manager object
Get Ray casting controller.
Get renderingParams controller - an interface for querying and changing various rendering properties.
rendering controller
Get selection manager - an interface for managing the list of selected objects and various selection properties.
selection manager.
Get Slicer controller - an interface for managing creating slices.
view cube controller
Get gravity level for logging messages. Consider increasing the level within production application environment to log only critical errors.
lower message gravity to log
Set gravity level for logging messages.
lower message gravity to log
Get subview manager.
subview manager object
Make screenshot and download.
of screenshot which will be downloaded
of screenshot (-1 - take size of canvas)
of screenshot (-1 - take size of canvas)
view ID (-1 for active view)
final image will be in grayscale (false as default)
true if success
Make screenshot image.
of screenshot (-1 - take size of canvas)
of screenshot (-1 - take size of canvas)
view ID (-1 for active view)
final image will be in grayscale (false as default)
return image as base64 string (false as default)
Uint8Array or base64 string of image or null if failed
Pick 3d point by 2d coordinates and store.
x coordinate of canvas
y coordinate of canvas
when TRUE, the result point will lie on picking ray
view to pick in (null for main view)
3d coordinate or null in case if nothing picked
C++ Message::Send()
callback redirecting to Terminal.
text to print
message gravity within 0..4 range
Register font (file in TTF format). This should be done before displaying text labels using this font, otherwise a fallback font will be used instead.
font name or empty string to keep name from file itself
override existing font family
Static
on
Base class for OccViewer Module object.