This class defines the Default 12 color map and allows the user to
customize any of the ranges as desired.
class KCC_Default12Map( 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 12 Map.jpg">click here</a>.
;
public:
import "common.ulb"
; Constructor
func KCC_Default12Map( Generic pparent )
KCC_ColorMapBase( pparent )
; Created by Toby Marshall.
colorMap [0,0] = @default12Max1, colorMap [0,1] = @default12Min1
colorMap [1,0] = @default12Max2, colorMap [1,1] = @default12Min2
colorMap [2,0] = @default12Max3, colorMap [2,1] = @default12Min3
colorMap [3,0] = @default12Max4, colorMap [3,1] = @default12Min4
colorMap [4,0] = @default12Max5, colorMap [4,1] = @default12Min5
colorMap [5,0] = @default12Max6, colorMap [5,1] = @default12Min6
colorMap [6,0] = @default12Max7, colorMap [6,1] = @default12Min7
colorMap [7,0] = @default12Max8, colorMap [7,1] = @default12Min8
colorMap [8,0] = @default12Max9, colorMap [8,1] = @default12Min9
colorMap [9,0] = @default12Max10, colorMap [9,1] = @default12Min10
colorMap[10,0] = @default12Max11, colorMap[10,1] = @default12Min11
colorMap[11,0] = @default12Max12, colorMap[11,1] = @default12Min12
colorRanges = @colorRanges
endfunc
private:
default:
title = "Default 12 Map"
int param v_KCC_Default12Map
caption = "Version (KCC_Default12Map)"
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_Default12Map < 100
endparam
int param colorRanges
caption = "# of Ranges"
min = 1
max = 12
default = 12
endparam
;--------------------------------------------------------------------
; Color Defaults for Default 12
;--------------------------------------------------------------------
heading
caption = " Default 12 Map Settings"
visible = (@customize)
endheading
color param default12Max1
caption = "Start color 1"
default = rgb(255/255,85/255,253/255)
hint = "Specifies the color at the high end of Range #1."
visible = (@customize)
endparam
color param default12Min1
caption = " End color 1"
default = rgb(98/255,0/255,76/255)
hint = "Specifies the color at the low end of Range #1."
visible = (@customize)
endparam
color param default12Max2
caption = "Color Range 2 High"
default = rgb(252/255,0/255,143/255)
hint = "Specifies the color at the high end of Range #2."
visible = (@customize)
endparam
color param default12Min2
caption = "Color Range 2 Low"
default = rgb(98/255,0/255,54/255)
hint = "Specifies the color at the low end of Range #2."
visible = (@customize)
endparam
color param default12Max3
caption = "Color Range 3 High"
default = rgb(255/255,32/255,32/255)
hint = "Specifies the color at the high end of Range #3."
visible = (@customize)
endparam
color param default12Min3
caption = "Color Range 3 Low"
default = rgb(96/255,0/255,0/255)
hint = "Specifies the color at the low end of Range #3."
visible = (@customize)
endparam
color param default12Max4
caption = "Color Range 4 High"
default = rgb(255/255,97/255,0/255)
hint = "Specifies the color at the high end of Range #4."
visible = (@customize)
endparam
color param default12Min4
caption = "Color Range 4 Low"
default = rgb(104/255,27/255,0/255)
hint = "Specifies the color at the low end of Range #4."
visible = (@customize)
endparam
color param default12Max5
caption = "Color Range 5 High"
default = rgb(255/255,187/255,0/255)
hint = "Specifies the color at the high end of Range #5."
visible = (@customize)
endparam
color param default12Min5
caption = "Color Range 5 Low"
default = rgb(110/255,54/255,0/255)
hint = "Specifies the color at the low end of Range #5."
visible = (@customize)
endparam
color param default12Max6
caption = "Color Range 6 High"
default = rgb(255/255,248/255,0/255)
hint = "Specifies the color at the high end of Range #6."
visible = (@customize)
endparam
color param default12Min6
caption = "Color Range 6 Low"
default = rgb(102/255,60/255,6/255)
hint = "Specifies the color at the low end of Range #6."
visible = (@customize)
endparam
color param default12Max7
caption = "Color Range 7 High"
default = rgb(0/255,255/255,58/255)
hint = "Specifies the color at the high end of Range #7."
visible = (@customize)
endparam
color param default12Min7
caption = "Color Range 7 Low"
default = rgb(0/255,76/255,0/255)
hint = "Specifies the color at the low end of Range #7."
visible = (@customize)
endparam
color param default12Max8
caption = "Color Range 8 High"
default = rgb(0/255,255/255,205/255)
hint = "Specifies the color at the high end of Range #8."
visible = (@customize)
endparam
color param default12Min8
caption = "Color Range 8 Low"
default = rgb(0/255,89/255,64/255)
hint = "Specifies the color at the low end of Range #8."
visible = (@customize)
endparam
color param default12Max9
caption = "Color Range 9 High"
default = rgb(0/255,194/255,255/255)
hint = "Specifies the color at the high end of Range #9."
visible = (@customize)
endparam
color param default12Min9
caption = "Color Range 9 Low"
default = rgb(0/255,80/255,92/255)
hint = "Specifies the color at the low end of Range #9."
visible = (@customize)
endparam
color param default12Max10
caption = "Color Range 10 High"
default = rgb(35/255,109/255,255/255)
hint = "Specifies the color at the high end of Range #10."
visible = (@customize)
endparam
color param default12Min10
caption = "Color Range 10 Low"
default = rgb(0/255,4/255,102/255)
hint = "Specifies the color at the low end of Range #10."
visible = (@customize)
endparam
color param default12Max11
caption = "Color Range 11 High"
default = rgb(149/255,53/255,255/255)
hint = "Specifies the color at the high end of Range #11."
visible = (@customize)
endparam
color param default12Min11
caption = "Color Range 11 Low"
default = rgb(53/255,0/255,96/255)
hint = "Specifies the color at the low end of Range #11."
visible = (@customize)
endparam
color param default12Max12
caption = "Color Range 12 High"
default = rgb(195/255,0/255,252/255)
hint = "Specifies the color at the high end of Range #12."
visible = (@customize)
endparam
color param default12Min12
caption = "Color Range 12 Low"
default = rgb(58/255,0/255,84/255)
hint = "Specifies the color at the low end of Range #12."
visible = (@customize)
endparam
}