edu.washington.biostr.sig.volume
Enum CardinalDirections

java.lang.Object
  extended by java.lang.Enum<CardinalDirections>
      extended by 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

Enum Constant Summary
CORONAL
           
OBLIQUE
           
SAGITTAL
           
TRANSVERSE
           
 
Field Summary
static CardinalDirections HORIZONTAL
           
static CardinalDirections NORMAL_X
           
static CardinalDirections NORMAL_Y
           
static CardinalDirections NORMAL_Z
           
static CardinalDirections PARASAGITTAL
           
static CardinalDirections XY
           
static CardinalDirections XZ
           
static CardinalDirections YZ
           
 
Method Summary
static CardinalDirections valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CardinalDirections[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CORONAL

public static final CardinalDirections CORONAL

SAGITTAL

public static final CardinalDirections SAGITTAL

TRANSVERSE

public static final CardinalDirections TRANSVERSE

OBLIQUE

public static final CardinalDirections OBLIQUE
Field Detail

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
Method Detail

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.