Catalano.Imaging.ActiveContour.Ovuscule
Class OvusculeSnake2DNode
- java.lang.Object
-
- Catalano.Core.DoublePoint
-
- Catalano.Imaging.ActiveContour.Ovuscule.OvusculeSnake2DNode
-
public class OvusculeSnake2DNode extends DoublePoint
This class is used to store the snake-defining parameters. It extends the capabilities of the classDoublePointby additional state variables.
-
-
Field Summary
Fields Modifier and Type Field and Description booleanfrozenMethods of the classOvusculeSnake2DKeeperare allowed to modifyOvusculeSnake2DNodeobjects only if theirfrozenflag is set tofalse.booleanhiddenMethods of the classOvusculeSnake2DKeeperare allowed to interactively display (as a cross) the nodes stored inOvusculeSnake2DNodeobjects only if theirhiddenflag is set tofalse.-
Fields inherited from class Catalano.Core.DoublePoint
x, y
-
-
Constructor Summary
Constructors Constructor and Description OvusculeSnake2DNode(double x, double y)This constructor builds a point that is initially neither frozen nor hidden.OvusculeSnake2DNode(double x, double y, boolean frozen, boolean hidden)This constructor builds a point with the given initial values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringtoString()-
Methods inherited from class Catalano.Core.DoublePoint
Add, Add, Add, DistanceTo, Divide, Divide, Divide, equals, hashCode, Multiply, Multiply, Multiply, setXY, Subtract, Subtract, Subtract, Swap, toFloatPoint, toIntPoint
-
-
-
-
Field Detail
-
frozen
public boolean frozen
Methods of the classOvusculeSnake2DKeeperare allowed to modifyOvusculeSnake2DNodeobjects only if theirfrozenflag is set tofalse.
-
hidden
public boolean hidden
Methods of the classOvusculeSnake2DKeeperare allowed to interactively display (as a cross) the nodes stored inOvusculeSnake2DNodeobjects only if theirhiddenflag is set tofalse.
-
-
Constructor Detail
-
OvusculeSnake2DNode
public OvusculeSnake2DNode(double x, double y)This constructor builds a point that is initially neither frozen nor hidden.- Parameters:
x- The horizontal coordinate.y- The vertical coordinate.
-
OvusculeSnake2DNode
public OvusculeSnake2DNode(double x, double y, boolean frozen, boolean hidden)This constructor builds a point with the given initial values.- Parameters:
x- The horizontal coordinate.y- The vertical coordinate.frozen- Set tofalseto allow methods of the classOvusculeSnake2DKeeperto modify this point. Set totrueotherwise.hidden- Set tofalseto allow methods of the classOvusculeSnake2DKeeperto display this point. Set totrueotherwise.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDoublePoint
-
-
DataMelt 3.0 © DataMelt by jWork.ORG