public class PerTrackFeatureColorGenerator extends Object implements TrackColorGenerator
TrackColorGenerator
that generate colors based on the whole track
feature.Constructor and Description |
---|
PerTrackFeatureColorGenerator(Model model,
String trackFeature,
Color missingValueColor,
Color undefinedValueColor,
Colormap colormap,
double min,
double max) |
Modifier and Type | Method and Description |
---|---|
Color |
color(org.jgrapht.graph.DefaultWeightedEdge edge)
Returns a color for the given object.
|
Color |
colorOf(Integer trackID) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public Color color(org.jgrapht.graph.DefaultWeightedEdge edge)
FeatureColorGenerator
color
in interface FeatureColorGenerator<org.jgrapht.graph.DefaultWeightedEdge>
edge
- the object to color.Copyright © 2015–2021 Fiji. All rights reserved.