|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhmi.rad.medic.utilities.MedicUtil
public class MedicUtil
A collection of utilities for I/O, GUI, interface with MIPAV, etc.
Field Summary | |
---|---|
protected static boolean |
quiet
The quiet. |
Constructor Summary | |
---|---|
MedicUtil()
|
Method Summary | |
---|---|
static void |
displayError(java.lang.String message)
Display error. |
static void |
displayMessage(java.lang.String message)
Display message. |
static ViewUserInterface |
getUI()
Singleton method to get User Interface. |
static boolean |
isQuiet()
Checks if is quiet. |
static void |
setQuiet(boolean q)
Sets the quiet. |
static void |
updateFileInfo(FileInfoBase info,
ModelImage resultImage)
Copy important file information between ModelImage structures, assuming all slices have same properties (uses only the first slice from the source). |
static void |
updateFileInfo(ModelImage image,
ModelImage resultImage)
Copy important file information between ModelImage structures, assuming all slices have same properties (uses only the first slice from the source). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static boolean quiet
Constructor Detail |
---|
public MedicUtil()
Method Detail |
---|
public static void setQuiet(boolean q)
q
- the new quietpublic static boolean isQuiet()
public static ViewUserInterface getUI()
public static void displayMessage(java.lang.String message)
message
- the messagepublic static void displayError(java.lang.String message)
message
- the messagepublic static final void updateFileInfo(ModelImage image, ModelImage resultImage)
image
- the imageresultImage
- the result imagepublic static final void updateFileInfo(FileInfoBase info, ModelImage resultImage)
info
- the inforesultImage
- the result image
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |