Package snake2D
Class Snake2DKeeper
java.lang.Object
snake2D.Snake2DKeeper
This class encapsulates the interactive and managerial aspects of
snakes. It handles objects that implement the
Snake2D
interface.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinteractAndOptimize(Snake2D snake, ij.ImagePlus display) This method allows the user to alternate between interactive guiding of the snake and automatic optimization under control of the classSnake2DKeeper.
-
Constructor Details
-
Snake2DKeeper
public Snake2DKeeper()
-
-
Method Details
-
interactAndOptimize
This method allows the user to alternate between interactive guiding of the snake and automatic optimization under control of the classSnake2DKeeper.- Parameters:
snake- TheSnake2Dobject that will be manipulated.display- A mandatoryImagePlusobject over which the handles used to interactively manipulate the snake will be overlaid. The skin used to represent the snake will be overlaid on the same image.
-