Newer
Older
HuangJiPC / public / static / three / examples / jsm / loaders / NRRDLoader.d.ts
@zhangdeliang zhangdeliang on 21 Jun 546 bytes update
import {
	Material,
	LoadingManager,
	Group
} from '../../../src/Three';

import {
	Volume
} from '../misc/Volume';

export class NRRDLoader {

	constructor( manager?: LoadingManager );
	manager: LoadingManager;
	path: string;

	fieldFunctions: object;

	load( url: string, onLoad: ( group: Volume ) => void, onProgress?: ( event: ProgressEvent ) => void, onError?: ( event: ErrorEvent ) => void ): void;
	parse( data: string ) : Volume;
	parseChars( array: number[], start?: number, end?: number ) : string;
	setPath( value: string ) : this;

}