Function: extractSliceForView()
ts
function extractSliceForView(
space,
sliceIndex,
_viewAxis): NeuroSpace;Defined in: src/geometry/SliceHelpers.ts:15
Extract a slice space for a specific view orientation
Parameters
space
The 3D NeuroSpace to extract from
sliceIndex
number
The index of the slice to extract
_viewAxis
The viewing orientation (retained for API consistency)
Returns
A 2D NeuroSpace representing the slice