public class InitializeViewerState extends Object
| Constructor and Description |
|---|
InitializeViewerState() |
| Modifier and Type | Method and Description |
|---|---|
static Bounds |
estimateSourceRange(Source<?> source,
int timepoint,
double cumulativeMinCutoff,
double cumulativeMaxCutoff) |
static void |
initBrightness(double cumulativeMinCutoff,
double cumulativeMaxCutoff,
ViewerFrame viewerFrame) |
static void |
initBrightness(double cumulativeMinCutoff,
double cumulativeMaxCutoff,
ViewerPanel viewer,
SetupAssignments setupAssignments)
Deprecated.
|
static void |
initBrightness(double cumulativeMinCutoff,
double cumulativeMaxCutoff,
ViewerState state,
ConverterSetups converterSetups) |
static void |
initBrightness(double cumulativeMinCutoff,
double cumulativeMaxCutoff,
ViewerState state,
SetupAssignments setupAssignments)
Deprecated.
|
static void |
initBrightness(double cumulativeMinCutoff,
double cumulativeMaxCutoff,
ViewerState state,
SetupAssignments setupAssignments)
Deprecated.
|
static AffineTransform3D |
initTransform(int viewerWidth,
int viewerHeight,
boolean zoomedIn,
ViewerState state)
Get a "good" initial viewer transform.
|
static AffineTransform3D |
initTransform(int viewerWidth,
int viewerHeight,
boolean zoomedIn,
ViewerState state)
Deprecated.
|
static void |
initTransform(ViewerPanel viewer)
Set a "good" initial viewer transform.
|
public static void initTransform(ViewerPanel viewer)
initTransform(int, int, boolean, ViewerState), using the size
of the viewer's display component.viewer - the viewer (containing at least one source) to have its
transform set.public static AffineTransform3D initTransform(int viewerWidth, int viewerHeight, boolean zoomedIn, ViewerState state)
viewerWidth - width of the viewer displayviewerHeight - height of the viewer displaystate - the ViewerState containing at least one source.public static void initBrightness(double cumulativeMinCutoff,
double cumulativeMaxCutoff,
ViewerFrame viewerFrame)
public static void initBrightness(double cumulativeMinCutoff,
double cumulativeMaxCutoff,
ViewerState state,
ConverterSetups converterSetups)
public static Bounds estimateSourceRange(Source<?> source, int timepoint, double cumulativeMinCutoff, double cumulativeMaxCutoff)
cumulativeMinCutoff - fraction of pixels that are allowed to be saturated at the lower end of the range.cumulativeMaxCutoff - fraction of pixels that are allowed to be saturated at the upper end of the range.@Deprecated public static AffineTransform3D initTransform(int viewerWidth, int viewerHeight, boolean zoomedIn, ViewerState state)
@Deprecated public static void initBrightness(double cumulativeMinCutoff, double cumulativeMaxCutoff, ViewerState state, SetupAssignments setupAssignments)
@Deprecated public static void initBrightness(double cumulativeMinCutoff, double cumulativeMaxCutoff, ViewerPanel viewer, SetupAssignments setupAssignments)
@Deprecated public static void initBrightness(double cumulativeMinCutoff, double cumulativeMaxCutoff, ViewerState state, SetupAssignments setupAssignments)
Copyright © 2015–2021 Fiji. All rights reserved.