Class Volatile2DRandomAccessibleProjector<T,A extends Volatile<T>,B>
- java.lang.Object
-
- net.imglib2.AbstractEuclideanSpace
-
- net.imglib2.AbstractLocalizable
-
- net.imglib2.Point
-
- net.imglib2.display.projector.AbstractProjector2D
-
- net.imglib2.display.projector.IterableIntervalProjector2D<A,B>
-
- net.imglib2.display.projector.volatiles.Volatile2DRandomAccessibleProjector<T,A,B>
-
- All Implemented Interfaces:
Projector
,EuclideanSpace
,Localizable
,Positionable
,RealLocalizable
public class Volatile2DRandomAccessibleProjector<T,A extends Volatile<T>,B> extends IterableIntervalProjector2D<A,B>
IterableIntervalProjector2D
forVolatile
input. After eachmap()
call, the projector has astate
that signalizes whether all projected pixels were valid.- Author:
- Stephan Saalfeld
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
valid
-
Fields inherited from class net.imglib2.display.projector.IterableIntervalProjector2D
converter, source, target
-
Fields inherited from class net.imglib2.display.projector.AbstractProjector2D
max, min
-
Fields inherited from class net.imglib2.AbstractLocalizable
position
-
Fields inherited from class net.imglib2.AbstractEuclideanSpace
n
-
-
Constructor Summary
Constructors Constructor Description Volatile2DRandomAccessibleProjector(int dimX, int dimY, RandomAccessible<A> source, RandomAccessibleInterval<B> target, Converter<? super A,B> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid()
void
map()
projects data from the source to the target and applies the former specifiedConverter
e.g.-
Methods inherited from class net.imglib2.Point
bck, equals, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition, toString, wrap
-
Methods inherited from class net.imglib2.AbstractLocalizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
-
Methods inherited from class net.imglib2.AbstractEuclideanSpace
numDimensions
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
-
-
-
Constructor Detail
-
Volatile2DRandomAccessibleProjector
public Volatile2DRandomAccessibleProjector(int dimX, int dimY, RandomAccessible<A> source, RandomAccessibleInterval<B> target, Converter<? super A,B> converter)
-
-
Method Detail
-
isValid
public boolean isValid()
- Returns:
- true if all mapped pixels were
valid
.
-
-