Package toxi.volume
Class MeshLatticeBuilder
java.lang.Object
toxi.volume.MeshLatticeBuilder
-
Constructor Summary
ConstructorDescriptionMeshLatticeBuilder
(Vec3D scale, int res, float stroke) MeshLatticeBuilder
(Vec3D scale, int resX, int resY, int resZ, FloatRange stroke) -
Method Summary
Modifier and TypeMethodDescriptionstatic WETriangleMesh
build
(WETriangleMesh mesh, int res, float stroke) static WETriangleMesh
build
(WETriangleMesh mesh, int res, FloatRange stroke) buildLattice
(WETriangleMesh mesh, Mesh3D targetMesh, float isoValue) buildVolume
(WETriangleMesh mesh) static VolumetricSpace
buildVolume
(WETriangleMesh mesh, int res, float stroke) static VolumetricSpace
buildVolume
(WETriangleMesh mesh, int res, FloatRange stroke) buildVolume
(WETriangleMesh mesh, VolumetricBrush brush) void
createLattice
(VolumetricBrush brush, Line3D l, float drawStep) float
void
setDrawStepLength
(float drawStep) Sets the distance betweenVolumetricBrush
positions when tracing mesh edges.void
setInputBounds
(AABB box) void
setMesh
(WETriangleMesh mesh) void
setVolume
(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 betweenVolumetricBrush
positions when tracing mesh edges.- Parameters:
drawStep
- the drawStep to set
-
setInputBounds
-
setMesh
-
setVolume
- Parameters:
volume
- the volume to set
-
setVoxelRangeX
-
setVoxelRangeY
-
setVoxelRangeZ
-