Interface: IndexSpaceSlab
The slab of Rule M expressed in index space.
The depth test is exactly linear in the integer voxel indices, which is what lets the iterator emit exact runs rather than test every voxel:
depth(p) = (centre - planePoint) . n = p . g + c0
g = Mᵀ n (the index space normal, deliberately not normalised)
c0 = (origin - planePoint) . n
Iteration nests outer -> row -> column. Derivation and axis roles:
docs/docs/concepts/cornerstone-tools/annotation/voxel-statistics.md.
Properties
c0
c0:
number
c0, the world depth of index (0, 0, 0).
Defined in
packages/core/src/utilities/voxelSlab/indexSpaceSlab.ts:34
columnAxis
columnAxis:
0|1|2
Runs are emitted along this axis, innermost.
Defined in
packages/core/src/utilities/voxelSlab/indexSpaceSlab.ts:49
g
g:
Point3
g, the unnormalised index space normal.
Defined in
packages/core/src/utilities/voxelSlab/indexSpaceSlab.ts:32
halfWidth
halfWidth:
number
The strict half width the depth must fall inside, already tightened by the
epsilon. Test Math.abs(depth) < halfWidth.
Defined in
packages/core/src/utilities/voxelSlab/indexSpaceSlab.ts:43
outerAxis
outerAxis:
0|1|2
argmax |g|. Swept outermost.
Defined in
packages/core/src/utilities/voxelSlab/indexSpaceSlab.ts:45
referencePlaneThickness
referencePlaneThickness:
number
The resolved reference plane thickness.
Defined in
packages/core/src/utilities/voxelSlab/indexSpaceSlab.ts:38
rowAxis
rowAxis:
0|1|2
Swept in the middle loop.
Defined in
packages/core/src/utilities/voxelSlab/indexSpaceSlab.ts:47
voxelThickness
voxelThickness:
number
The voxel thickness along the normal.