Enum Class Viewer3D.RotationAxis

java.lang.Object
java.lang.Enum<Viewer3D.RotationAxis>
sc.fiji.snt.viewer.Viewer3D.RotationAxis
All Implemented Interfaces:
Serializable, Comparable<Viewer3D.RotationAxis>, java.lang.constant.Constable
Enclosing class:
Viewer3D

public static enum Viewer3D.RotationAxis extends Enum<Viewer3D.RotationAxis>
Axes of rotation for animated sequences and live rotations.
  • Enum Constant Details

    • Z

      public static final Viewer3D.RotationAxis Z
      Rotation around the Z-axis (azimuth sweep). This is the default.
    • X

      public static final Viewer3D.RotationAxis X
      Rotation around the X-axis (elevation sweep from front).
    • Y

      public static final Viewer3D.RotationAxis Y
      Rotation around the Y-axis (elevation sweep from side).
  • Method Details

    • values

      public static Viewer3D.RotationAxis[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Viewer3D.RotationAxis valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static Viewer3D.RotationAxis fromString(String text)
      Parameters:
      text - the axis description
      Returns:
      a Rotation axis from a string description, returning Z as fallback value