plugins.big.bigsnake.io
Class IOXMLUtils

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

public class IOXMLUtils
extends java.lang.Object

Class that provides loading and exporting capabilities to the snake.

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

Constructor Summary
IOXMLUtils()
          Default constructor.
 
Method Summary
 plugins.big.bigsnakeutils.shape.priorshapes.shapes.Custom loadPriorShapeFromXML()
          Opens a dialog to select an XML file, and loads all a prior shape.
 java.util.ArrayList<SnakeKeeper> loadSnakesFromXML(ImageLUTContainer imageLUT, BIGSnake mainPlugin)
          Opens a dialog to select an XML file, and loads all the snakes in the active Sequence.
 void saveSnakesToXML(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

IOXMLUtils

public IOXMLUtils()
Default constructor.

Method Detail

saveSnakesToXML

public void saveSnakesToXML(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 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 java.util.ArrayList<SnakeKeeper> loadSnakesFromXML(ImageLUTContainer imageLUT,
                                                          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