Class InstanceVOI


  • class InstanceVOI
    extends java.lang.Object
    The VOI instance holds the file name and directory name for each type of the VOIs (Axial, Sagittal, Coronal) Additionally, myContourVector is the chunk vector to hold the 3D coordinate points of VOIs for each type. We assume only read XML type ( voi_coord.xsd ) voi file.
    • Constructor Summary

      Constructors 
      Constructor Description
      InstanceVOI​(java.lang.String _suffix, java.lang.String fileNameFullPath)  
      InstanceVOI​(java.lang.String _suffix, javax.swing.JTextField _textField)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean readXML()
      Reads in the older VOI XML schema (using pixel coordinates)
      void selectFile()
      Select either VOI file or Ply file.
      void setFileName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fileName

        java.lang.String fileName
      • directory

        java.lang.String directory
      • imageFullName

        java.lang.String imageFullName
      • file_suffix

        java.lang.String file_suffix
      • textField

        javax.swing.JTextField textField
      • chooser

        javax.swing.JFileChooser chooser
      • myContourVector

        java.util.Vector<WildMagic.LibFoundation.Mathematics.Vector3f> myContourVector
      • W3C_XML_SCHEMA

        private static final java.lang.String W3C_XML_SCHEMA
        The W3C XML schema.
        See Also:
        Constant Field Values
    • Constructor Detail

      • InstanceVOI

        public InstanceVOI​(java.lang.String _suffix,
                           javax.swing.JTextField _textField)
      • InstanceVOI

        public InstanceVOI​(java.lang.String _suffix,
                           java.lang.String fileNameFullPath)
    • Method Detail

      • selectFile

        public void selectFile()
        Select either VOI file or Ply file.
      • setFileName

        public void setFileName()
      • readXML

        public boolean readXML()
        Reads in the older VOI XML schema (using pixel coordinates)
        Parameters:
        voi - VOI
        Returns:
        boolean