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.PixelGridNode
east
private AlgorithmNetworkSnake.PixelGrid.PixelGridNode
north
private AlgorithmNetworkSnake.PixelGrid.PixelGridNode
south
private AlgorithmNetworkSnake.PixelGrid.PixelGridNode
west
private int
x
private int
y
-
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.PixelGridNode
getEast()
int
getNeighbourCount()
AlgorithmNetworkSnake.PixelGrid.PixelGridNode
getNorth()
AlgorithmNetworkSnake.PixelGrid.PixelGridNode
getSouth()
AlgorithmNetworkSnake.PixelGrid.PixelGridNode
getWest()
int
getX()
int
getY()
void
setEast(AlgorithmNetworkSnake.PixelGrid.PixelGridNode east)
void
setNorth(AlgorithmNetworkSnake.PixelGrid.PixelGridNode north)
void
setSouth(AlgorithmNetworkSnake.PixelGrid.PixelGridNode south)
void
setWest(AlgorithmNetworkSnake.PixelGrid.PixelGridNode west)
void
setX(int x)
void
setY(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()
-
-