Enum Class AbstractBigViewer.RecenterStrategy

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

public static enum AbstractBigViewer.RecenterStrategy extends Enum<AbstractBigViewer.RecenterStrategy>
Auto-recenter strategy for BVV's per-click "center the view on the clicked point" behavior (see Bvv#registerCenterOnDoubleClickListener). Not used by Bdv.
  • Enum Constant Details

    • NEVER

      public static final AbstractBigViewer.RecenterStrategy NEVER
      Never auto-recenter the view on a tracing click.
    • ADAPTIVE

      public static final AbstractBigViewer.RecenterStrategy ADAPTIVE
      Skip the recenter when the click already lands close to the focal plane; gate subsequent tracing clicks behind a brief settle window after a recenter does fire, so tile streaming has a chance to catch up. Recommended default for data streamed from disk/network.
    • ALWAYS

      public static final AbstractBigViewer.RecenterStrategy ALWAYS
      Recenter on every tracing click, regardless of distance from the focal plane.
  • Method Details

    • values

      public static AbstractBigViewer.RecenterStrategy[] 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 AbstractBigViewer.RecenterStrategy 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