Skip to content

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.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIHDRReaderInitialValuesNo(default: {})

getBaseURL

Get the base url.

getDataAccessHelper

Get the dataAccess helper.

getUrl

Get the url of the object to load.

loadData

Load the object data.

ArgumentTypeRequiredDescription
optionsIHDRReaderOptionsNo

newInstance

Method used to create a new instance of vtkHDRReader

ArgumentTypeRequiredDescription
initialValuesIHDRReaderInitialValuesNofor pre-setting some of its content

parse

Parse data.

ArgumentTypeRequiredDescription
contentArrayBufferYesThe content to parse.

parseAsArrayBuffer

Parse data as ArrayBuffer.

ArgumentTypeRequiredDescription
contentArrayBufferYesThe content to parse.

requestData

ArgumentTypeRequiredDescription
inDataYes
outDataYes

setDataAccessHelper

ArgumentTypeRequiredDescription
dataAccessHelperYes

setUrl

Set the url of the object to load.

ArgumentTypeRequiredDescription
urlStringYesthe url of the object to load.
optionIHDRReaderOptionsNoThe PLY reader options.