Interface: VoxelInShape
One voxel visited by iterateVoxelsInShape.
The arrays are reused between iterations so that iterating a large ROI
does not allocate three arrays per voxel. Copy anything you intend to retain.
iterateVoxelsInShape is a generator, so a consumer that reads the fields and
moves on - which is what a statistics accumulator does - never notices.
Properties
center
center:
Point3
Voxel centre in world coordinates. Reused; copy to retain.
Defined in
packages/core/src/utilities/voxelSlab/iterateVoxelsInShape.ts:23
depth
depth:
number
Signed distance from the annotation plane along the normal.
Defined in
packages/core/src/utilities/voxelSlab/iterateVoxelsInShape.ts:25
ijk
ijk:
Point3
Voxel index. Reused; copy to retain.
Defined in
packages/core/src/utilities/voxelSlab/iterateVoxelsInShape.ts:21