public class ChangeViewSetupId extends Object
| Constructor and Description |
|---|
ChangeViewSetupId() |
| Modifier and Type | Method and Description |
|---|---|
static Map<Integer,Integer> |
assignNewViewSetupIds(AbstractSpimData<?> spimData,
Set<Integer> idsInUse)
For the specified
spimData data set, re-assign setup id's that
are already in use. |
static void |
changeViewSetupId(AbstractSpimData<?> spimData,
int oldViewSetupId,
int newViewSetupId)
TODO
|
public static Map<Integer,Integer> assignNewViewSetupIds(AbstractSpimData<?> spimData, Set<Integer> idsInUse)
spimData data set, re-assign setup id's that
are already in use. As a result, setup ids in spimData are
updated and the set of used ids idsInUse is updated.
This method takes care af re-assigning ids in the setups themselves, as
well as in the ViewRegistrations.
spimData - dataset whose setups to make unique. Will be updated as a
result of this method.idsInUse - Set of setup ids already used. Will be updated as a result of
this method.spimData had
the old id before calling this method, and have the new id after
calling this method).public static void changeViewSetupId(AbstractSpimData<?> spimData, int oldViewSetupId, int newViewSetupId)
spimData - oldViewSetupId - newViewSetupId - Copyright © 2015–2021 Fiji. All rights reserved.