Package toxi.volume
Class MeshLatticeBuilder
java.lang.Object
toxi.volume.MeshLatticeBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionMeshLatticeBuilder(Vec3D scale, int res, float stroke) MeshLatticeBuilder(Vec3D scale, int resX, int resY, int resZ, FloatRange stroke) -
Method Summary
Modifier and TypeMethodDescriptionstatic WETriangleMeshbuild(WETriangleMesh mesh, int res, float stroke) static WETriangleMeshbuild(WETriangleMesh mesh, int res, FloatRange stroke) buildLattice(WETriangleMesh mesh, Mesh3D targetMesh, float isoValue) buildVolume(WETriangleMesh mesh) static VolumetricSpacebuildVolume(WETriangleMesh mesh, int res, float stroke) static VolumetricSpacebuildVolume(WETriangleMesh mesh, int res, FloatRange stroke) buildVolume(WETriangleMesh mesh, VolumetricBrush brush) voidcreateLattice(VolumetricBrush brush, Line3D l, float drawStep) floatvoidsetDrawStepLength(float drawStep) Sets the distance betweenVolumetricBrushpositions when tracing mesh edges.voidsetInputBounds(AABB box) voidsetMesh(WETriangleMesh mesh) voidsetVolume(VolumetricSpace volume) setVoxelRangeX(int min, int max) setVoxelRangeY(int min, int max) setVoxelRangeZ(int min, int max)
-
Constructor Details
-
MeshLatticeBuilder
-
MeshLatticeBuilder
-
-
Method Details
-
build
-
build
-
buildVolume
-
buildVolume
-
buildLattice
-
buildVolume
-
buildVolume
-
createLattice
-
getDrawStep
public float getDrawStep()- Returns:
- the drawStep
-
getVolume
- Returns:
- the volume
-
setDrawStepLength
public void setDrawStepLength(float drawStep) Sets the distance betweenVolumetricBrushpositions when tracing mesh edges.- Parameters:
drawStep- the drawStep to set
-
setInputBounds
-
setMesh
-
setVolume
- Parameters:
volume- the volume to set
-
setVoxelRangeX
-
setVoxelRangeY
-
setVoxelRangeZ
-