Package gov.nih.mipav.view.dialogs
Class InstanceVOI
- java.lang.Object
-
- gov.nih.mipav.view.dialogs.InstanceVOI
-
class InstanceVOI extends java.lang.ObjectThe 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.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JFileChooserchooser(package private) java.lang.Stringdirectory(package private) java.lang.Stringfile_suffix(package private) java.lang.StringfileName(package private) MyXMLHandlerhandler(package private) java.lang.StringimageFullName(package private) java.util.Vector<WildMagic.LibFoundation.Mathematics.Vector3f>myContourVector(package private) javax.swing.JTextFieldtextFieldprivate ViewUserInterfaceUIprivate static java.lang.StringW3C_XML_SCHEMAThe W3C XML schema.
-
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 booleanreadXML()Reads in the older VOI XML schema (using pixel coordinates)voidselectFile()Select either VOI file or Ply file.voidsetFileName()
-
-
-
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
-
UI
private final ViewUserInterface UI
-
handler
MyXMLHandler handler
-
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
-
-