Constructors
constructor
- new Volume(name: string, path: string, data: any, nx: any, ny: any, nz: any, atomindex: Int32Array): Volume
-
Parameters
-
name: string
-
path: string
-
data: any
-
nx: any
-
ny: any
-
nz: any
-
atomindex: Int32Array
Accessors
position
- get position(): Float32Array
Methods
_getBox
- _getBox(center: any, size: any): undefined | any[]
-
Parameters
Returns undefined
|
any[]
_makeSurface
- _makeSurface(sd: any, isolevel: any, smooth: any): Surface
-
Parameters
-
sd: any
-
isolevel: any
-
smooth: any
getBox
- getBox(center: any, size: any, target: any): any
-
Parameters
-
center: any
-
size: any
-
target: any
Returns any
getDataAtomindex
- getDataAtomindex(): undefined | Int32Array
-
Returns undefined
|
Int32Array
getDataColor
- getDataColor(params: any): Float32Array
-
Parameters
Returns Float32Array
getDataPosition
- getDataPosition(): Float32Array
getDataSize
- getDataSize(size: any, scale: any): number[] | Uint8Array | Int8Array | Int16Array | Int32Array | Uint16Array | Uint32Array | Float32Array | Uint8ClampedArray | Float64Array
-
Parameters
Returns number[]
|
Uint8Array
|
Int8Array
|
Int16Array
|
Int32Array
|
Uint16Array
|
Uint32Array
|
Float32Array
|
Uint8ClampedArray
|
Float64Array
getSigmaForValue
- getSigmaForValue(value: any): number
-
Parameters
Returns number
getSurface
- getSurface(isolevel: any, smooth: any, center: any, size: any, contour: any, wrap: any): Surface
-
Parameters
-
isolevel: any
-
smooth: any
-
center: any
-
size: any
-
contour: any
-
wrap: any
getSurfaceWorker
- getSurfaceWorker(isolevel: any, smooth: any, center: any, size: any, contour: any, wrap: any, callback: any): void
-
Parameters
-
isolevel: any
-
smooth: any
-
center: any
-
size: any
-
contour: any
-
wrap: any
-
callback: any
Returns void
getValueForSigma
- getValueForSigma(sigma: any): number
-
Parameters
Returns number
setAtomindex
- setAtomindex(atomindex: Int32Array): undefined
-
Parameters
Returns undefined
setData
- setData(data: any, nx: any, ny: any, nz: any, atomindex: Int32Array): undefined
-
Parameters
-
data: any
-
nx: any
-
ny: any
-
nz: any
-
atomindex: Int32Array
Returns undefined
setMatrix
- setMatrix(matrix: Matrix4): undefined
-
Parameters
Returns undefined
setStats
- setStats(min: undefined | number, max: undefined | number, mean: undefined | number, rms: undefined | number): void
-
Parameters
-
min: undefined | number
-
max: undefined | number
-
mean: undefined | number
-
rms: undefined | number
Returns void
Volume