Skip to main content

Function: getVolumeDirectionVectors()

getVolumeDirectionVectors(imageData, camera): object

Calculates the volume direction vectors using the camera vectors.

Parameters

imageData: any

Volume's image data

camera: any

Camera

Returns

object

Direction vetors in world and index spaces

ijkVecColDir

ijkVecColDir: vec3

ijkVecRowDir

ijkVecRowDir: vec3

ijkVecSliceDir

ijkVecSliceDir: vec3

worldVecColDir

worldVecColDir: vec3

worldVecRowDir

worldVecRowDir: vec3

worldVecSliceDir

worldVecSliceDir: vec3

Defined in

packages/core/src/utilities/getVolumeDirectionVectors.ts:11