Package toxi.volume
Class MeshVoxelizer
java.lang.Object
toxi.volume.MeshVoxelizer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
int
setWallThickness
(int wallThickness) voxelizeMesh
(Mesh3D mesh) voxelizeMesh
(Mesh3D mesh, float iso)
-
Constructor Details
-
MeshVoxelizer
public MeshVoxelizer(int res) -
MeshVoxelizer
public MeshVoxelizer(int resX, int resY, int resZ)
-
-
Method Details
-
clear
-
getVolume
- Returns:
- the volume
-
getWallThickness
public int getWallThickness()- Returns:
- the wallThickness
-
setWallThickness
- Parameters:
wallThickness
- the wallThickness to set
-
voxelizeMesh
-
voxelizeMesh
-