-
- All Superinterfaces:
mpicbg.spim.data.generic.sequence.BasicImgLoader,mpicbg.spim.data.generic.sequence.BasicMultiResolutionImgLoader
- All Known Implementing Classes:
CatmaidImageLoader,Hdf5ImageLoader,ImarisImageLoader,LegacyViewerImgLoaderExtWrapper,LegacyViewerImgLoaderWrapper,N5ImageLoader,OpenConnectomeImageLoader,RemoteImageLoader,WrapBasicImgLoader
public interface ViewerImgLoader extends mpicbg.spim.data.generic.sequence.BasicMultiResolutionImgLoader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CacheControlgetCacheControl()ViewerSetupImgLoader<?,?>getSetupImgLoader(int setupId)default voidsetCreatedSharedQueue(SharedQueue createdSharedQueue)Use the givenSharedQueueto asynchronously load blocks.default voidsetNumFetcherThreads(int n)Set the number of fetcher threads that will be created to asynchronously load blocks.
-
-
-
Method Detail
-
getSetupImgLoader
ViewerSetupImgLoader<?,?> getSetupImgLoader(int setupId)
- Specified by:
getSetupImgLoaderin interfacempicbg.spim.data.generic.sequence.BasicImgLoader- Specified by:
getSetupImgLoaderin interfacempicbg.spim.data.generic.sequence.BasicMultiResolutionImgLoader
-
getCacheControl
CacheControl getCacheControl()
-
setNumFetcherThreads
default void setNumFetcherThreads(int n)
Set the number of fetcher threads that will be created to asynchronously load blocks. It is permitted to setn=0, but that means that the volatile versions of images may not work correctly.This is an optional operation, i.e., some ImgLoader implementations may just ignore it.
This method should be called before using the image loader, otherwise it might not have the desired effect.
-
setCreatedSharedQueue
default void setCreatedSharedQueue(SharedQueue createdSharedQueue)
Use the givenSharedQueueto asynchronously load blocks.This is an optional operation, i.e., some ImgLoader implementations may just ignore it.
This method should be called before using the image loader, otherwise it might not have the desired effect.
-
-