HDRReader
Introduction
vtkHDRReader is a source object that reads Radiance HDR files.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkHDRReader characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IHDRReaderInitialValues | No | (default: {}) |
getBaseURL
Get the base url.
getDataAccessHelper
Get the dataAccess helper.
getExposure
Get the exposure value parsed from the file header.
getGamma
Get the gamma value parsed from the file header.
getPixelAspect
Get the pixel aspect ratio parsed from the file header.
getUrl
Get the url of the object to load.
loadData
Load the object data.
| Argument | Type | Required | Description |
|---|---|---|---|
options | IHDRReaderOptions | No |
newInstance
Method used to create a new instance of vtkHDRReader
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IHDRReaderInitialValues | No | for pre-setting some of its content |
parse
Parse data.
| Argument | Type | Required | Description |
|---|---|---|---|
content | ArrayBuffer | Yes | The content to parse. |
parseAsArrayBuffer
Parse data as ArrayBuffer.
| Argument | Type | Required | Description |
|---|---|---|---|
content | ArrayBuffer | Yes | The content to parse. |
requestData
| Argument | Type | Required | Description |
|---|---|---|---|
inData | Yes | ||
outData | Yes |
setDataAccessHelper
| Argument | Type | Required | Description |
|---|---|---|---|
dataAccessHelper | Yes |
setUrl
Set the url of the object to load.
| Argument | Type | Required | Description |
|---|---|---|---|
url | String | Yes | the url of the object to load. |
option | IHDRReaderOptions | No | The PLY reader options. |