plugins.big.bigsnake.core
Class Snake2DClipboard

java.lang.Object
  extended by plugins.big.bigsnake.core.Snake2DClipboard

public class Snake2DClipboard
extends java.lang.Object

Container where the defining nodes and parameters of a snake can be stored.

Version:
May 3, 2014
Author:
Emrah Bostan (emrah.bostan@gmail.com), Ricard Delgado-Gonzalo (ricard.delgado@gmail.com)

Constructor Summary
Snake2DClipboard()
          Default constructor.
 
Method Summary
 plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom getCustomPriorShape()
          Returns the custom prior shape element.
 plugins.big.bigsnakeutils.icy.snake2D.Snake2DNode[] getSnakeNodes()
          Returns the spline control points of the snake.
 ESnakeParameters getSnakeParameters()
          Gets the execution parameters of the E-Snake.
 boolean isEmpty()
          Returns true if there are no snake nodes or snake parameters in the clipboard.
 void setCustomPriorShape(plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom customPriorShape)
          Sets the custom prior shape element.
 void setSnakeNodes(plugins.big.bigsnakeutils.icy.snake2D.Snake2DNode[] nodes)
          Sets the spline control points of the snake.
 void setSnakeParameters(ESnakeParameters parameters)
          Sets the execution parameters of the E-Snake.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Snake2DClipboard

public Snake2DClipboard()
Default constructor.

Method Detail

getCustomPriorShape

public plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom getCustomPriorShape()
Returns the custom prior shape element.


getSnakeNodes

public plugins.big.bigsnakeutils.icy.snake2D.Snake2DNode[] getSnakeNodes()
Returns the spline control points of the snake.


getSnakeParameters

public ESnakeParameters getSnakeParameters()
Gets the execution parameters of the E-Snake.


setCustomPriorShape

public void setCustomPriorShape(plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom customPriorShape)
Sets the custom prior shape element.


setSnakeNodes

public void setSnakeNodes(plugins.big.bigsnakeutils.icy.snake2D.Snake2DNode[] nodes)
Sets the spline control points of the snake.


setSnakeParameters

public void setSnakeParameters(ESnakeParameters parameters)
Sets the execution parameters of the E-Snake.


isEmpty

public boolean isEmpty()
Returns true if there are no snake nodes or snake parameters in the clipboard. Otherwise, it returns false