plugins.big.bigsnake.io
Class IOXML

java.lang.Object
  extended by plugins.big.bigsnake.io.IOXML

public class IOXML
extends java.lang.Object

Class that provides loading and exporting capabilities to the snake.

Version:
October 31, 2014
Author:
Nicolas Chenouard (nicolas.chenouard@gmail.com), Ricard Delgado-Gonzalo (ricard.delgado@gmail.com), Daniel Schmitter (daniel.schmitter@epfl.ch)

Constructor Summary
IOXML()
           
 
Method Summary
static plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom loadPriorShapeFromXML()
          Opens a dialog to select an XML file, and loads all a prior shape.
static java.util.ArrayList<plugins.big.bigsnake.keeper.SnakeKeeper> loadSnakesFromXML(plugins.big.bigsnake.core.ImageLUTContainer imageLUT, plugins.big.bigsnake.BIGSnake mainPlugin)
          Opens a dialog to select an XML file, and loads all the snakes in the active Sequence.
static void saveSnakesToXML(plugins.big.bigsnake.core.ImageLUTContainer imageLUT)
          Opens a dialog and saves all the snakes in the active Sequence in an XML file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOXML

public IOXML()
Method Detail

saveSnakesToXML

public static void saveSnakesToXML(plugins.big.bigsnake.core.ImageLUTContainer imageLUT)
                            throws java.lang.Exception
Opens a dialog and saves all the snakes in the active Sequence in an XML file.

Throws:
java.lang.Exception

loadPriorShapeFromXML

public static plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom loadPriorShapeFromXML()
                                                                                       throws java.lang.Exception
Opens a dialog to select an XML file, and loads all a prior shape.

Throws:
java.lang.Exception

loadSnakesFromXML

public static java.util.ArrayList<plugins.big.bigsnake.keeper.SnakeKeeper> loadSnakesFromXML(plugins.big.bigsnake.core.ImageLUTContainer imageLUT,
                                                                                             plugins.big.bigsnake.BIGSnake mainPlugin)
                                                                                      throws java.lang.Exception
Opens a dialog to select an XML file, and loads all the snakes in the active Sequence.

Throws:
java.lang.Exception