Skip to content

Function: getMaxSliceIndex()

ts
function getMaxSliceIndex(space, viewAxis): number;

Defined in: src/geometry/SliceHelpers.ts:41

Get the maximum valid slice index for a given view and space

Parameters

space

NeuroSpace

The NeuroSpace

viewAxis

AxisSet3D

The viewing orientation

Returns

number

The maximum valid slice index

Released under the MIT License.