Class MarchingSquares
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.Poisson.MarchingCubes.MarchingSquares
-
public class MarchingSquares extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int[]
edgeMask
static int[][]
edges
static int
MAX_EDGES
static double[][]
vertexList
-
Constructor Summary
Constructors Constructor Description MarchingSquares()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
AddEdgeIndices(double[] v, double iso, int[] isoIndices)
static int
AddEdges(double[] v, double iso, Edge[] isoEdges)
static int
GetIndex(double[] v, double iso)
static double
Interpolate(double v1, double v2)
static boolean
IsAmbiguous(double[] v, double isoValue)
static void
SetVertex(int e, double[] values, double iso)
-
-
-
Field Detail
-
MAX_EDGES
public static final int MAX_EDGES
- See Also:
- Constant Field Values
-
vertexList
public static double[][] vertexList
-
edgeMask
public static final int[] edgeMask
-
edges
public static final int[][] edges
-
-
Method Detail
-
GetIndex
public static int GetIndex(double[] v, double iso)
-
IsAmbiguous
public static boolean IsAmbiguous(double[] v, double isoValue)
-
AddEdges
public static int AddEdges(double[] v, double iso, Edge[] isoEdges)
-
AddEdgeIndices
public static int AddEdgeIndices(double[] v, double iso, int[] isoIndices)
-
SetVertex
public static void SetVertex(int e, double[] values, double iso)
-
Interpolate
public static double Interpolate(double v1, double v2)
-
-