Package toxi.volume

Class MeshVoxelizer

java.lang.Object
toxi.volume.MeshVoxelizer

public class MeshVoxelizer extends Object
  • Constructor Details

    • MeshVoxelizer

      public MeshVoxelizer(int res)
    • MeshVoxelizer

      public MeshVoxelizer(int resX, int resY, int resZ)
  • Method Details

    • clear

      public MeshVoxelizer clear()
    • getVolume

      public VolumetricSpace getVolume()
      Returns:
      the volume
    • getWallThickness

      public int getWallThickness()
      Returns:
      the wallThickness
    • setWallThickness

      public MeshVoxelizer setWallThickness(int wallThickness)
      Parameters:
      wallThickness - the wallThickness to set
    • voxelizeMesh

      public VolumetricSpace voxelizeMesh(Mesh3D mesh)
    • voxelizeMesh

      public VolumetricSpace voxelizeMesh(Mesh3D mesh, float iso)