Package sc.fiji.snt

Class SNT.SearchSettingsSnapshot

java.lang.Object
sc.fiji.snt.SNT.SearchSettingsSnapshot
Enclosing class:
SNT

public static final class SNT.SearchSettingsSnapshot extends Object
Immutable snapshot of the search settings that SNT.createSearch(double, double, double, double, double, double) would otherwise read live from the enclosing SNT instance (costType, searchImageType, whether tracing on the secondary/filtered image is active).

Interactive, click-driven tracing is meant to always use whatever is currently configured, so it never needs this: SNT.createSearch(double, double, double, double, double, double) falls back to the live fields when no snapshot is given. Batch callers that run over a long, possibly unattended period (e.g. AStarRefiner, invoked from PathManagerUI's "Re-trace with A*...") should instead take one snapshot when the batch is queued and reuse it for every path/segment, so a setting changed mid-run can't silently produce a batch with inconsistent per-path settings.

See Also: