Class SyncedPositionables
java.lang.Object
net.imglib2.loops.SyncedPositionables
Helper for the implementation of
LoopBuilder. Used to bind together a
list of Positionables:
Positionable synced = SyncedPositionables.create(listOfPositionables);
A call of a method for relative movement of synced moves all the
Positionables in the list (listOfPositionable) accordingly.
e.g.: A call to synced.fwd(d), is functionally equivalent to
for(Positionable p : listOfPostionables) { p.fwd(d); }
Methods Positionable.fwd(int), Positionable.bck(int) and
Positionable.move(int, int) are supported. But calling
Positionable.setPosition(Localizable) or EuclideanSpace.numDimensions() will
throw an UnsupportedOperationException.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Positionablecreate(List<? extends Positionable> positionables) static Positionablecreate(Positionable... positionables)
-
Field Details
-
forwarderFactories
-
-
Constructor Details
-
SyncedPositionables
private SyncedPositionables()
-
-
Method Details
-
create
-
create
-