Skip navigation links
B C D I M R S V 

B

BoundaryFaces - Class in voxellib
This class containing the algorithms for generating quad meshes from boolean voxel data.
BoundaryFaces(Consumer<float[]>) - Constructor for class voxellib.BoundaryFaces
The constructor takes a functional interface of type Consumer<float[]>.

C

calculate(float) - Method in class voxellib.aux.VoxelDataAdapter
Calculate the mesh corresponding to the level value.
calculate(float[][][], int, int, int) - Method in class voxellib.MarchingCube
Given a grid cell and a level, calculate the triangular facets required to represent the isosurface through the cell.
calculateFaces(float[][], MarchingSquare.Winding) - Method in class voxellib.MarchingSquare
It calculates the boundary and triangulates the area inside or larger than the given level.
calculateLines(float[][]) - Method in class voxellib.MarchingSquare
It calculates the boundary and emits the vertices forming line segments through the the Consumer<float[]> vertexEmiter field.

D

draw() - Method in class voxellib.aux.VoxelDataAdapter
calls the draw() method of the voxellib.Mesh
draw() - Method in class voxellib.Mesh
It draws the mesh using PApplet.

I

increaseLevel() - Method in class voxellib.aux.VoxelDataFromSlices
increases the level at which calls to set() will operate.
Isosurface - Class in voxellib
A class containing the algorithms for generating triangular meshes from float voxel data.
Isosurface(Consumer<float[]>) - Constructor for class voxellib.Isosurface
The constructor takes a functional interface of type Consumer<float[]>.

M

makeFromVoxels(float[][][], float, float) - Method in class voxellib.Isosurface
Generates a mesh made out of triangular faces from voxel data consisting of a three dimensional array of float values.
makeFromVoxels(boolean[][][], float) - Method in class voxellib.Mesh
Generates a mesh made of quads from voxel data consisting of a three dimensional array of boolean values.
makeFromVoxels(float[][][], float, float) - Method in class voxellib.Mesh
Generates a mesh made out of triangular faces from from voxel data consisting of a three dimensional array of float values.
makeQuadsFromVoxels(boolean[][][], float) - Method in class voxellib.BoundaryFaces
Generates a mesh made out of quads from voxel data in the form of a three dimensional array of booleans.
MarchingCube - Class in voxellib
A class implementing the classic marching cube algorithm with look-up tables.
MarchingCube(float, Consumer<float[]>) - Constructor for class voxellib.MarchingCube
The constructor takes a functional interface of type Consumer<float[]>.
MarchingSquare - Class in voxellib
An implementation of the marching squares using look-up tables.
MarchingSquare(float, Consumer<float[]>) - Constructor for class voxellib.MarchingSquare
The constructor takes a functional interface of type Consumer<float[]>.
MarchingSquare.Winding - Enum in voxellib
 
Mesh - Class in voxellib
A class to generate meshes from voxel data, render and save them in .stl (sterolithography) binary format.
Mesh(PApplet) - Constructor for class voxellib.Mesh
Constructor.

R

resetLevel() - Method in class voxellib.aux.VoxelDataFromSlices
It resets the level at which calls to set() work to 0.

S

saveAsStl(String) - Method in class voxellib.aux.VoxelDataAdapter
calls the saveAsStl() method of the voxellib.Mesh
saveAsStl(String) - Method in class voxellib.Mesh
This saves the mesh as a binary .stl (sterolithography) file, that can be used for 3D printing or otherwise to open in a modelling or CAD package.
set(int, int, int, float) - Method in class voxellib.aux.VoxelDataAdapter
Used to set values of individual voxels
set(int, int, float) - Method in class voxellib.aux.VoxelDataFromSlices
Used to set values of individual voxels at the current level

V

valueOf(String) - Static method in enum voxellib.MarchingSquare.Winding
Returns the enum constant of this type with the specified name.
values() - Static method in enum voxellib.MarchingSquare.Winding
Returns an array containing the constants of this enum type, in the order they are declared.
VoxelDataAdapter - Class in voxellib.aux
A Class providing a simple apapter to a 3 dimensional array of floats and a voxellib.Mesh.
VoxelDataAdapter(PApplet, int, int, int) - Constructor for class voxellib.aux.VoxelDataAdapter
The Constructor.
VoxelDataFromSlices - Class in voxellib.aux
A Class that extends VoxelDataAdapter in order to easily fill it with two dimensional slices of data stacked on each other.
VoxelDataFromSlices(PApplet, int, int, int) - Constructor for class voxellib.aux.VoxelDataFromSlices
Constructor.
voxellib - package voxellib
 
voxellib.aux - package voxellib.aux
 
B C D I M R S V 
Skip navigation links

Processing Library voxellib by Pablo Miranda Carranza. (c) 2017