Class BigDataLoaderCmd

java.lang.Object
org.scijava.AbstractContextual
org.scijava.command.ContextCommand
sc.fiji.snt.gui.cmds.BigDataLoaderCmd
All Implemented Interfaces:
Runnable, org.scijava.Cancelable, org.scijava.command.Command, org.scijava.Contextual, org.scijava.plugin.SciJavaPlugin

public class BigDataLoaderCmd extends org.scijava.command.ContextCommand
Convenience command for starting a standalone Bdv/Bvv instance, including SNT's Stream mode.
Author:
Tiago Ferreira
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    open(String image, String tracings, boolean bvv, boolean withTracer)
    Opens a streamed dataset without prompting (e.g., from a link).
    void
    run()
     

    Methods inherited from class org.scijava.command.ContextCommand

    cancel, getCancelReason, isCanceled

    Methods inherited from class org.scijava.AbstractContextual

    context, getContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.scijava.Contextual

    setContext
  • Constructor Details

    • BigDataLoaderCmd

      public BigDataLoaderCmd()
  • Method Details

    • open

      public static void open(String image, String tracings, boolean bvv, boolean withTracer)
      Opens a streamed dataset without prompting (e.g., from a link). Blocks until loading is complete, so it must not be called from the EDT. Last-used values of the prompt are neither read nor overwritten
      Parameters:
      image - the path or URL of the main volume
      tracings - the path or URL of reconstruction(s) to load (null for none)
      bvv - true for the Big Volume Viewer, false for the Big Data Viewer
      withTracer - whether SNT Stream (tracing) should be enabled. Requires SNT not to be running
    • run

      public void run()