Enum Class Viewer3D.ViewMode

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

public static enum Viewer3D.ViewMode extends Enum<Viewer3D.ViewMode>
Presets of a scene's view point.
  • Enum Constant Details

    • XY

      public static final Viewer3D.ViewMode XY
      Enforce a XY view point of the scene. Rotation(s) are disabled.
    • XZ

      public static final Viewer3D.ViewMode XZ
      Enforce a XZ view point of the scene. Rotation(s) are disabled.
    • YZ

      public static final Viewer3D.ViewMode YZ
      Enforce a YZ view point of the scene. Rotation(s) are disabled.
    • DEFAULT

      public static final Viewer3D.ViewMode DEFAULT
      No enforcement of view point: freely turn around the scene.
    • PERSPECTIVE

      public static final Viewer3D.ViewMode PERSPECTIVE
      Enforce an 'overview' (two-point perspective) view point of the scene.
    • SIDE

      @Deprecated public static final Viewer3D.ViewMode SIDE
      Deprecated.
      Use YZ instead
    • TOP

      @Deprecated public static final Viewer3D.ViewMode TOP
      Deprecated.
      Use XY instead
  • Method Details

    • values

      public static Viewer3D.ViewMode[] 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.ViewMode 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