V
- the type of valuesC
- the type of colorspublic interface MiColorMapping<V,C>
This generic class specifies the interface used to map a value of a scalar
data set to a color. It is used when displaying scalar data sets as colors.
In order to define a custom color mapping, create a class derived from this
class.
Modifier and Type | Method and Description |
---|---|
C |
getColor(V value)
Returns the color associated with the given value.
|
V |
getMax()
Returns the maximum of values for the colormap.
|
V |
getMin()
Returns the minimum of values for the colormap.
|
long |
getTimeStamp()
Returns for this colormap a unique time stamp across all colormaps in the
application.
When the content of the color mapping changes, the time stamp must increase. |
C getColor(V value)
value
- the valueV getMin()
V getMax()
long getTimeStamp()
MxTimeStamp
can be used to
generate a valid time stamp.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com