Introduction
vtkTIFFReader is a source object that reads TIFF files.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkTIFFReader 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 |
ITIFFReaderInitialValues | No | (default: {}) |
getBaseURL
Get the base url.
getDataAccessHelper
Get the dataAccess helper.
getFlipY
Get if the image is flipped vertically.
getUrl
Get the url of the object to load.
loadData
Load the object data.
Argument | Type | Required | Description |
---|---|---|---|
options |
ITIFFReaderOptions | No |
newInstance
Method used to create a new instance of vtkTIFFReader
Argument | Type | Required | Description |
---|---|---|---|
initialValues |
ITIFFReaderInitialValues | 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 |
setFlipY
Flip the image vertically.
Argument | Type | Required | Description |
---|---|---|---|
flipY |
String | Yes | If true, flip the image vertically. |
setUrl
Set the url of the object to load.
Argument | Type | Required | Description |
---|---|---|---|
url |
String | Yes | the url of the object to load. |
option |
ITIFFReaderOptions | No | The PLY reader options. |
Source
import { vtkAlgorithm, vtkObject } from '../../../interfaces'; |
import macro from 'vtk.js/Sources/macros'; |