Class FilePolylineVOIXML


public class FilePolylineVOIXML extends FileXML
  • Field Details

    • W3C_XML_SCHEMA

      private static final String W3C_XML_SCHEMA
      The W3C XML schema.
      See Also:
    • fileDir

      private String fileDir
      File directory where the VOI is to read or written.
    • fileName

      private String fileName
      File name of the VOI.
    • box

      float[] box
    • direction

      int[] direction
    • origin

      float[] origin
    • inverseDicomArray

      double[][] inverseDicomArray
    • flip

      boolean flip
  • Constructor Details

  • Method Details

    • readVOI

      public Vector<WildMagic.LibFoundation.Mathematics.Vector3f> readVOI(boolean doLabel) throws IOException
      This method read a VOI file that has been saved in the MIPAV VOI format.
      Parameters:
      doLabel - boolean telling to read the files as VOITexts (labels)
      Returns:
      the VOI read off the disk
      Throws:
      IOException - if there is an error reading the file
    • getBox

      public float[] getBox()
    • getDirection

      public int[] getDirection()
    • getOrigin

      public float[] getOrigin()
    • getInverseDicomArray

      public double[][] getInverseDicomArray()
    • getFlip

      public boolean getFlip()
    • readXML

      private boolean readXML(Vector<WildMagic.LibFoundation.Mathematics.Vector3f> coordVector)