Java Code Examples for bdv.viewer.ViewerOptions#options()

The following examples show how to use bdv.viewer.ViewerOptions#options() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ViewerPanelFX.java    From paintera with GNU General Public License v2.0 5 votes vote down vote up
public ViewerPanelFX(
		final List<SourceAndConverter<?>> sources,
		final int numTimePoints,
		final CacheControl cacheControl,
		final Function<Source<?>, Interpolation> interpolation)
{
	this(sources, numTimePoints, cacheControl, ViewerOptions.options(), interpolation);
}
 
Example 2
Source File: PainteraBaseView.java    From paintera with GNU General Public License v2.0 5 votes vote down vote up
/**
 *
 * delegates to {@link #PainteraBaseView(int, ViewerOptions, KeyAndMouseConfig) {@code PainteraBaseView(numFetcherThreads, ViewerOptions.options())}}
 */
public PainteraBaseView(
		final int numFetcherThreads,
		final KeyAndMouseConfig keyAndMouseBindings)
{
	this(numFetcherThreads, ViewerOptions.options(), keyAndMouseBindings);
}
 
Example 3
Source File: BDVRenderer.java    From 3Dscript with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public void openBDV(File xmlFile) throws SpimDataException {
	options = ViewerOptions.options();
	viewer = BigDataViewer.open(xmlFile.getAbsolutePath(), xmlFile.getName(), new ProgressWriterIJ(), options);
}