Package gov.nih.mipav.view.dialogs
Class InstanceVOI
- java.lang.Object
-
- gov.nih.mipav.view.dialogs.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.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JFileChooser
chooser
(package private) java.lang.String
directory
(package private) java.lang.String
file_suffix
(package private) java.lang.String
fileName
(package private) MyXMLHandler
handler
(package private) java.lang.String
imageFullName
(package private) java.util.Vector<WildMagic.LibFoundation.Mathematics.Vector3f>
myContourVector
(package private) javax.swing.JTextField
textField
private ViewUserInterface
UI
private static java.lang.String
W3C_XML_SCHEMA
The 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 boolean
readXML()
Reads in the older VOI XML schema (using pixel coordinates)void
selectFile()
Select either VOI file or Ply file.void
setFileName()
-
-
-
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
-
-