public interface AccumulateProjectorFactory<A>
| Modifier and Type | Method and Description |
|---|---|
default VolatileProjector |
createAccumulateProjector(ArrayList<VolatileProjector> sourceProjectors,
ArrayList<Source<?>> sources,
ArrayList<? extends net.imglib2.RandomAccessible<? extends A>> sourceScreenImages,
net.imglib2.RandomAccessibleInterval<A> targetScreenImage,
int numThreads,
ExecutorService executorService)
Deprecated.
Use
createProjector(List, List, List, RandomAccessibleInterval, int, ExecutorService) instead.
The new variant of the method is named "createProjector" instead of
"createAccumulateProjector" because it has the same erasure. The default
implementation of "createProjector" is forwarded to the (deprecated)
"createAccumulateProjector", so existing AccumulateProjectorFactory
implementations should keep working. |
default VolatileProjector |
createProjector(List<VolatileProjector> sourceProjectors,
List<SourceAndConverter<?>> sources,
List<? extends net.imglib2.RandomAccessible<? extends A>> sourceScreenImages,
net.imglib2.RandomAccessibleInterval<A> targetScreenImage,
int numThreads,
ExecutorService executorService) |
default boolean |
requiresMaskedSources()
Returns
true if projectors created by this factory make use of
alpha masks. |
default VolatileProjector createProjector(List<VolatileProjector> sourceProjectors, List<SourceAndConverter<?>> sources, List<? extends net.imglib2.RandomAccessible<? extends A>> sourceScreenImages, net.imglib2.RandomAccessibleInterval<A> targetScreenImage, int numThreads, ExecutorService executorService)
sourceProjectors - projectors that will be used to render sources.sources - sources to identify which channels are being renderedsourceScreenImages - rendered images that will be accumulated into
target.targetScreenImage - final image to render.numThreads - how many threads to use for rendering.executorService - ExecutorService to use for rendering. may be null.default boolean requiresMaskedSources()
true if projectors created by this factory make use of
alpha masks.
(In that case, individual sources should be rendered using
Source.getInterpolatedMaskedSource(int, int, bdv.viewer.Interpolation) instead of
Source.getInterpolatedSource(int, int, bdv.viewer.Interpolation).)
@Deprecated default VolatileProjector createAccumulateProjector(ArrayList<VolatileProjector> sourceProjectors, ArrayList<Source<?>> sources, ArrayList<? extends net.imglib2.RandomAccessible<? extends A>> sourceScreenImages, net.imglib2.RandomAccessibleInterval<A> targetScreenImage, int numThreads, ExecutorService executorService)
createProjector(List, List, List, RandomAccessibleInterval, int, ExecutorService) instead.
The new variant of the method is named "createProjector" instead of
"createAccumulateProjector" because it has the same erasure. The default
implementation of "createProjector" is forwarded to the (deprecated)
"createAccumulateProjector", so existing AccumulateProjectorFactory
implementations should keep working.sourceProjectors - projectors that will be used to render sources.sources - sources to identify which channels are being renderedsourceScreenImages - rendered images that will be accumulated into
target.targetScreenImage - final image to render.numThreads - how many threads to use for rendering.executorService - ExecutorService to use for rendering. may be null.Copyright © 2012–2025 BigDataViewer. All rights reserved.