Package sc.fiji.snt.viewer
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSkip 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.Recenter on every tracing click, regardless of distance from the focal plane.Never auto-recenter the view on a tracing click. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AbstractBigViewer.RecenterStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEVER
Never auto-recenter the view on a tracing click. -
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
Recenter on every tracing click, regardless of distance from the focal plane.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-