public abstract class AccumulateProjector<A,B> extends Object implements VolatileProjector
Constructor and Description |
---|
AccumulateProjector(List<VolatileProjector> sourceProjectors,
List<? extends RandomAccessible<? extends A>> sources,
RandomAccessibleInterval<B> target,
int numThreads,
ExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
accumulate(Cursor<? extends A>[] accesses,
B target) |
void |
cancel()
Abort
VolatileProjector.map() if it is currently running. |
long |
getLastFrameRenderNanoTime()
How many nano-seconds did the last
VolatileProjector.map() take. |
boolean |
isValid() |
boolean |
map(boolean clearUntouchedTargetPixels)
Render the target image.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
map
public AccumulateProjector(List<VolatileProjector> sourceProjectors, List<? extends RandomAccessible<? extends A>> sources, RandomAccessibleInterval<B> target, int numThreads, ExecutorService executorService)
public boolean map(boolean clearUntouchedTargetPixels)
VolatileProjector
map
in interface VolatileProjector
public void cancel()
VolatileProjector
VolatileProjector.map()
if it is currently running.cancel
in interface VolatileProjector
public long getLastFrameRenderNanoTime()
VolatileProjector
VolatileProjector.map()
take.getLastFrameRenderNanoTime
in interface VolatileProjector
public boolean isValid()
isValid
in interface VolatileProjector
Copyright © 2015–2021 Fiji. All rights reserved.