Class BinaryNode
java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.Poisson.Octree.BinaryNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final voidCenterAndWidth(int idx, float[] center, float[] width) static final voidCenterAndWidth(int depth, int offset, float[] center, float[] width) static final intCenterCount(int depth) static final intCornerIndex(int maxDepth, int depth, int offSet, int forwardCorner) static final floatCornerIndexPosition(int index, int maxDepth) static final intCumulativeCenterCount(int maxDepth) static final voidDepthAndOffset(int idx, int[] depth, int[] offset) static final intIndex(int depth, int offSet) static final floatWidth(int depth)
-
Constructor Details
-
BinaryNode
public BinaryNode()
-
-
Method Details
-
CenterCount
public static final int CenterCount(int depth) -
CumulativeCenterCount
public static final int CumulativeCenterCount(int maxDepth) -
Index
public static final int Index(int depth, int offSet) -
CornerIndex
public static final int CornerIndex(int maxDepth, int depth, int offSet, int forwardCorner) -
CornerIndexPosition
public static final float CornerIndexPosition(int index, int maxDepth) -
Width
public static final float Width(int depth) -
CenterAndWidth
public static final void CenterAndWidth(int depth, int offset, float[] center, float[] width) -
CenterAndWidth
public static final void CenterAndWidth(int idx, float[] center, float[] width) -
DepthAndOffset
public static final void DepthAndOffset(int idx, int[] depth, int[] offset)
-