TOC PREV NEXT INDEX

Datamap Value

Synopsis

define the value for a DataRange control point in the Datamap

DmapColor

group+OPort DmapColor {
double v1; /* Alpha component of Color */
double v2; /* 1st component of Color */
double v3; /* 2nd component of Color */
double v4; /* 3rd component of Color */
};

DatamapValue


DmapColor DatamapValue {
double value;
};

Description

DatamapValue specifies a control point color. A data range whose model is linear often has two control points, and thus two control-point colors.

Parameters

v1

The alpha component.

v2

The Hue component if the color model is HSV. The Red component if the color model is RGB.

v3

The Saturation component if the color model is HSV. The Green component if the color model is RGB.

v4

The Value component if the color model is HSV. The Green component if the color model is RGB.

Example

Libraries.Templates.DMAP.DefaultLinearRange
Libraries.Templates.DMAP.DefaultStepRange

File

v/dmap.v

See also related modules

Not Applicable.

TOC PREV NEXT INDEX