Package gov.nih.mipav.model.algorithms
Class AlgorithmNetworkSnake.SnakeInitialiser.Node
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.AlgorithmNetworkSnake.SnakeInitialiser.Node
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- AlgorithmNetworkSnake.SnakeInitialiser
public class AlgorithmNetworkSnake.SnakeInitialiser.Node extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private AlgorithmNetworkSnake.AnchorPosition
anchor
private java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node>
junctionNeighbours
private java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node>
neighbours
private int
x
private int
y
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmNetworkSnake.SnakeInitialiser.Node
clone()
AlgorithmNetworkSnake.AnchorPosition
getAnchor()
java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node>
getJunctionNeighbours()
java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node>
getNeigbours()
int
getNeighbourCount()
int
getX()
int
getY()
void
setAnchor(AlgorithmNetworkSnake.AnchorPosition anchor)
void
setJunctionNeighbours(java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node> junctionNeighbours)
void
setNeighbours(java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node> neighbours)
void
setX(int x)
void
setY(int y)
-
-
-
Field Detail
-
x
private int x
-
y
private int y
-
neighbours
private java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node> neighbours
-
junctionNeighbours
private java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node> junctionNeighbours
-
anchor
private AlgorithmNetworkSnake.AnchorPosition anchor
-
-
Method Detail
-
getX
public int getX()
-
setX
public void setX(int x)
-
getY
public int getY()
-
setY
public void setY(int y)
-
getNeigbours
public java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node> getNeigbours()
-
setNeighbours
public void setNeighbours(java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node> neighbours)
-
getJunctionNeighbours
public java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node> getJunctionNeighbours()
-
setJunctionNeighbours
public void setJunctionNeighbours(java.util.ArrayList<AlgorithmNetworkSnake.SnakeInitialiser.Node> junctionNeighbours)
-
getAnchor
public AlgorithmNetworkSnake.AnchorPosition getAnchor()
-
setAnchor
public void setAnchor(AlgorithmNetworkSnake.AnchorPosition anchor)
-
getNeighbourCount
public int getNeighbourCount()
-
clone
public AlgorithmNetworkSnake.SnakeInitialiser.Node clone()
- Overrides:
clone
in classjava.lang.Object
-
-