Constructor
(abstract) new ColorableAlgorithm(optionsopt)
Create new colorable algorithm.
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
options |
Object
|
<optional> |
{} | Algorithm options. |
Extends
Members
options :Object
Default algorithm options merged with user specific options.
- Overrides:
- Source:
- See:
-
- defaults for options.
Type:
-
Object
Methods
sample(object, resolution) → {Volume}
Samples a mesh based 3D object into voxels.
- Overrides:
- Source:
Parameters:
Name | Type | Description |
---|---|---|
object |
Mesh
|
Object3D
|
mesh based 3D object. |
resolution |
number
|
resolution of voxelization. |