kcc5
Class KCC_Default24Map

Object
  extended by common:Generic
      extended by common:GradientWrapper
          extended by kcc5:KCC_ColorMapBase
              extended by kcc5:KCC_Default24Map

class 
KCC_ColorMapBase:KCC_Default24Map

Class for defining the preset Default 12 color map.

This class defines the Default 12 color map and allows the user to customize any of the ranges as desired.

For an example of what this map looks like, click here.


Ultra Fractal Source

Toggle UF Source Code Display

 class KCC_Default24Map( 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 24 Map.jpg">click here</a>.
 ;
 public:
   import "common.ulb"
 
   ; Constructor
   func KCC_Default24Map( Generic pparent )
     KCC_ColorMapBase( pparent )
 
     ; Created by Toby Marshall.
     colorMap [0,0] = @default24Max1,  colorMap[0,1]  = @default24Min1
     colorMap [1,0] = @default24Max2,  colorMap[1,1]  = @default24Min2
     colorMap [2,0] = @default24Max3,  colorMap[2,1]  = @default24Min3
     colorMap [3,0] = @default24Max4,  colorMap[3,1]  = @default24Min4
     colorMap [4,0] = @default24Max5,  colorMap[4,1]  = @default24Min5
     colorMap [5,0] = @default24Max6,  colorMap[5,1]  = @default24Min6
     colorMap [6,0] = @default24Max7,  colorMap[6,1]  = @default24Min7
     colorMap [7,0] = @default24Max8,  colorMap[7,1]  = @default24Min8
     colorMap [8,0] = @default24Max9,  colorMap[8,1]  = @default24Min9
     colorMap [9,0] = @default24Max10, colorMap[9,1]  = @default24Min10
     colorMap[10,0] = @default24Max11, colorMap[10,1] = @default24Min11
     colorMap[11,0] = @default24Max12, colorMap[11,1] = @default24Min12
     colorMap[12,0] = @default24Max13, colorMap[12,1] = @default24Min13
     colorMap[13,0] = @default24Max14, colorMap[13,1] = @default24Min14
     colorMap[14,0] = @default24Max15, colorMap[14,1] = @default24Min15
     colorMap[15,0] = @default24Max16, colorMap[15,1] = @default24Min16
     colorMap[16,0] = @default24Max17, colorMap[16,1] = @default24Min17
     colorMap[17,0] = @default24Max18, colorMap[17,1] = @default24Min18
     colorMap[18,0] = @default24Max19, colorMap[18,1] = @default24Min19
     colorMap[19,0] = @default24Max20, colorMap[19,1] = @default24Min20
     colorMap[20,0] = @default24Max21, colorMap[20,1] = @default24Min21
     colorMap[21,0] = @default24Max22, colorMap[21,1] = @default24Min22
     colorMap[22,0] = @default24Max23, colorMap[22,1] = @default24Min23
     colorMap[23,0] = @default24Max24, colorMap[23,1] = @default24Min24
     colorRanges = @colorRanges
   endfunc
 
 private:
 
 default:
   title = "Default 24 Map"
 
   int param v_KCC_Default24Map
     caption = "Version (KCC_Default24Map)"
     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_Default24Map < 100
   endparam
 
   int param colorRanges
     caption = "# of Ranges"
     min = 1
     max = 24
     default = 24
   endparam
 
 ;--------------------------------------------------------------------
 ; Color Defaults for Default 24
 ;--------------------------------------------------------------------
 
   heading
     caption = "    Default 24 Map Settings"
     visible = (@customize)
   endheading
 
   color param default24Max1
     caption = "Color Range 1 High"
     default = rgb(255/255,0/255,211/255)
     hint = "Specifies the color at the high end of Range #1."
     visible = (@customize)
   endparam
 
   color param default24Min1
     caption = "Color Range 1 Low"
     default = rgb(104/255,0/255,64/255)
     hint = "Specifies the color at the low end of Range #2."
     visible = (@customize)
   endparam
 
   color param default24Max2
     caption = "Color Range 2 High"
     default = rgb(255/255,0/255,134/255)
     hint = "Specifies the color at the high end of Range #2."
     visible = (@customize)
   endparam
 
   color param default24Min2
     caption = "Color Range 2 Low"
     default = rgb(106/255,0/255,55/255)
     hint = "Specifies the color at the low end of Range #2."
     visible = (@customize)
   endparam
 
   color param default24Max3
     caption = "Color Range 3 High"
     default = rgb(255/255,35/255,88/255)
     hint = "Specifies the color at the high end of Range #3."
     visible = (@customize)
   endparam
 
   color param default24Min3
     caption = "Color Range 3 Low"
     default = rgb(92/255,0/255,31/255)
     hint = "Specifies the color at the low end of Range #3."
     visible = (@customize)
   endparam
 
   color param default24Max4
     caption = "Color Range 4 High"
     default = rgb(255/255,0/255,0/255)
     hint = "Specifies the color at the high end of Range #4."
     visible = (@customize)
   endparam
 
   color param default24Min4
     caption = "Color Range 4 Low"
     default = rgb(92/255,0/255,0/255)
     hint = "Specifies the color at the low end of Range #4."
     visible = (@customize)
   endparam
 
   color param default24Max5
     caption = "Color Range 5 High"
     default = rgb(255/255,54/255,0/255)
     hint = "Specifies the color at the high end of Range #5."
     visible = (@customize)
   endparam
 
   color param default24Min5
     caption = "Color Range 5 Low"
     default = rgb(92/255,26/255,0/255)
     hint = "Specifies the color at the low end of Range #5."
     visible = (@customize)
   endparam
 
   color param default24Max6
     caption = "Color Range 6 High"
     default = rgb(255/255,85/255,0/255)
     hint = "Specifies the color at the high end of Range #6."
     visible = (@customize)
   endparam
 
   color param default24Min6
     caption = "Color Range 6 Low"
     default = rgb(96/255,27/255,0/255)
     hint = "Specifies the color at the low end of Range #6."
     visible = (@customize)
   endparam
 
   color param default24Max7
     caption = "Color Range 7 High"
     default = rgb(255/255,118/255,0/255)
     hint = "Specifies the color at the high end of Range #7."
     visible = (@customize)
   endparam
 
   color param default24Min7
     caption = "Color Range 7 Low"
     default = rgb(100/255,38/255,0/255)
     hint = "Specifies the color at the low end of Range #7."
     visible = (@customize)
   endparam
 
   color param default24Max8
     caption = "Color Range 8 High"
     default = rgb(255/255,157/255,0/255)
     hint = "Specifies the color at the high end of Range #8."
     visible = (@customize)
   endparam
 
   color param default24Min8
     caption = "Color Range 8 Low"
     default = rgb(90/255,40/255,0/255)
     hint = "Specifies the color at the low end of Range #8."
     visible = (@customize)
   endparam
 
   color param default24Max9
     caption = "Color Range 9 High"
     default = rgb(255/255,203/255,0/255)
     hint = "Specifies the color at the high end of Range #9."
     visible = (@customize)
   endparam
 
   color param default24Min9
     caption = "Color Range 9 Low"
     default = rgb(82/255,54/255,0/255)
     hint = "Specifies the color at the low end of Range #9."
     visible = (@customize)
   endparam
 
   color param default24Max10
     caption = "Color Range 10 High"
     default = rgb(255/255,255/255,0/255)
     hint = "Specifies the color at the high end of Range #10."
     visible = (@customize)
   endparam
 
   color param default24Min10
     caption = "Color Range 10 Low"
     default = rgb(92/255,61/255,0/255)
     hint = "Specifies the color at the low end of Range #10."
     visible = (@customize)
   endparam
 
   color param default24Max11
     caption = "Color Range 11 High"
     default = rgb(229/255,255/255,0/255)
     hint = "Specifies the color at the high end of Range #11."
     visible = (@customize)
   endparam
 
   color param default24Min11
     caption = "Color Range 11 Low"
     default = rgb(68/255,68/255,0/255)
     hint = "Specifies the color at the low end of Range #11."
     visible = (@customize)
   endparam
 
   color param default24Max12
     caption = "Color Range 12 High"
     default = rgb(191/255,255/255,0/255)
     hint = "Specifies the color at the high end of Range #12."
     visible = (@customize)
   endparam
 
   color param default24Min12
     caption = "Color Range 12 Low"
     default = rgb(32/255,64/255,0/255)
     hint = "Specifies the color at the low end of Range #12."
     visible = (@customize)
   endparam
 
   color param default24Max13
     caption = "Color Range 13 High"
     default = rgb(0/255,255/255,55/255)
     hint = "Specifies the color at the high end of Range #13."
     visible = (@customize)
   endparam
 
   color param default24Min13
     caption = "Color Range 13 Low"
     default = rgb(0/255,78/255,0/255)
     hint = "Specifies the color at the low end of Range #13."
     visible = (@customize)
   endparam
 
   color param default24Max14
     caption = "Color Range 14 High"
     default = rgb(0/255,255/255,136/255)
     hint = "Specifies the color at the high end of Range #14."
     visible = (@customize)
   endparam
 
   color param default24Min14
     caption = "Color Range 14 Low"
     default = rgb(0/255,66/255,30/255)
     hint = "Specifies the color at the low end of Range #14."
     visible = (@customize)
   endparam
 
   color param default24Max15
     caption = "Color Range 15 High"
     default = rgb(0/255,255/255,203/255)
     hint = "Specifies the color at the high end of Range #15."
     visible = (@customize)
   endparam
 
   color param default24Min15
     caption = "Color Range 15 Low"
     default = rgb(0/255,62/255,48/255)
     hint = "Specifies the color at the low end of Range #15."
     visible = (@customize)
   endparam
 
   color param default24Max16
     caption = "Color Range 16 High"
     default = rgb(0/255,255/255,255/255)
     hint = "Specifies the color at the high end of Range #16."
     visible = (@customize)
   endparam
 
   color param default24Min16
     caption = "Color Range 16 Low"
     default = rgb(0/255,71/255,74/255)
     hint = "Specifies the color at the low end of Range #16."
     visible = (@customize)
   endparam
 
   color param default24Max17
     caption = "Color Range 17 High"
     default = rgb(0/255,212/255,255/255)
     hint = "Specifies the color at the high end of Range #17."
     visible = (@customize)
   endparam
 
   color param default24Min17
     caption = "Color Range 17 Low"
     default = rgb(0/255,57/255,82/255)
     hint = "Specifies the color at the low end of Range #17."
     visible = (@customize)
   endparam
 
   color param default24Max18
     caption = "Color Range 18 High"
     default = rgb(0/255,153/255,255/255)
     hint = "Specifies the color at the high end of Range #18."
     visible = (@customize)
   endparam
 
   color param default24Min18
     caption = "Color Range 18 Low"
     default = rgb(0/255,37/255,104/255)
     hint = "Specifies the color at the low end of Range #18."
     visible = (@customize)
   endparam
 
   color param default24Max19
     caption = "Color Range 19 High"
     default = rgb(0/255,90/255,255/255)
     hint = "Specifies the color at the high end of Range #19."
     visible = (@customize)
   endparam
 
   color param default24Min19
     caption = "Color Range 19 Low"
     default = rgb(0/255,0/255,102/255)
     hint = "Specifies the color at the low end of Range #19."
     visible = (@customize)
   endparam
 
   color param default24Max20
     caption = "Color Range 20 High"
     default = rgb(92/255,77/255,255/255)
     hint = "Specifies the color at the high end of Range #20."
     visible = (@customize)
   endparam
 
   color param default24Min20
     caption = "Color Range 20 Low"
     default = rgb(28/255,0/255,94/255)
     hint = "Specifies the color at the low end of Range #20."
     visible = (@customize)
   endparam
 
   color param default24Max21
     caption = "Color Range 21 High"
     default = rgb(131/255,67/255,255/255)
     hint = "Specifies the color at the high end of Range #21."
     visible = (@customize)
   endparam
 
   color param default24Min21
     caption = "Color Range 21 Low"
     default = rgb(57/255,0/255,112/255)
     hint = "Specifies the color at the low end of Range #21."
     visible = (@customize)
   endparam
 
   color param default24Max22
     caption = "Color Range 22 High"
     default = rgb(175/255,0/255,255/255)
     hint = "Specifies the color at the high end of Range #22."
     visible = (@customize)
   endparam
 
   color param default24Min22
     caption = "Color Range 22 Low"
     default = rgb(57/255,0/255,86/255)
     hint = "Specifies the color at the low end of Range #22."
     visible = (@customize)
   endparam
 
   color param default24Max23
     caption = "Color Range 23 High"
     default = rgb(209/255,0/255,255/255)
     hint = "Specifies the color at the high end of Range #23."
     visible = (@customize)
   endparam
 
   color param default24Min23
     caption = "Color Range 23 Low"
     default = rgb(64/255,0/255,76/255)
     hint = "Specifies the color at the low end of Range #23."
     visible = (@customize)
   endparam
 
   color param default24Max24
     caption = "Color Range 24 High"
     default = rgb(255/255,0/255,255/255)
     hint = "Specifies the color at the high end of Range #24."
     visible = (@customize)
   endparam
 
   color param default24Min24
     caption = "Color Range 24 Low"
     default = rgb(84/255,0/255,84/255)
     hint = "Specifies the color at the low end of Range #24."
     visible = (@customize)
   endparam
 }
 


Constructor Summary
KCC_Default24Map()
           
KCC_Default24Map(Generic pparent)
          Constructor
 
Method Summary
 
Methods inherited from class kcc5:KCC_ColorMapBase
getColorChannel, perturb8RangeMap, perturbRanges
 
Methods inherited from class common:GradientWrapper
getColor
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

KCC_Default24Map

public KCC_Default24Map(Generic pparent)
Constructor


KCC_Default24Map

public KCC_Default24Map()