public class BvvOptions extends Object
BdvFunctions.| Modifier and Type | Class and Description |
|---|---|
static class |
BvvOptions.Values
Read-only
BvvOptions values. |
| Modifier and Type | Field and Description |
|---|---|
BvvOptions.Values |
values |
| Constructor and Description |
|---|
BvvOptions() |
| Modifier and Type | Method and Description |
|---|---|
BvvOptions |
addTo(Bvv bvv)
When showing content using one of the
BvvFunctions methods, this
option can be given to specify that the content should be added to an
existing window. |
BvvOptions |
axisOrder(bdv.util.AxisOrder axisOrder)
Specified when adding a stack.
|
BvvOptions |
cacheBlockSize(int s)
Sets the GPU cache tile size.
|
BvvOptions |
cacheBlockSize(int[] s)
Sets the GPU cache tile size.
|
BvvOptions |
dCam(double d)
Sets the distance from the camera to the z=0 plane.
|
BvvOptions |
dClip(double d) |
BvvOptions |
dClipFar(double d)
Sets the visible distance from the z=0 plane away from the camera.
|
BvvOptions |
dClipNear(double d)
Sets the visible distance from the z=0 plane towards the camera.
|
BvvOptions |
ditherWidth(int w)
Sets the dither window width.
|
BvvOptions |
frameTitle(String title)
Set the title of the BigDataViewer window.
|
BvvOptions |
inputTriggerConfig(org.scijava.ui.behaviour.io.InputTriggerConfig c)
Set the
InputTriggerConfig from which keyboard and mouse action mapping is loaded. |
BvvOptions |
maxAllowedStepInVoxels(double s) |
BvvOptions |
maxCacheSizeInMB(int s)
Sets the max memory to use for the GPU cache texture in MB.
|
BvvOptions |
maxRenderMillis(int t)
Set target per-frame time in milliseconds.
|
BvvOptions |
numDitherSamples(int n)
Sets the number of dither samples.
|
BvvOptions |
numSourceGroups(int n)
Set how many source groups there are initially.
|
static BvvOptions |
options()
Create default
BvvOptions. |
BvvOptions |
preferredSize(int w,
int h)
Set preferred size of
ViewerPanel canvas. |
BvvOptions |
renderHeight(int h)
Sets the height of offscreen canvas.
|
BvvOptions |
renderWidth(int w)
Sets the width of offscreen canvas.
|
BvvOptions |
sourceTransform(net.imglib2.realtransform.AffineTransform3D t)
Set the transform of the
BdvSource to be created. |
BvvOptions |
sourceTransform(double... calibration)
Set the transform of the
BdvSource to be created to account for
the given calibration (scaling of the source axes). |
public final BvvOptions.Values values
public static BvvOptions options()
BvvOptions.BvvOptions.public BvvOptions preferredSize(int w, int h)
ViewerPanel canvas. (This does not include
the time slider).public BvvOptions renderWidth(int w)
w - the width.public BvvOptions renderHeight(int h)
h - the height.public BvvOptions maxRenderMillis(int t)
t - Target rendering time in milliseconds.public BvvOptions ditherWidth(int w)
w=3 means 3x3 dither window size.w - dither window width.public BvvOptions numDitherSamples(int n)
n - the number of dither samples.public BvvOptions cacheBlockSize(int[] s)
s - the cache tile size.public BvvOptions cacheBlockSize(int s)
s - the cache tile size.public BvvOptions maxCacheSizeInMB(int s)
s - the GPU cache size in MB.public BvvOptions dCam(double d)
d - camera distance.public BvvOptions dClipNear(double d)
d - visible distance from z=0 towards camera.public BvvOptions dClipFar(double d)
d - visible distance from z=0 away from camera.public BvvOptions dClip(double d)
public BvvOptions maxAllowedStepInVoxels(double s)
public BvvOptions numSourceGroups(int n)
n - How many source groups to create initially.public BvvOptions inputTriggerConfig(org.scijava.ui.behaviour.io.InputTriggerConfig c)
InputTriggerConfig from which keyboard and mouse action mapping is loaded.c - the InputTriggerConfig from which keyboard and mouse action mapping is loadedpublic BvvOptions sourceTransform(net.imglib2.realtransform.AffineTransform3D t)
BdvSource to be created.t - the source transform.public BvvOptions frameTitle(String title)
title - the window title.public BvvOptions 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 BvvOptions axisOrder(bdv.util.AxisOrder axisOrder)
axisOrder - the axis order of a stack to add.public BvvOptions addTo(Bvv bvv)
BvvFunctions methods, this
option can be given to specify that the content should be added to an
existing window. (All BvvFunctions methods return an instance of
Bvv that can be used that way).bvv - to which viewer should the content be added.Copyright © 2018–2025 BigDataViewer. All rights reserved.