ZipMultiDataSetWriter
Introduction
vtkZipMultiDataSetWriter writes all of its inputs into a single zip archive holding a datasets.json metadata file alongside one binary file per data array. The archive is readable by vtkZipMultiDataSetReader.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkZipMultiDataSetWriter 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 | IZipMultiDataSetWriterInitialValues | No | (default: {}) |
getBlob
Get the zip produced by the last call to write().
getCompressionLevel
newInstance
Method used to create a new instance of vtkZipMultiDataSetWriter
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IZipMultiDataSetWriterInitialValues | No | for pre-setting some of its content |
requestData
| Argument | Type | Required | Description |
|---|---|---|---|
inData | Yes | ||
outData | Yes |
setCompressionLevel
| Argument | Type | Required | Description |
|---|---|---|---|
compressionLevel | Number | Yes |
write
Serialize every input dataset then zip the result into a Blob reachable through getBlob().