Class MarchingCubesRealType


  • public class MarchingCubesRealType
    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 Detail

      • MarchingCubesRealType

        public MarchingCubesRealType()
    • Method Detail

      • calculate

        public static <T extends RealType<T>> Mesh calculate​(RandomAccessibleInterval<T> input,
                                                             double isoLevel)
        Generates a Mesh surface from a RandomAccessibleInterval, containing all points with data value isolevel
        Type Parameters:
        T - the element type of input
        Parameters:
        input - the input RandomAccessibleInterval
        isoLevel - the value such that all locations on the output surface
        Returns:
        a Mesh containing the isosurface within input corresponding to isolevel
        Implementation Note:
        op names="geom.marchingCubes"