Package gov.nih.mipav.view.dialogs
Class InstanceVOI
java.lang.Object
gov.nih.mipav.view.dialogs.InstanceVOI
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
FieldsModifier and TypeFieldDescription(package private) JFileChooser(package private) String(package private) String(package private) String(package private) MyXMLHandler(package private) String(package private) Vector<WildMagic.LibFoundation.Mathematics.Vector3f> (package private) JTextFieldprivate final ViewUserInterfaceprivate static final StringThe W3C XML schema. -
Constructor Summary
ConstructorsConstructorDescriptionInstanceVOI(String _suffix, String fileNameFullPath) InstanceVOI(String _suffix, JTextField _textField) -
Method Summary
Modifier and TypeMethodDescriptionbooleanreadXML()Reads in the older VOI XML schema (using pixel coordinates)voidSelect either VOI file or Ply file.void
-
Field Details
-
fileName
String fileName -
directory
String directory -
imageFullName
String imageFullName -
file_suffix
String file_suffix -
textField
JTextField textField -
chooser
JFileChooser chooser -
UI
-
handler
MyXMLHandler handler -
myContourVector
Vector<WildMagic.LibFoundation.Mathematics.Vector3f> myContourVector -
W3C_XML_SCHEMA
The W3C XML schema.- See Also:
-
-
Constructor Details
-
InstanceVOI
-
InstanceVOI
-
-
Method Details
-
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
-