Class AdvancingFront
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.BallPivoting.AdvancingFront
-
- Direct Known Subclasses:
AdvancingFront.AdvancingTest,BallPivoting
public abstract class AdvancingFront extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classAdvancingFront.AdvancingTest
-
Constructor Summary
Constructors Constructor Description AdvancingFront(TriMesh _mesh)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanaddFace()protected voidaddFace(int v0, int v1, int v2)protected voidaddVertex(Vertex vertex)voidbuildMesh()protected booleancheckEdge(int v0, int v1)protected booleancheckFrontEdge(int v0, int v1)protected voidcomputeNormalizedNormal(Face f)protected voidcreateLoops()protected voiddetach(int v)protected voiderase(FrontEdge e)protected booleanglue(FrontEdge e)protected booleanglue(FrontEdge a, FrontEdge b)protected voidkillEdge(FrontEdge e)protected voidmoveBack(FrontEdge e)protected voidmoveFront(FrontEdge e)protected FrontEdgenewEdge(FrontEdge e)protected Point3normalizedNoraml(Face f)protected abstract intplace(FrontEdge e, FrontEdge[] touch)abstract floatradi()protected abstract booleanseed(int[] v0, int[] v1, int[] v2)protected booleanseedFace()
-
-
-
Constructor Detail
-
AdvancingFront
public AdvancingFront(TriMesh _mesh)
-
-
Method Detail
-
radi
public abstract float radi()
-
buildMesh
public final void buildMesh()
-
seed
protected abstract boolean seed(int[] v0, int[] v1, int[] v2)
-
checkFrontEdge
protected final boolean checkFrontEdge(int v0, int v1)
-
createLoops
protected final void createLoops()
-
seedFace
protected final boolean seedFace()
-
addFace
public final boolean addFace()
-
addFace
protected final void addFace(int v0, int v1, int v2)
-
computeNormalizedNormal
protected final void computeNormalizedNormal(Face f)
-
addVertex
protected final void addVertex(Vertex vertex)
-
checkEdge
protected final boolean checkEdge(int v0, int v1)
-
killEdge
protected final void killEdge(FrontEdge e)
-
erase
protected final void erase(FrontEdge e)
-
moveBack
protected final void moveBack(FrontEdge e)
-
moveFront
protected final void moveFront(FrontEdge e)
-
glue
protected final boolean glue(FrontEdge e)
-
detach
protected final void detach(int v)
-
-