Constructor
new Volume(voxels, colorsopt)
Constructs a new Volume object.
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
voxels |
ndarray.<Uint8Array>
|
ndarray with voxel data. | ||
colors |
ndarray.<Uint8Array>
|
null
|
<optional> |
null | ndarray filled with triplets of RGB color values. |