This class defines the Default 12 color map and allows the user to
customize any of the ranges as desired.
class KCC_Default16Map( KCC_ColorMapBase ) {
; Class for defining the preset Default 12 color map.
; <p>
; This class defines the Default 12 color map and allows the user to
; customize any of the ranges as desired.
; <p>
; For an example of what this map looks like,
; <a href="../additional/kcc5/images/Default 16 Map.jpg">click here</a>.
;
public:
import "common.ulb"
; Constructor
func KCC_Default16Map( Generic pparent )
KCC_ColorMapBase( pparent )
; Created by Toby Marshall.
colorMap [0,0] = @default16Max1, colorMap [0,1] = @default16Min1
colorMap [1,0] = @default16Max2, colorMap [1,1] = @default16Min2
colorMap [2,0] = @default16Max3, colorMap [2,1] = @default16Min3
colorMap [3,0] = @default16Max4, colorMap [3,1] = @default16Min4
colorMap [4,0] = @default16Max5, colorMap [4,1] = @default16Min5
colorMap [5,0] = @default16Max6, colorMap [5,1] = @default16Min6
colorMap [6,0] = @default16Max7, colorMap [6,1] = @default16Min7
colorMap [7,0] = @default16Max8, colorMap [7,1] = @default16Min8
colorMap [8,0] = @default16Max9, colorMap [8,1] = @default16Min9
colorMap [9,0] = @default16Max10, colorMap [9,1] = @default16Min10
colorMap[10,0] = @default16Max11, colorMap[10,1] = @default16Min11
colorMap[11,0] = @default16Max12, colorMap[11,1] = @default16Min12
colorMap[12,0] = @default16Max13, colorMap[12,1] = @default16Min13
colorMap[13,0] = @default16Max14, colorMap[13,1] = @default16Min14
colorMap[14,0] = @default16Max15, colorMap[14,1] = @default16Min15
colorMap[15,0] = @default16Max16, colorMap[15,1] = @default16Min16
colorRanges = @colorRanges
endfunc
private:
default:
title = "Default 16 Map"
int param v_KCC_Default16Map
caption = "Version (KCC_Default16Map)"
default = 100
hint = "This version parameter is used to detect when a change has been \
made to the formula that is incompatible with the previous version. \
When that happens, this field will reflect the old version number to \
alert you to the fact that an alternate rendering is being used."
visible = @v_KCC_Default16Map < 100
endparam
int param colorRanges
caption = "# of Ranges"
min = 1
max = 16
default = 16
endparam
;--------------------------------------------------------------------
; Color Defaults for Default 16
;--------------------------------------------------------------------
heading
caption = " Default 16 Map Settings"
visible = (@customize)
endheading
color param default16Max1
caption = "Color Range 1 High"
default = rgb(255/255,31/255,114/255)
hint = "Specifies the color at the high end of Range #1."
visible = (@customize)
endparam
color param default16Min1
caption = "Color Range 1 Low"
default = rgb(94/255,0/255,40/255)
hint = "Specifies the color at the low end of Range #2."
visible = (@customize)
endparam
color param default16Max2
caption = "Color Range 2 High"
default = rgb(255/255,0/255,0/255)
hint = "Specifies the color at the high end of Range #2."
visible = (@customize)
endparam
color param default16Min2
caption = "Color Range 2 Low"
default = rgb(92/255,0/255,0/255)
hint = "Specifies the color at the low end of Range #2."
visible = (@customize)
endparam
color param default16Max3
caption = "Color Range 3 High"
default = rgb(255/255,78/255,0/255)
hint = "Specifies the color at the high end of Range #3."
visible = (@customize)
endparam
color param default16Min3
caption = "Color Range 3 Low"
default = rgb(88/255,27/255,0/255)
hint = "Specifies the color at the low end of Range #3."
visible = (@customize)
endparam
color param default16Max4
caption = "Color Range 4 High"
default = rgb(255/255,110/255,0/255)
hint = "Specifies the color at the high end of Range #4."
visible = (@customize)
endparam
color param default16Min4
caption = "Color Range 4 Low"
default = rgb(90/255,30/255,0/255)
hint = "Specifies the color at the low end of Range #4."
visible = (@customize)
endparam
color param default16Max5
caption = "Color Range 5 High"
default = rgb(255/255,187/255,31/255)
hint = "Specifies the color at the high end of Range #5."
visible = (@customize)
endparam
color param default16Min5
caption = "Color Range 5 Low"
default = rgb(88/255,38/255,0/255)
hint = "Specifies the color at the low end of Range #5."
visible = (@customize)
endparam
color param default16Max6
caption = "Color Range 6 High"
default = rgb(255/255,255/255,0/255)
hint = "Specifies the color at the high end of Range #6."
visible = (@customize)
endparam
color param default16Min6
caption = "Color Range 6 Low"
default = rgb(96/255,57/255,0/255)
hint = "Specifies the color at the low end of Range #6."
visible = (@customize)
endparam
color param default16Max7
caption = "Color Range 7 High"
default = rgb(170/255,255/255,37/255)
hint = "Specifies the color at the high end of Range #7."
visible = (@customize)
endparam
color param default16Min7
caption = "Color Range 7 Low"
default = rgb(41/255,68/255,0/255)
hint = "Specifies the color at the low end of Range #7."
visible = (@customize)
endparam
color param default16Max8
caption = "Color Range 8 High"
default = rgb(0/255,255/255,94/255)
hint = "Specifies the color at the high end of Range #8."
visible = (@customize)
endparam
color param default16Min8
caption = "Color Range 8 Low"
default = rgb(0/255,62/255,0/255)
hint = "Specifies the color at the low end of Range #8."
visible = (@customize)
endparam
color param default16Max9
caption = "Color Range 9 High"
default = rgb(0/255,238/255,203/255)
hint = "Specifies the color at the high end of Range #9."
visible = (@customize)
endparam
color param default16Min9
caption = "Color Range 9 Low"
default = rgb(0/255,64/255,54/255)
hint = "Specifies the color at the low end of Range #9."
visible = (@customize)
endparam
color param default16Max10
caption = "Color Range 10 High"
default = rgb(11/255,166/255,255/255)
hint = "Specifies the color at the high end of Range #10."
visible = (@customize)
endparam
color param default16Min10
caption = "Color Range 10 Low"
default = rgb(0/255,38/255,78/255)
hint = "Specifies the color at the low end of Range #10."
visible = (@customize)
endparam
color param default16Max11
caption = "Color Range 11 High"
default = rgb(0/255,68/255,255/255)
hint = "Specifies the color at the high end of Range #11."
visible = (@customize)
endparam
color param default16Min11
caption = "Color Range 11 Low"
default = rgb(0/255,20/255,88/255)
hint = "Specifies the color at the low end of Range #11."
visible = (@customize)
endparam
color param default16Max12
caption = "Color Range 12 High"
default = rgb(99/255,0/255,255/255)
hint = "Specifies the color at the high end of Range #12."
visible = (@customize)
endparam
color param default16Min12
caption = "Color Range 12 Low"
default = rgb(47/255,0/255,94/255)
hint = "Specifies the color at the low end of Range #12."
visible = (@customize)
endparam
color param default16Max13
caption = "Color Range 13 High"
default = rgb(145/255,0/255,255/255)
hint = "Specifies the color at the high end of Range #13."
visible = (@customize)
endparam
color param default16Min13
caption = "Color Range 13 Low"
default = rgb(69/255,0/255,102/255)
hint = "Specifies the color at the low end of Range #13."
visible = (@customize)
endparam
color param default16Max14
caption = "Color Range 14 High"
default = rgb(221/255,0/255,255/255)
hint = "Specifies the color at the high end of Range #14."
visible = (@customize)
endparam
color param default16Min14
caption = "Color Range 14 Low"
default = rgb(86/255,0/255,100/255)
hint = "Specifies the color at the low end of Range #14."
visible = (@customize)
endparam
color param default16Max15
caption = "Color Range 15 High"
default = rgb(255/255,0/255,255/255)
hint = "Specifies the color at the high end of Range #15."
visible = (@customize)
endparam
color param default16Min15
caption = "Color Range 15 Low"
default = rgb(90/255,0/255,75/255)
hint = "Specifies the color at the low end of Range #15."
visible = (@customize)
endparam
color param default16Max16
caption = "Color Range 16 High"
default = rgb(255/255,0/255,140/255)
hint = "Specifies the color at the high end of Range #16."
visible = (@customize)
endparam
color param default16Min16
caption = "Color Range 16 Low"
default = rgb(96/255,0/255,60/255)
hint = "Specifies the color at the low end of Range #16."
visible = (@customize)
endparam
}