|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplugins.big.bigsnake.keeper.SnakeKeeper
public class SnakeKeeper
Class that takes care of the synchronization of the snake optimization and the display.
| Field Summary | |
|---|---|
ESnake |
snake_
The snake associated to this SnakeKeeper. |
| Constructor Summary | |
|---|---|
SnakeKeeper(icy.sequence.Sequence sequence,
ESnake snake,
BIGSnake mainPlugin)
Default. |
|
| Method Summary | |
|---|---|
void |
activateSnake()
Activates the snake associate to this SnakeKeeper. |
void |
deactivateSnake()
Deactivates the snake associate to this SnakeKeeper. |
plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom |
getCustomPriorShape()
|
ESnakeParameters |
getESnakeParameters()
|
java.lang.String |
getID()
Returns the unique identifier of this SnakeKeeper. |
plugins.big.bigsnakeutils.icy.snake2D.Snake2DNode[] |
getNodesCopy()
Returns a copy of the snake-defining nodes of this SnakeKeeper. |
icy.sequence.Sequence |
getSequence()
Returns the Sequence object to which the keeper is attached
to. |
void |
removeFromSequence()
Removes the ROI from the Sequence. |
void |
roiChanged(icy.roi.ROIEvent event)
|
void |
setID(java.lang.String id)
|
void |
setSelected(boolean selected)
|
void |
setSnakeEditMode(SnakeEditMode editingMode)
|
void |
setSnakeParameters(ESnakeParameters snakeParameters,
plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom customPriorShape)
Updates the parameters of the snake. |
void |
shiftSnake(int dx,
int dy)
Applies a shift on the position of the snake. |
void |
startOptimization()
Launches the optimization procedure in a new thread. |
void |
stopOptimization()
Stops the optimization procedure. |
void |
update(java.util.Observable observable,
java.lang.Object object)
Update the ROIs from the scales. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ESnake snake_
SnakeKeeper.
| Constructor Detail |
|---|
public SnakeKeeper(icy.sequence.Sequence sequence,
ESnake snake,
BIGSnake mainPlugin)
| Method Detail |
|---|
public void activateSnake()
SnakeKeeper.
public void deactivateSnake()
SnakeKeeper.
public plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom getCustomPriorShape()
public ESnakeParameters getESnakeParameters()
public java.lang.String getID()
SnakeKeeper.
public plugins.big.bigsnakeutils.icy.snake2D.Snake2DNode[] getNodesCopy()
SnakeKeeper.
public icy.sequence.Sequence getSequence()
Sequence object to which the keeper is attached
to.
public void removeFromSequence()
Sequence.
public void roiChanged(icy.roi.ROIEvent event)
roiChanged in interface icy.roi.ROIListenerpublic void setID(java.lang.String id)
public void setSelected(boolean selected)
public void setSnakeEditMode(SnakeEditMode editingMode)
public void setSnakeParameters(ESnakeParameters snakeParameters,
plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom customPriorShape)
public void shiftSnake(int dx,
int dy)
public void startOptimization()
public void stopOptimization()
public void update(java.util.Observable observable,
java.lang.Object object)
update in interface java.util.Observer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||