Skip to content

copper3d / Modules / Loader/copperNrrdLoader / NrrdVolume

Interface: NrrdVolume ​

Loader/copperNrrdLoader.NrrdVolume

The NRRD volume this engine passes around: three.js's Volume plus the fields NRRDLoader.parse() attaches to it, with matrix widened to the 4x4 affine an NRRD actually carries -- three declares that member as a Matrix3.

Hierarchy ​

  • Omit<Volume, "matrix">

    ↳ NrrdVolume

Table of contents ​

Properties ​

Methods ​

Properties ​

RASDimensions ​

• RASDimensions: number[]

Defined in ​

src/Loader/copperNrrdLoader.ts:182


axisOrder ​

• axisOrder: ("x" | "y" | "z")[]

Inherited from ​

Omit.axisOrder

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:12


data ​

• data: TypedArray

Inherited from ​

Omit.data

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:14


dimensions ​

• dimensions: number[]

Defined in ​

src/Loader/copperNrrdLoader.ts:179


• header: any

Defined in ​

src/Loader/copperNrrdLoader.ts:177


inverseMatrix ​

• inverseMatrix: Matrix4

Defined in ​

src/Loader/copperNrrdLoader.ts:181


lowerThreshold ​

• lowerThreshold: number

Inherited from ​

Omit.lowerThreshold

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:21


matrix ​

• matrix: Matrix4

Defined in ​

src/Loader/copperNrrdLoader.ts:180


max ​

• max: number

Defined in ​

src/Loader/copperNrrdLoader.ts:184


min ​

• min: number

Defined in ​

src/Loader/copperNrrdLoader.ts:183


offset ​

• offset: number[]

Inherited from ​

Omit.offset

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:17


orientation ​

• orientation: VolumeOrientation

How the file reached the canonical voxel order, and its canonical grid in patient space.

Defined in ​

src/Loader/copperNrrdLoader.ts:188


segmentation ​

• segmentation: boolean

Defined in ​

src/Loader/copperNrrdLoader.ts:178


sliceList ​

• sliceList: VolumeSlice[]

Inherited from ​

Omit.sliceList

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:24


spacing ​

• spacing: number[]

Inherited from ​

Omit.spacing

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:16


upperThreshold ​

• upperThreshold: number

Inherited from ​

Omit.upperThreshold

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:22


windowHigh ​

• windowHigh: number

Defined in ​

src/Loader/copperNrrdLoader.ts:186


windowLow ​

• windowLow: number

Defined in ​

src/Loader/copperNrrdLoader.ts:185


xLength ​

• xLength: number

Inherited from ​

Omit.xLength

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:8


yLength ​

• yLength: number

Inherited from ​

Omit.yLength

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:9


zLength ​

• zLength: number

Inherited from ​

Omit.zLength

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:10

Methods ​

access ​

▸ access(i, j, k): number

Parameters ​

NameType
inumber
jnumber
knumber

Returns ​

number

Inherited from ​

Omit.access

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:27


computeMinMax ​

▸ computeMinMax(): number[]

Returns ​

number[]

Inherited from ​

Omit.computeMinMax

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:36


extractPerpendicularPlane ​

▸ extractPerpendicularPlane(axis, RASIndex): object

Parameters ​

NameType
axisstring
RASIndexnumber

Returns ​

object

Inherited from ​

Omit.extractPerpendicularPlane

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:32


extractSlice ​

▸ extractSlice(axis, index): VolumeSlice

Parameters ​

NameType
axisstring
indexnumber

Returns ​

VolumeSlice

Inherited from ​

Omit.extractSlice

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:33


getData ​

▸ getData(i, j, k): number

Parameters ​

NameType
inumber
jnumber
knumber

Returns ​

number

Inherited from ​

Omit.getData

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:26


map ​

▸ map(functionToMap, context): Volume

Parameters ​

NameType
functionToMap() => void
contextVolume

Returns ​

Volume

Inherited from ​

Omit.map

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:30


repaintAllSlices ​

▸ repaintAllSlices(): Volume

Returns ​

Volume

Inherited from ​

Omit.repaintAllSlices

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:35


reverseAccess ​

▸ reverseAccess(index): number[]

Parameters ​

NameType
indexnumber

Returns ​

number[]

Inherited from ​

Omit.reverseAccess

Defined in ​

node_modules/@types/three/examples/jsm/misc/Volume.d.ts:28