Package net.imglib2.mesh.alg
Class MarchingCubesBooleanType
- java.lang.Object
-
- net.imglib2.mesh.alg.MarchingCubesBooleanType
-
public class MarchingCubesBooleanType extends Object
This is a marching cubes implementation. It is inspired by Paul Bourke's implementation. Especially the lookup tables are from his implementation.- Author:
- Tim-Oliver Buchholz (University of Konstanz), Tobias Pietzsch
-
-
Constructor Summary
Constructors Constructor Description MarchingCubesBooleanType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends BooleanType<T>>
Meshcalculate(RandomAccessibleInterval<T> input)Generates aMeshsurface from aRandomAccessibleInterval, containing all points with data valuetruestatic <T extends BooleanType<T>>
Meshcompute(RandomAccessibleInterval<T> input, Mesh output)
-
-
-
Method Detail
-
calculate
public static <T extends BooleanType<T>> Mesh calculate(RandomAccessibleInterval<T> input)
Generates aMeshsurface from aRandomAccessibleInterval, containing all points with data valuetrue- Type Parameters:
T- the element type ofinput- Parameters:
input- the inputRandomAccessibleInterval- Returns:
- a
Meshdescribing a surface withininputof alltruepoints. - Implementation Note:
- op names="geom.marchingCubes", priority="100."
-
compute
public static <T extends BooleanType<T>> Mesh compute(RandomAccessibleInterval<T> input, Mesh output)
-
-