public class VolatileHierarchyProjector<A extends net.imglib2.Volatile<?>,B extends net.imglib2.type.operators.SetZero> extends Object
VolatileProjector for a hierarchy of Volatile inputs.
After each VolatileProjector.map() call, the projector has a state
that signalizes whether all projected pixels were perfect.| Constructor and Description |
|---|
VolatileHierarchyProjector(List<? extends net.imglib2.RandomAccessible<A>> sources,
net.imglib2.converter.Converter<? super A,B> converter,
net.imglib2.RandomAccessibleInterval<B> target) |
VolatileHierarchyProjector(List<? extends net.imglib2.RandomAccessible<A>> sources,
net.imglib2.converter.Converter<? super A,B> converter,
net.imglib2.RandomAccessibleInterval<B> target,
byte[] maskArray) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Abort
VolatileProjector.map() if it is currently running. |
void |
clearMask()
Set all pixels in target to 100% transparent zero, and mask to all
Integer.MAX_VALUE.
|
long |
getLastFrameIoNanoTime() |
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, waitmappublic VolatileHierarchyProjector(List<? extends net.imglib2.RandomAccessible<A>> sources, net.imglib2.converter.Converter<? super A,B> converter, net.imglib2.RandomAccessibleInterval<B> target)
public VolatileHierarchyProjector(List<? extends net.imglib2.RandomAccessible<A>> sources, net.imglib2.converter.Converter<? super A,B> converter, net.imglib2.RandomAccessibleInterval<B> target, byte[] maskArray)
public void cancel()
VolatileProjectorVolatileProjector.map() if it is currently running.cancel in interface VolatileProjectorpublic long getLastFrameRenderNanoTime()
VolatileProjectorVolatileProjector.map() take.getLastFrameRenderNanoTime in interface VolatileProjectorpublic long getLastFrameIoNanoTime()
public boolean isValid()
isValid in interface VolatileProjectorpublic void clearMask()
public boolean map(boolean clearUntouchedTargetPixels)
VolatileProjectormap in interface VolatileProjectorCopyright © 2012–2025 BigDataViewer. All rights reserved.