Catalano.Imaging.ActiveContour.Ovuscule
Class OvusculeSnake2DScale
- java.lang.Object
-
- Catalano.Imaging.ActiveContour.Ovuscule.OvusculeSnake2DScale
-
public class OvusculeSnake2DScale extends java.lang.ObjectUsed to store the scales that are used to draw the skin of the snake.
-
-
Field Summary
Fields Modifier and Type Field and Description ColorbestAttemptColorThis 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.booleanclosedThis flag is used to determine how to draw the outline of this scale.ColorcurrentAttemptColorThis 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.booleanfilledThis flag is used to determine how to draw the interior of this scale.
-
Constructor Summary
Constructors Constructor and Description OvusculeSnake2DScale()OvusculeSnake2DScale(Color bestAttemptColor, Color currentAttemptColor, boolean closed, boolean filled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringtoString()
-
-
-
Field Detail
-
bestAttemptColor
public 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.
-
currentAttemptColor
public 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.
-
closed
public boolean closed
This flag is used to determine how to draw the outline of this scale. If it is set totrue, then the first and the last point of the polygon are joined. Otherwise, if it is set tofalse, then the first and the last point of the polygon are not joined. A closed scale can be filled.
-
filled
public boolean filled
This flag is used to determine how to draw the interior of this scale. If it is set totrue, then the scale is filled. Otherwise, if it is set tofalse, 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 theclosedflag.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG