edu.washington.biostr.sig.volume
Enum CardinalDirections
java.lang.Object
java.lang.Enum<CardinalDirections>
edu.washington.biostr.sig.volume.CardinalDirections
- All Implemented Interfaces:
- Serializable, Comparable<CardinalDirections>
public enum CardinalDirections
- extends Enum<CardinalDirections>
The main directions in an MRI. This has mappings for other ways of thinking
about the data, but the 4 main ones are: CORONAL, SAGITTAL, TRANSVERSE, OBLIQUE.
- Author:
- eider
CORONAL
public static final CardinalDirections CORONAL
SAGITTAL
public static final CardinalDirections SAGITTAL
TRANSVERSE
public static final CardinalDirections TRANSVERSE
OBLIQUE
public static final CardinalDirections OBLIQUE
XZ
public static CardinalDirections XZ
XY
public static CardinalDirections XY
YZ
public static CardinalDirections YZ
NORMAL_X
public static CardinalDirections NORMAL_X
NORMAL_Y
public static CardinalDirections NORMAL_Y
NORMAL_Z
public static CardinalDirections NORMAL_Z
HORIZONTAL
public static CardinalDirections HORIZONTAL
PARASAGITTAL
public static CardinalDirections PARASAGITTAL
values
public static final CardinalDirections[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(CardinalDirections c : CardinalDirections.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static CardinalDirections valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2006 University of Washington. All Rights Reserved.