Class BDVSourceNaming
java.lang.Object
net.preibisch.mvrecon.fiji.spimdata.explorer.popup.BDVSourceNaming
Source-name utilities used by both
BDVPopup (eager) and
LazyBDVPopup so they label sources identically as
"VS: <viewSetupId> TP: <timepointId>".
BDV models one source per viewSetupId, so the TP in the name is the
first ordered timepoint id (representative; the TP slider is ambient).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.imglib2.type.numeric.NumericType<T>,V extends net.imglib2.Volatile<T> & net.imglib2.type.numeric.NumericType<V>>
voidinitSetupViewIdName(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.generic.sequence.BasicViewSetup setup, List<bdv.tools.brightness.ConverterSetup> converterSetups, List<bdv.viewer.SourceAndConverter<?>> sources) Mirrors BDV-core's privateBigDataViewer.initSetupNumericTypebut usesviewIdSourceName(BasicViewSetup, AbstractSequenceDescription)for the source name.static StringviewIdSourceName(mpicbg.spim.data.generic.sequence.BasicViewSetup setup, mpicbg.spim.data.generic.sequence.AbstractSequenceDescription<?, ?, ?> seq)
-
Constructor Details
-
BDVSourceNaming
public BDVSourceNaming()
-
-
Method Details
-
viewIdSourceName
public static String viewIdSourceName(mpicbg.spim.data.generic.sequence.BasicViewSetup setup, mpicbg.spim.data.generic.sequence.AbstractSequenceDescription<?, ?, ?> seq) -
initSetupViewIdName
public static <T extends net.imglib2.type.numeric.NumericType<T>,V extends net.imglib2.Volatile<T> & net.imglib2.type.numeric.NumericType<V>> void initSetupViewIdName(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.generic.sequence.BasicViewSetup setup, List<bdv.tools.brightness.ConverterSetup> converterSetups, List<bdv.viewer.SourceAndConverter<?>> sources) Mirrors BDV-core's privateBigDataViewer.initSetupNumericTypebut usesviewIdSourceName(BasicViewSetup, AbstractSequenceDescription)for the source name. Appends the resultingSourceAndConverter(wrapped with aTransformedSource) and matchingConverterSetupto the given lists.
-