public class BdvOptions extends Object
BdvFunctions
.Modifier and Type | Class and Description |
---|---|
static class |
BdvOptions.Values
Read-only
BdvOptions values. |
Modifier and Type | Field and Description |
---|---|
BdvOptions.Values |
values |
Constructor and Description |
---|
BdvOptions() |
Modifier and Type | Method and Description |
---|---|
BdvOptions |
accumulateProjectorFactory(AccumulateProjectorFactory<ARGBType> f)
Set the factory for creating
AccumulateProjector . |
BdvOptions |
addTo(Bdv bdv)
When showing content using one of the
BdvFunctions methods, this
option can be given to specify that the content should be added to an
existing window. |
BdvOptions |
axisOrder(AxisOrder axisOrder)
Specified when adding a stack.
|
BdvOptions |
frameTitle(String title)
Set the title of the BigDataViewer window.
|
BdvOptions |
inputTriggerConfig(InputTriggerConfig c)
Set the
InputTriggerConfig from which keyboard and mouse action mapping is loaded. |
BdvOptions |
is2D()
Set up the BigDataViewer for 2D navigation.
|
BdvOptions |
numRenderingThreads(int n)
Set how many threads to use for rendering.
|
BdvOptions |
numSourceGroups(int n)
Set how many source groups there are initially.
|
static BdvOptions |
options()
Create default
BdvOptions . |
BdvOptions |
preferredSize(int w,
int h)
Set preferred size of
ViewerPanel canvas. |
BdvOptions |
screenScales(double[] s)
Set the number and scale factors for scaled screen images.
|
BdvOptions |
sourceTransform(AffineTransform3D t)
Set the transform of the
BdvSource to be created. |
BdvOptions |
sourceTransform(double... calibration)
Set the transform of the
BdvSource to be created to account for
the given calibration (scaling of the source axes). |
BdvOptions |
targetRenderNanos(long t)
Set target rendering time in nanoseconds.
|
BdvOptions |
transformEventHandlerFactory(TransformEventHandlerFactory f) |
public final BdvOptions.Values values
public static BdvOptions options()
BdvOptions
.BdvOptions
.public BdvOptions preferredSize(int w, int h)
ViewerPanel
canvas. (This does not include
the time slider).public BdvOptions screenScales(double[] s)
s
- Scale factors from the viewer canvas to screen images of
different resolutions. A scale factor of 1 means 1 pixel in
the screen image is displayed as 1 pixel on the canvas, a
scale factor of 0.5 means 1 pixel in the screen image is
displayed as 2 pixel on the canvas, etc.MultiResolutionRenderer
public BdvOptions targetRenderNanos(long t)
t
- Target rendering time in nanoseconds. The rendering time for
the coarsest rendered scale should be below this threshold.MultiResolutionRenderer
public BdvOptions numRenderingThreads(int n)
n
- How many threads to use for rendering.MultiResolutionRenderer
public BdvOptions numSourceGroups(int n)
n
- How many source groups to create initially.public BdvOptions transformEventHandlerFactory(TransformEventHandlerFactory f)
public BdvOptions accumulateProjectorFactory(AccumulateProjectorFactory<ARGBType> f)
AccumulateProjector
. This can be
used to customize how sources are combined.f
- factory for creating AccumulateProjector
.MultiResolutionRenderer
public BdvOptions inputTriggerConfig(InputTriggerConfig c)
InputTriggerConfig
from which keyboard and mouse action mapping is loaded.c
- the InputTriggerConfig
from which keyboard and mouse action mapping is loadedpublic BdvOptions sourceTransform(AffineTransform3D t)
BdvSource
to be created.t
- the source transform.public BdvOptions frameTitle(String title)
title
- the window title.public BdvOptions sourceTransform(double... calibration)
BdvSource
to be created to account for
the given calibration (scaling of the source axes).calibration
- the source calibration (scaling of the source axes).public BdvOptions is2D()
public BdvOptions axisOrder(AxisOrder axisOrder)
axisOrder
- the axis order of a stack to add.public BdvOptions addTo(Bdv bdv)
BdvFunctions
methods, this
option can be given to specify that the content should be added to an
existing window. (All BdvFunctions
methods return an instance of
Bdv
that can be used that way).bdv
- to which viewer should the content be added.Copyright © 2015–2021 Fiji. All rights reserved.