new DicomBufferToView()
- Source:
Create a dwv.image.View from a DICOM buffer.
Methods
abort()
- Source:
Abort a conversion.
convert(buffer, origin, dataIndex)
- Source:
Get data from an input buffer using a DICOM parser.
Parameters:
Name | Type | Description |
---|---|---|
buffer |
Array | The input data buffer. |
origin |
string | The data origin. |
dataIndex |
number | The data index. |
onabort(_event)
- Source:
Handle an abort event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The abort event. |
onerror(_event)
- Source:
Handle an error event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The error event. |
onload(_event)
- Source:
Handle a load event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The load event fired when a file has been loaded successfully. |
onloadend(_event)
- Source:
Handle a load end event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The load end event fired when a file load has completed, successfully or not. |
onloaditem(_event)
- Source:
Handle a load item event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The load item event. |
onloadstart(_event)
- Source:
Handle a load start event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The load start event. |
onprogress(_event)
- Source:
Handle a load progress event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The progress event. |
setOptions(opt)
- Source:
Set the converter options.
Parameters:
Name | Type | Description |
---|---|---|
opt |
object | The input options. |
(inner) generateImage(index, origin)
- Source:
Generate the image object.
Parameters:
Name | Type | Description |
---|---|---|
index |
number | The data index. |
origin |
string | The data origin. |
(inner) onDecodedItem(event)
- Source:
Handle a decoded item event.
Parameters:
Name | Type | Description |
---|---|---|
event |
object | The decoded item event. |