Constructor.
viewer object
Optional
theId: stringid of object (if it is not provided - will be generated automatically)
Optional
thePrefix: stringReturn object's global RGB color defined as OccViewer.ColorString
Set object's global color or empty string to unset.
Get object id as string.
Return TRUE if object with specified Id exists.
Return TRUE if object with specified Id has deferred data loaded.
Return object's selectable status.
Set object's selectable status.
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.
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.
Interactive Object to be displayed in the Viewer. This class stores a weak reference to the real object in memory identified by a string id. User might specify id explicitly at construction time or rely on an id generated from loaded file URL. Beware to use unique ids - creating multiple objects with the same id will result in logical issues!
Usual lifetime of the object: