![]() |
![]() |
![]() |
![]() |
ColorModel
Synopsis
efine the color model of the Datamap
group+OPort ColorModel {
string model; /* RGB, HSV */
string v1Label;
string v2Label;
string v3Label;
string v4Label;
func convertToRGB;
func convertFromRGB;
};
ColorModel RGBcolorModel {
model = "RGB";
v1Label = "Alpha";
v2Label = "Red";
v3Label = "Green";
v4Label = "Blue";
func convertToRGB = "convertRGBtoRGB";
func convertfromRGB = "convertRGBtoRGB";
};
ColorModel HSVcolorModel {
model = "HSV";
v1Label = "Alpha";
v2Label = "Hue";
v3Label = "Saturation";
v4Label = "Value";
func convertToRGB = "convertHSVtoRGB";
func convertfromRGB = "convertRGBtoHSV";
};Description
ColorModel specifies the datamap's color model. Supported color models are HSV and RGB.
Parameters
Example
Libraries.Template.DMAP.Datamap
File
See also related modules
![]() |
![]() |
![]() |
![]() |