Function: buildIndexSpaceSlab()
buildIndexSpaceSlab(
volume,planePoint,normal,referencePlaneThickness?,options?):IndexSpaceSlab
Builds the index space form of an annotation's slab.
Parameters
• volume: VolumeGeometry
Geometry of the volume being measured.
• planePoint: Point3
The annotation plane anchor, in world coordinates.
• normal: Point3
The annotation view plane normal. Must be unit length.
• referencePlaneThickness?: number
The thickness in mm, or null/undefined to default to one voxel.
• options? = {}
• options.columnAxis?: 0 | 1 | 2
Force which of the two non-outer axes carries the runs. Defaults to the lower-numbered of the two, so an acquisition-orientation volume emits runs along i for each j, matching row-major memory order.
• options.depthCoverage?: SlabDepthCoverage
Which voxels along the normal the slab
selects: 'overlapping', the default, takes every voxel whose box the
slab reaches, and 'centerInside' takes only the voxels whose centre the
slab contains. The half width and the depth interval both follow from it.
See SlabDepthCoverage.