ClassHandle
Base interface for JS handles that refer to underlying C++ objects.
See
Extended by
- AlgorithmList
- Algorithm
- Animation
- Annotation
- AnnotationModel
- Brush
- Camera
- Data
- ImageDescriptor
- ImageDescriptorWorld
- ImageInfo
- Image
- SharedImageSetList
- DataModel
- IntegerList
- LabelConfigMap
- View
- ViewList
- DisplayOptions2d
- DisplayOptions3d
- DisplayAutoLayouter
- RadiologyViewGroup
- RadiologyViewOverlays
- Display
- StringList
- GraphDisplayOptions
- AlignedBox
- GlViewState
- GlObject
- MenuItemList
- Menu
- MenuItem
- MenuAction
- MenuSeparator
- MeshDisplayOptions
- ExamplePropertiesUI
- TransferFunction
Methods
| Method | Description |
|---|---|
| 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. |
isAliasOf()
ts
isAliasOf(other: ClassHandle): boolean;Returns true if this handle and other alias the same underlying C++ object.
Parameters
| Parameter | Type |
|---|---|
other | ClassHandle |
Returns
boolean
delete()
ts
delete(): void;Releases this JavaScript handle.
Returns
void
deleteLater()
ts
deleteLater(): this;Schedules this handle for deferred deletion and returns this handle.
Returns
this
isDeleted()
ts
isDeleted(): boolean;Returns true if this handle has already been deleted.
Returns
boolean
[dispose]()
ts
dispose: void;Releases this handle when the enclosing scope exits, so a handle can be declared with using instead of calling delete() later manually.
Returns
void
clone()
ts
clone(): this;Returns a new JavaScript handle aliasing the same underlying C++ object.
Returns
this