public final class SyncedPositionables extends Object
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(net.imglib2.Localizable) or EuclideanSpace.numDimensions() will
throw an UnsupportedOperationException.
| Modifier and Type | Method and Description |
|---|---|
static Positionable |
create(List<? extends Positionable> positionables) |
static Positionable |
create(Positionable... positionables) |
public static Positionable create(List<? extends Positionable> positionables)
public static Positionable create(Positionable... positionables)
Copyright © 2015–2022 ImgLib2. All rights reserved.