public class BigDataViewer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected VisibilityAndGroupingDialog |
activeSourcesDialog |
protected BookmarksEditor |
bookmarkEditor |
protected Bookmarks |
bookmarks |
protected BrightnessDialog |
brightnessDialog |
static String |
configDir |
protected CropDialog |
cropDialog |
protected JFileChooser |
fileChooser |
protected HelpDialog |
helpDialog |
protected ManualTransformation |
manualTransformation |
protected ManualTransformationEditor |
manualTransformationEditor |
protected RecordMovieDialog |
movieDialog |
protected RecordMaxProjectionDialog |
movieMaxProjectDialog |
protected PreferencesDialog |
preferencesDialog |
protected File |
proposedSettingsFile |
protected SetupAssignments |
setupAssignments |
protected ViewerPanel |
viewer |
protected ViewerFrame |
viewerFrame |
| Constructor and Description |
|---|
BigDataViewer(ArrayList<ConverterSetup> converterSetups,
ArrayList<SourceAndConverter<?>> sources,
mpicbg.spim.data.generic.AbstractSpimData<?> spimData,
int numTimepoints,
CacheControl cache,
String windowTitle,
ProgressWriter progressWriter,
ViewerOptions options)
Deprecated.
|
BigDataViewer(List<ConverterSetup> converterSetups,
List<SourceAndConverter<?>> sources,
mpicbg.spim.data.generic.AbstractSpimData<?> spimData,
int numTimepoints,
CacheControl cache,
String windowTitle,
ProgressWriter progressWriter,
ViewerOptions options) |
public static String configDir
protected final ViewerFrame viewerFrame
protected final ViewerPanel viewer
protected final SetupAssignments setupAssignments
protected final ManualTransformation manualTransformation
protected final Bookmarks bookmarks
protected final BrightnessDialog brightnessDialog
protected final CropDialog cropDialog
protected final RecordMovieDialog movieDialog
protected final RecordMaxProjectionDialog movieMaxProjectDialog
protected final VisibilityAndGroupingDialog activeSourcesDialog
protected final HelpDialog helpDialog
protected final PreferencesDialog preferencesDialog
protected final ManualTransformationEditor manualTransformationEditor
protected final BookmarksEditor bookmarkEditor
protected final JFileChooser fileChooser
protected File proposedSettingsFile
@Deprecated public BigDataViewer(ArrayList<ConverterSetup> converterSetups, ArrayList<SourceAndConverter<?>> sources, mpicbg.spim.data.generic.AbstractSpimData<?> spimData, int numTimepoints, CacheControl cache, String windowTitle, ProgressWriter progressWriter, ViewerOptions options)
public BigDataViewer(List<ConverterSetup> converterSetups, List<SourceAndConverter<?>> sources, mpicbg.spim.data.generic.AbstractSpimData<?> spimData, int numTimepoints, CacheControl cache, String windowTitle, ProgressWriter progressWriter, ViewerOptions options)
converterSetups - list of ConverterSetup that control min/max and color
of sources.sources - list of pairs of source of some type and converter from that
type to ARGB.spimData - may be null. The AbstractSpimData of the dataset (if
there is one). If it exists, it is used to set up a "Crop"
dialog.numTimepoints - the number of timepoints in the dataset.cache - handle to cache. This is used to control io timing.windowTitle - title of the viewer window.progressWriter - a ProgressWriter to which BDV may report progress
(currently only used in the "Record Movie" dialog).options - optional parameters.public void toggleManualTransformation()
public void initSetBookmark()
public void initGoToBookmark()
public void initGoToBookmarkRotation()
public static <T extends net.imglib2.type.numeric.NumericType<T>> net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType> createConverterToARGB(T type)
type to ARGB:
RealTypes a RealARGBColorConverter is
returned.ARGBTypes a ScaledARGBConverter.ARGB is
returned.VolatileARGBTypes a
ScaledARGBConverter.VolatileARGB is returned.public static ConverterSetup createConverterSetup(SourceAndConverter<?> soc, int setupId)
ConverterSetup for the given SourceAndConverter.
Nested volatile
SourceAndConverter are added to the ConverterSetup if
present. If SourceAndConverter does not comprise a
ColorConverter, returns null.soc - SourceAndConverter for which to create a
ConverterSetupsetupId - setupId of the created ConverterSetupConverterSetup or nullpublic static <T,V extends net.imglib2.Volatile<T>> SourceAndConverter<T> wrapWithTransformedSource(SourceAndConverter<T> soc)
Nested volatile
SourceAndConverter are wrapped as well, if present.public static void initSetups(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, List<ConverterSetup> converterSetups, List<SourceAndConverter<?>> sources)
public static BigDataViewer open(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, String windowTitle, ProgressWriter progressWriter, ViewerOptions options)
public static BigDataViewer open(String xmlFilename, String windowTitle, ProgressWriter progressWriter, ViewerOptions options) throws mpicbg.spim.data.SpimDataException
public static BigDataViewer open(ArrayList<ConverterSetup> converterSetups, ArrayList<SourceAndConverter<?>> sources, int numTimepoints, CacheControl cache, String windowTitle, ProgressWriter progressWriter, ViewerOptions options)
public ViewerPanel getViewer()
public ViewerFrame getViewerFrame()
public ConverterSetups getConverterSetups()
@Deprecated public SetupAssignments getSetupAssignments()
getViewer().state() returns the ViewerState that can be modified directly.public ManualTransformationEditor getManualTransformEditor()
public KeymapManager getKeymapManager()
public AppearanceManager getAppearanceManager()
public boolean tryLoadSettings(String xmlFilename)
public void saveSettings()
public void saveSettings(String xmlFilename) throws IOException
IOException@Deprecated public static org.scijava.ui.behaviour.io.InputTriggerConfig getInputTriggerConfig(ViewerOptions options)
InputTriggerConfigs are now managed through KeymapManager.options doesn't define a InputTriggerConfig, try to
load it from files in this order:
public void loadSettings()
public void loadSettings(String xmlFilename) throws IOException, org.jdom2.JDOMException
IOExceptionorg.jdom2.JDOMExceptionpublic void expandAndFocusCardPanel()
public void collapseCardPanel()
public static void main(String[] args)
Copyright © 2012–2025 BigDataViewer. All rights reserved.