Specifies constructor parameters for VolumeChunkSpecification.

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.

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.

rank: number
upperVoxelBound: Float32Array

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

Generated using TypeDoc