RadiologyViewGroup
Class representing a set of views typically available in radiology workstations.
Extends
Methods
| Method | Description |
|---|---|
| showData() | Appends data to the visible data on all compatible views of this group by calling showData() on them. |
| hideData() | Removes data from the set of visible data by calling hideData() on all specified views comprising this group. |
| visibleData() | Returns the union of the currently visible data in all views comprising this group. |
| setVisibleData() | Replace the visible data of all views with the one in datasets. |
| centerOnData() | Reset view matrices of MPR and 3D views so that they are centered on the provided data. |
| reset() | Reset all view settings of all views in this group to their default values. |
| onVisibleDataChanged() | Fires when the visible data changes. |
Inherited from ClassHandle
| 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. |
showData()
ts
Appends data to the visible data on all compatible views of this group by calling showData() on them.
Parameters
| Parameter | Type |
|---|---|
data | Data | null |
Returns
number
hideData()
ts
Removes data from the set of visible data by calling hideData() on all specified views comprising this group.
Parameters
| Parameter | Type |
|---|---|
data | Data | null |
Returns
void
visibleData()
ts
Returns the union of the currently visible data in all views comprising this group.
Returns
setVisibleData()
ts
Replace the visible data of all views with the one in datasets.
Parameters
| Parameter | Type |
|---|---|
datasets | Data[] |
Returns
void
centerOnData()
ts
Reset view matrices of MPR and 3D views so that they are centered on the provided data.
Parameters
| Parameter | Type |
|---|---|
data | Data |
Returns
void
reset()
ts
Reset all view settings of all views in this group to their default values.
Returns
void
onVisibleDataChanged()
ts
Fires when the visible data changes.
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | (before: HandleArray<Data>, after: HandleArray<Data>) => void | Called with the data arrays before and after the change. |
Returns
Unsubscribe function.
() => void