public interface TrackColorGenerator extends FeatureColorGenerator<org.jgrapht.graph.DefaultWeightedEdge>
The spot coloring can seem to be redundant with individual spot coloring
defined elsewhere. However, it must be noted that this interface is intended
for track coloring, and is applied to spots in tracks only.
Concrete implementations of
TrackMateModelView decide whether they
abide to individual spot coloring or spots within tracks coloring (this interface).
|Modifier and Type||Method and Description|
This is a hack for performance:
activate, color, getFeature, setFeature, terminate
void setCurrentTrackID(Integer trackID)
For color generators that depends only on the track edges and spots are
in, we can skip some computations by specifying first the trackID, and
returning always the same color - ignoring the spot and edge argument of
FeatureColorGenerator.color(Object) methods - while we
iterate through the track.
Color generators that return a color per object can otherwise ignore this method.
Copyright © 2015–2017 Fiji. All rights reserved.