Serialized Form


Package snake2D

Class snake2D.Snake2DNode extends java.awt.geom.Point2D.Double implements Serializable

serialVersionUID: 1L

Serialized Fields

frozen

boolean frozen
Methods of the class Snake2DKeeper are allowed to modify Snake2DNode objects only if their frozen flag is set to false.


hidden

boolean hidden
Methods of the class Snake2DKeeper are allowed to interactively display (as a cross) the nodes stored in Snake2DNode objects only if their hidden flag is set to false.

Class snake2D.Snake2DScale extends java.awt.Polygon implements Serializable

serialVersionUID: 1L

Serialized Fields

bestAttemptColor

java.awt.Color bestAttemptColor
This is the color with which this scale will be drawn if it is part of the optimal skin found so far in the course of the optimization. It is also the color with which it will be drawn during the interactive session. If bestAttempt is null, the color returned by the method ij.gui.PolygonRoi.getColor() will be used instead.


currentAttemptColor

java.awt.Color currentAttemptColor
This is the color with which this scale will be drawn if it is part of the skin being currently examined in the course of the optimization. It is ignored during the interactive session. If currentAttempt is null, the color that is most complementary to the color returned by the method ij.gui.PolygonRoi.getColor() will be used instead.


closed

boolean closed
This flag is used to determine how to draw the outline of this scale. If it is set to true, then the first and the last point of the polygon are joined. Otherwise, if it is set to false, then the first and the last point of the polygon are not joined. A closed scale can be filled.

See Also:
filled

filled

boolean filled
This flag is used to determine how to draw the interior of this scale. If it is set to true, then the scale is filled. Otherwise, if it is set to false, then only the outline of the scale is drawn. The status of this flag is honored only when the scale is closed, as indicated by the closed flag.

See Also:
closed