Skip to content

copper3d / Modules / Loader/copperNrrdLoader

Module: Loader/copperNrrdLoader

Table of contents

Interfaces

Functions

Functions

addBoxHelper

addBoxHelper(scene, volume, boxCube?): void

Parameters

NameType
scenecopperScene
volumeany
boxCube?Object3D<Object3DEventMap>

Returns

void

Defined in

src/Loader/copperNrrdLoader.ts:435


copperNrrdLoader

copperNrrdLoader(url, loadingBar, segmentation, callback?, opts?): void

Parameters

NameType
urlstring
loadingBarloadingBarType
segmentationboolean
callback?(volume: any, nrrdMeshes: nrrdMeshesType, nrrdSlices: nrrdSliceType, gui?: GUI) => void
opts?optsType

Returns

void

Defined in

src/Loader/copperNrrdLoader.ts:38


copperNrrdTexture3dLoader

copperNrrdTexture3dLoader(url, scene, container, callback?): void

Parameters

NameType
urlstring
sceneScene
containerHTMLDivElement
callback?(volume: any, gui?: GUI) => void

Returns

void

Defined in

src/Loader/copperNrrdLoader.ts:177


getWholeSlices

getWholeSlices(nrrdSlices, scene, gui, controls): void

Parameters

NameType
nrrdSlicesnrrdSliceType
sceneScene
guiGUI
controlsCopper3dTrackballControls

Returns

void

Defined in

src/Loader/copperNrrdLoader.ts:335