public abstract class IlvMinMaxNormalizedValueColorScheme extends IlvNormalizedValueColorScheme
IlvNormalizedValueColorScheme.Evaluator
Modifier | Constructor and Description |
---|---|
protected |
IlvMinMaxNormalizedValueColorScheme()
Creates a value-based color scheme that uses the minimum and maximum of
the value distribution.
|
Modifier and Type | Method and Description |
---|---|
static IlvValueNormalizer |
createAdjustedNormalizer(IlvValueNormalizer initialNormalizer,
double min,
double max,
double neutral)
Creates a normalizer that combines the initialNormalizer with
an adjusted mapping from the interval [min,max] to
[0,1] that also maps the given neutral value to 0.5.
|
IlvContinuousColorDistribution |
createContinuousDistribution(IlvTreeListModel model,
IlvDataColumnInfo column,
IlvNormalizedValueColorScheme.Evaluator evaluator,
IlvDataConverter converter)
Chooses and returns a color distribution for a given column of real values
in a model of objects.
|
IlvContinuousColorDistribution |
createContinuousDistribution(IlvTreeListModel model,
IlvNormalizedValueColorScheme.Evaluator evaluator,
double min,
double max)
Chooses and returns a color distribution for a given column of real values
in a model of objects.
|
abstract IlvContinuousColorDistribution |
createContinuousDistribution(IlvTreeListModel model,
IlvNormalizedValueColorScheme.Evaluator evaluator,
IlvValueNormalizer initialNormalizer,
double min,
double max)
Chooses and returns a color distribution for a given column of real values
in a model of objects.
|
static IlvValueNormalizer |
createLinearNormalizer(IlvValueNormalizer initialNormalizer,
double min,
double max)
Creates a normalizer that combines the initialNormalizer with
a linear mapping from the interval [min,max] to
[0,1].
|
createContinuousDistribution, createEnumeratedDistribution
createAdjustedColorScheme, createAdjustedColorScheme, createContinuousColorDistribution, createContinuousColorDistribution
protected IlvMinMaxNormalizedValueColorScheme()
public abstract IlvContinuousColorDistribution createContinuousDistribution(IlvTreeListModel model, IlvNormalizedValueColorScheme.Evaluator evaluator, IlvValueNormalizer initialNormalizer, double min, double max)
model
- A tree model with per-node values.evaluator
- A per-node value lookup function.initialNormalizer
- A normalizer that maps the possibly infinite
value range to a finite interval.
null
denotes the identity mapping.min
- The minimum value, after application of the
initialNormalizer. Must be finite.max
- The maximum value, after application of the
initialNormalizer. Must be finite.public IlvContinuousColorDistribution createContinuousDistribution(IlvTreeListModel model, IlvDataColumnInfo column, IlvNormalizedValueColorScheme.Evaluator evaluator, IlvDataConverter converter)
createContinuousDistribution
in class IlvNormalizedValueColorScheme
model
- A tree model with per-node values.column
- A column of the tree model.evaluator
- A per-node value lookup function.converter
- A converter from objects to numbers.public IlvContinuousColorDistribution createContinuousDistribution(IlvTreeListModel model, IlvNormalizedValueColorScheme.Evaluator evaluator, double min, double max)
createContinuousDistribution
in class IlvNormalizedValueColorScheme
model
- A tree model with per-node values.evaluator
- A per-node value lookup function.min
- The minimum value.max
- The maximum value.public static IlvValueNormalizer createLinearNormalizer(IlvValueNormalizer initialNormalizer, double min, double max)
initialNormalizer
- A normalizer that maps the possibly infinite
value range to a finite interval.
null
denotes the identity mapping.min
- The minimum value, after application of the
initialNormalizer. Must be finite.max
- The maximum value, after application of the
initialNormalizer. Must be finite.public static IlvValueNormalizer createAdjustedNormalizer(IlvValueNormalizer initialNormalizer, double min, double max, double neutral)
initialNormalizer
- A normalizer that maps the possibly infinite
value range to a finite interval.
null
denotes the identity mapping.min
- The minimum value, after application of the
initialNormalizer. Must be finite.max
- The maximum value, after application of the
initialNormalizer. Must be finite.neutral
- A value in the range [min,max] that
should map to 0.5.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.