toxi.volume
Class MeshVoxelizer

java.lang.Object
  extended by toxi.volume.MeshVoxelizer

public class MeshVoxelizer
extends java.lang.Object


Constructor Summary
MeshVoxelizer(int res)
           
MeshVoxelizer(int resX, int resY, int resZ)
           
 
Method Summary
 MeshVoxelizer clear()
           
 VolumetricSpace getVolume()
           
 int getWallThickness()
           
 MeshVoxelizer setWallThickness(int wallThickness)
           
 VolumetricSpace voxelizeMesh(toxi.geom.mesh.Mesh3D mesh)
           
 VolumetricSpace voxelizeMesh(toxi.geom.mesh.Mesh3D mesh, float iso)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeshVoxelizer

public MeshVoxelizer(int res)

MeshVoxelizer

public MeshVoxelizer(int resX,
                     int resY,
                     int resZ)
Method Detail

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(toxi.geom.mesh.Mesh3D mesh)

voxelizeMesh

public VolumetricSpace voxelizeMesh(toxi.geom.mesh.Mesh3D mesh,
                                    float iso)