Package gov.nih.mipav.model.algorithms
Class AlgorithmNetworkSnake.PixelGrid.PixelGridNode
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.AlgorithmNetworkSnake.PixelGrid.PixelGridNode
-
- Enclosing class:
- AlgorithmNetworkSnake.PixelGrid
public class AlgorithmNetworkSnake.PixelGrid.PixelGridNode extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private AlgorithmNetworkSnake.PixelGrid.PixelGridNodeeastprivate AlgorithmNetworkSnake.PixelGrid.PixelGridNodenorthprivate AlgorithmNetworkSnake.PixelGrid.PixelGridNodesouthprivate AlgorithmNetworkSnake.PixelGrid.PixelGridNodewestprivate intxprivate inty
-
Constructor Summary
Constructors Constructor Description PixelGridNode(int x, int y, AlgorithmNetworkSnake.PixelGrid.PixelGridNode North, AlgorithmNetworkSnake.PixelGrid.PixelGridNode South, AlgorithmNetworkSnake.PixelGrid.PixelGridNode East, AlgorithmNetworkSnake.PixelGrid.PixelGridNode West)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmNetworkSnake.PixelGrid.PixelGridNodegetEast()intgetNeighbourCount()AlgorithmNetworkSnake.PixelGrid.PixelGridNodegetNorth()AlgorithmNetworkSnake.PixelGrid.PixelGridNodegetSouth()AlgorithmNetworkSnake.PixelGrid.PixelGridNodegetWest()intgetX()intgetY()voidsetEast(AlgorithmNetworkSnake.PixelGrid.PixelGridNode east)voidsetNorth(AlgorithmNetworkSnake.PixelGrid.PixelGridNode north)voidsetSouth(AlgorithmNetworkSnake.PixelGrid.PixelGridNode south)voidsetWest(AlgorithmNetworkSnake.PixelGrid.PixelGridNode west)voidsetX(int x)voidsetY(int y)
-
-
-
Field Detail
-
north
private AlgorithmNetworkSnake.PixelGrid.PixelGridNode north
-
south
private AlgorithmNetworkSnake.PixelGrid.PixelGridNode south
-
east
private AlgorithmNetworkSnake.PixelGrid.PixelGridNode east
-
west
private AlgorithmNetworkSnake.PixelGrid.PixelGridNode west
-
x
private int x
-
y
private int y
-
-
Constructor Detail
-
PixelGridNode
public PixelGridNode(int x, int y, AlgorithmNetworkSnake.PixelGrid.PixelGridNode North, AlgorithmNetworkSnake.PixelGrid.PixelGridNode South, AlgorithmNetworkSnake.PixelGrid.PixelGridNode East, AlgorithmNetworkSnake.PixelGrid.PixelGridNode West)
-
-
Method Detail
-
getNorth
public AlgorithmNetworkSnake.PixelGrid.PixelGridNode getNorth()
-
setNorth
public void setNorth(AlgorithmNetworkSnake.PixelGrid.PixelGridNode north)
-
getSouth
public AlgorithmNetworkSnake.PixelGrid.PixelGridNode getSouth()
-
setSouth
public void setSouth(AlgorithmNetworkSnake.PixelGrid.PixelGridNode south)
-
getEast
public AlgorithmNetworkSnake.PixelGrid.PixelGridNode getEast()
-
setEast
public void setEast(AlgorithmNetworkSnake.PixelGrid.PixelGridNode east)
-
getWest
public AlgorithmNetworkSnake.PixelGrid.PixelGridNode getWest()
-
setWest
public void setWest(AlgorithmNetworkSnake.PixelGrid.PixelGridNode west)
-
getX
public int getX()
-
setX
public void setX(int x)
-
getY
public int getY()
-
setY
public void setY(int y)
-
getNeighbourCount
public int getNeighbourCount()
-
-