Specifies parameters for makeDefaultVolumeChunkSpecifications.

Hierarchy

Properties

baseVoxelOffset?: Float32Array

Specifies offset for use by backend.ts:GenericVolumeChunkSource.computeChunkBounds in calculating chunk voxel coordinates. The calculated chunk coordinates will be equal to the voxel position (in chunkLayout coordinates) plus this value.

Defaults to kZeroVec if not specified.

chunkDataSizes?: Uint32Array[]

Chunk sizes in voxels.

chunkLayoutPreference?: ChunkLayoutPreference

Preferred chunk layout, which determines chunk sizes to use if chunkDataSizes is not specified.

chunkToMultiscaleTransform: Float32Array

Transform from chunk space to the multiscale volume space. Homogeneous (rank + 1) * (rank + 1) matrix in column-major order.

chunkToViewTransform?: Float32Array

If specified, must be equal to the product of chunkToMultiscaleTransform and multiscaleToViewTransform.

compressedSegmentationBlockSize?: vec3

If set, indicates that the chunk is in compressed segmentation format with the specified block size.

dataType: DataType
lowerVoxelBound?: Float32Array

If not specified, defaults to an all-zero vector. This determines lowerChunkBound. If this is not a multiple of chunkDataSize, then voxels at lower positions may still be requested.

maxBlockSize?: Uint32Array
maxCompressedSegmentationBlockSize?: vec3
minBlockSize?: Uint32Array
rank: number
upperVoxelBound: Float32Array

Exclusive upper bound in "chunk" coordinate space, in voxels. This determines upperChunkBound.

volumeSourceOptions: VolumeSourceOptions
volumeType: VolumeType

Volume type.

Generated using TypeDoc