|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MostLikePlane>
com.xinapse.multisliceimage.MostLikePlane
public enum MostLikePlane
The radiological planes that can be used to describe the approximate orientation of a scan plane.
| Enum Constant Summary | |
|---|---|
AXIAL
The MostLikePlane corresponding to an axial orientation. |
|
CORONAL
The MostLikePlane corresponding to a coronal orientation. |
|
SAGITTAL
The MostLikePlane corresponding to a sagittal orientation. |
|
UNKNOWN
The MostLikePlane corresponding to an unknown orientation. |
|
| Method Summary | |
|---|---|
javax.vecmath.Vector3f[] |
getImageOrientationPatient()
Returns the image orientation in patient coordinates for an image plane which is exactly in this MostLikePlane. |
static MostLikePlane |
getInstance(float[][] imageOrientationPatient)
Returns the MostLikePlane corresponding to the image orientation in patient coordinates. |
static MostLikePlane |
getInstance(java.lang.String s)
Returns a MostLikePlane corresponding to a string. |
static MostLikePlane |
getInstance(javax.vecmath.Vector3f[] imageOrientationPatient)
Returns the MostLikePlane corresponding to the image orientation in patient coordinates. |
static MostLikePlane |
selectPlane(java.awt.Component parentComponent)
Shows a dialog prompting the user to select a scan plane. |
java.lang.String |
toString()
Returns a java.lang.String describing this MostLikePlane. |
static MostLikePlane |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MostLikePlane[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MostLikePlane UNKNOWN
public static final MostLikePlane AXIAL
public static final MostLikePlane SAGITTAL
public static final MostLikePlane CORONAL
| Method Detail |
|---|
public static MostLikePlane[] values()
for (MostLikePlane c : MostLikePlane.values()) System.out.println(c);
public static MostLikePlane valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public static MostLikePlane getInstance(java.lang.String s)
throws com.xinapse.util.InvalidArgumentException
s - a java.lang.String from which the most-like plane will be interpreted.
Can be:
InvalidArgumentException - if the string is invalid.public static MostLikePlane getInstance(float[][] imageOrientationPatient)
imageOrientationPatient - a 2x3 or 3x3 float[][] containing the direction cosines
of the image row, column and (possibly) slice directions of the image matrix.
public static MostLikePlane getInstance(javax.vecmath.Vector3f[] imageOrientationPatient)
imageOrientationPatient - a Vector3f[] of length at least 3 containing
the direction cosines of the image row, column and (possibly)
slice directions of the image matrix.
public javax.vecmath.Vector3f[] getImageOrientationPatient()
public static MostLikePlane selectPlane(java.awt.Component parentComponent)
throws CancelledException
parentComponent - the parent java.awt.Component of the dialog.
CancelledException - if selection is cancelled by the user.public java.lang.String toString()
toString in class java.lang.Enum<MostLikePlane>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||