|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecticy.plugin.abstract_.Plugin
icy.plugin.abstract_.PluginActionable
plugins.big.bigsnake3d.BIGSnake3D
public class BIGSnake3D
Main class of the Active Cells 3D plug-in.
Constructor Summary | |
---|---|
BIGSnake3D()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
activateSnake(SnakeKeeper keeper)
Makes a particular snake active and responsive to interaction. |
void |
activeSequenceChanged(icy.sequence.SequenceEvent event)
Gets an event when a Sequence has changed. |
void |
activeViewerChanged(icy.gui.viewer.ViewerEvent event)
Gets an event when a Viewer has changed. |
void |
declareInput(plugins.adufour.blocks.util.VarList inputMap)
Declares the input parameters of the block. |
void |
declareOutput(plugins.adufour.blocks.util.VarList outputMap)
Declares the output parameters of the block. |
boolean |
isActiveSnake(SnakeKeeper keeper)
Returns true if SnakeKeeper passed is the
active one. |
void |
keyPressed(java.awt.event.KeyEvent e)
Interactions with respect to KeyEvent to detect the COPY and
PASTE commands, and to translate the snake using the keyboard arrows. |
void |
keyReleased(java.awt.event.KeyEvent e)
Gets an event when a key is released. |
void |
keyTyped(java.awt.event.KeyEvent e)
Gets an event when a key is typed. |
void |
loadSnakeParametersFromInterface()
Retrieves the snake parameters from the GUI and sets them to the active snake. |
void |
loadSnakesFromBinaryImage()
Creates a new snake from a binary mask. |
void |
loadSnakesFromXML()
Load the snakes from an XML file. |
void |
rasterizeActiveSnake()
|
void |
run()
Method executed when launching the plug-in. |
void |
saveSnakesToBinaryImage()
Saves the snakes to a binary mask. |
void |
saveSnakesToXML()
Saves the snakes to an XML file. |
void |
sequenceActivated(icy.sequence.Sequence sequence)
Gets an event when a Sequence has been activated (focused). |
void |
sequenceClosed(icy.sequence.Sequence sequence)
Gets an event when a Sequence has been closed. |
void |
sequenceDeactivated(icy.sequence.Sequence sequence)
Gets an event when a Sequence has been deactivated (lost
focus). |
void |
sequenceOpened(icy.sequence.Sequence sequence)
Gets an event when a Sequence has been opened. |
void |
setDisplaySettings(DisplaySettings displaySettings)
|
void |
terminatePlugin()
Prepares the plug-in to be terminated. |
void |
viewerActivated(icy.gui.viewer.Viewer viewer)
Gets an event when a Viewer has been activated (focused). |
void |
viewerClosed(icy.gui.viewer.Viewer viewer)
Gets an event when a Viewer has been closed. |
void |
viewerDeactivated(icy.gui.viewer.Viewer viewer)
Gets an event when a Viewer has been deactivated (lost
focus). |
void |
viewerOpened(icy.gui.viewer.Viewer viewer)
Gets an event when a Viewer has been opened. |
Methods inherited from class icy.plugin.abstract_.PluginActionable |
---|
compute |
Methods inherited from class icy.plugin.abstract_.Plugin |
---|
addIcyFrame, addSequence, getActiveImage, getActiveSequence, getActiveViewer, getDescriptor, getFocusedImage, getFocusedSequence, getFocusedViewer, getIconResource, getImageResource, getInstallFolder, getName, getOwnerClassName, getPlugin, getPreferences, getPreferencesRoot, getResource, getResourceAsStream, getResources, getSequences, isBundled, loadLibrary, removeSequence, report, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BIGSnake3D()
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in interface plugins.adufour.blocks.lang.Block
public void terminatePlugin()
public boolean isActiveSnake(SnakeKeeper keeper)
true
if SnakeKeeper
passed is the
active one.
public void activateSnake(SnakeKeeper keeper)
public void loadSnakeParametersFromInterface()
public void loadSnakesFromBinaryImage()
public void loadSnakesFromXML()
public void saveSnakesToBinaryImage()
public void saveSnakesToXML()
public void rasterizeActiveSnake()
public void setDisplaySettings(DisplaySettings displaySettings)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void activeSequenceChanged(icy.sequence.SequenceEvent event)
Sequence
has changed.
activeSequenceChanged
in interface icy.gui.main.ActiveSequenceListener
public void sequenceActivated(icy.sequence.Sequence sequence)
Sequence
has been activated (focused).
sequenceActivated
in interface icy.gui.main.ActiveSequenceListener
public void sequenceDeactivated(icy.sequence.Sequence sequence)
Sequence
has been deactivated (lost
focus).
sequenceDeactivated
in interface icy.gui.main.ActiveSequenceListener
public void activeViewerChanged(icy.gui.viewer.ViewerEvent event)
Viewer
has changed.
activeViewerChanged
in interface icy.gui.main.ActiveViewerListener
public void viewerActivated(icy.gui.viewer.Viewer viewer)
Viewer
has been activated (focused).
viewerActivated
in interface icy.gui.main.ActiveViewerListener
public void viewerDeactivated(icy.gui.viewer.Viewer viewer)
Viewer
has been deactivated (lost
focus).
viewerDeactivated
in interface icy.gui.main.ActiveViewerListener
public void sequenceOpened(icy.sequence.Sequence sequence)
Sequence
has been opened.
sequenceOpened
in interface icy.gui.main.GlobalSequenceListener
public void sequenceClosed(icy.sequence.Sequence sequence)
Sequence
has been closed.
sequenceClosed
in interface icy.gui.main.GlobalSequenceListener
public void viewerOpened(icy.gui.viewer.Viewer viewer)
Viewer
has been opened.
viewerOpened
in interface icy.gui.main.GlobalViewerListener
public void viewerClosed(icy.gui.viewer.Viewer viewer)
Viewer
has been closed.
viewerClosed
in interface icy.gui.main.GlobalViewerListener
public void keyPressed(java.awt.event.KeyEvent e)
KeyEvent
to detect the COPY and
PASTE commands, and to translate the snake using the keyboard arrows.
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void declareInput(plugins.adufour.blocks.util.VarList inputMap)
declareInput
in interface plugins.adufour.blocks.lang.Block
public void declareOutput(plugins.adufour.blocks.util.VarList outputMap)
declareOutput
in interface plugins.adufour.blocks.lang.Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |