kcc5
Class KCC_ColorWheel12Map

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

class 
KCC_ColorMapBase:KCC_ColorWheel12Map

Class for defining the preset Color Wheel 12 color map.

This class defines the Color Wheel 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_ColorWheel12Map( KCC_ColorMapBase ) {
 ; Class for defining the preset Color Wheel 12 color map.
 ; <p>
 ; This class defines the Color Wheel 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/Color Wheel 12 Map.jpg">click here</a>.
 ;
 public:
   import "common.ulb"
   
   ; Constructor
   func KCC_ColorWheel12Map( Generic pparent )
     KCC_ColorMapBase( pparent )
 
     ; Created by Toby Marshall.
     colorMap [0,0] = @colorWheel12Max1,  colorMap [0,1] = @colorWheel12Min1
     colorMap [1,0] = @colorWheel12Max2,  colorMap [1,1] = @colorWheel12Min2
     colorMap [2,0] = @colorWheel12Max3,  colorMap [2,1] = @colorWheel12Min3
     colorMap [3,0] = @colorWheel12Max4,  colorMap [3,1] = @colorWheel12Min4
     colorMap [4,0] = @colorWheel12Max5,  colorMap [4,1] = @colorWheel12Min5
     colorMap [5,0] = @colorWheel12Max6,  colorMap [5,1] = @colorWheel12Min6
     colorMap [6,0] = @colorWheel12Max7,  colorMap [6,1] = @colorWheel12Min7
     colorMap [7,0] = @colorWheel12Max8,  colorMap [7,1] = @colorWheel12Min8
     colorMap [8,0] = @colorWheel12Max9,  colorMap [8,1] = @colorWheel12Min9
     colorMap [9,0] = @colorWheel12Max10, colorMap [9,1] = @colorWheel12Min10
     colorMap[10,0] = @colorWheel12Max11, colorMap[10,1] = @colorWheel12Min11
     colorMap[11,0] = @colorWheel12Max12, colorMap[11,1] = @colorWheel12Min12
     colorRanges = @colorRanges
   endfunc
 
 private:
 
 default:
   title = "Color Wheel 12 Map"
 
   int param v_KCC_ColorWheel12Map
     caption = "Version (KCC_ColorWheel12Map)"
     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_ColorWheel12Map < 100
   endparam
 
   int param colorRanges
     caption = "# of Ranges"
     min = 1
     max = 12
     default = 12
   endparam
 
 ;--------------------------------------------------------------------
 ; Color Defaults for Color Wheel 12
 ;--------------------------------------------------------------------
 
   heading
     caption = "    Color Wheel 12 Map Settings"
     visible = (@customize)
   endheading
 
   color param colorWheel12Max1
     caption = "Color Range 1 High"
     default = rgb(142/255,117/255,255/255)
     hint = "Specifies the color at the high end of Range #1."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min1
     caption = "Color Range 1 Low"
     default = rgb(52/255,0/255,100/255)
     hint = "Specifies the color at the low end of Range #1."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max2
     caption = "Color Range 2 High"
     default = rgb(224/255,9/255,255/255)
     hint = "Specifies the color at the high end of Range #2."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min2
     caption = "Color Range 2 Low"
     default = rgb(86/255,0/255,84/255)
     hint = "Specifies the color at the low end of Range #2."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max3
     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 colorWheel12Min3
     caption = "Color Range 3 Low"
     default = rgb(92/255,0/255,0/255)
     hint = "Specifies the color at the low end of Range #3."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max4
     caption = "Color Range 4 High"
     default = rgb(252/255,167/255,0/255)
     hint = "Specifies the color at the high end of Range #4."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min4
     caption = "Color Range 4 Low"
     default = rgb(95/255,54/255,0/255)
     hint = "Specifies the color at the low end of Range #4."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max5
     caption = "Color Range 5 High"
     default = rgb(190/255,255/255,0/255)
     hint = "Specifies the color at the high end of Range #5."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min5
     caption = "Color Range 5 Low"
     default = rgb(63/255,84/255,0/255)
     hint = "Specifies the color at the low end of Range #5."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max6
     caption = "Color Range 6 High"
     default = rgb(0/255,231/255,213/255)
     hint = "Specifies the color at the high end of Range #6."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min6
     caption = "Color Range 6 Low"
     default = rgb(4/255,62/255,62/255)
     hint = "Specifies the color at the low end of Range #6."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max7
     caption = "Color Range 7 High"
     default = rgb(182/255,27/255,255/255)
     hint = "Specifies the color at the high end of Range #7."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min7
     caption = "Color Range 7 Low"
     default = rgb(53/255,0/255,92/255)
     hint = "Specifies the color at the low end of Range #7."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max8
     caption = "Color Range 8 High"
     default = rgb(255/255,33/255,146/255)
     hint = "Specifies the color at the high end of Range #8."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min8
     caption = "Color Range 8 Low"
     default = rgb(80/255,0/255,53/255)
     hint = "Specifies the color at the low end of Range #8."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max9
     caption = "Color Range 9 High"
     default = rgb(255/255,110/255,0/255)
     hint = "Specifies the color at the high end of Range #9."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min9
     caption = "Color Range 9 Low"
     default = rgb(101/255,25/255,21/255)
     hint = "Specifies the color at the low end of Range #9."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max10
     caption = "Color Range 10 High"
     default = rgb(255/255,241/255,0/255)
     hint = "Specifies the color at the high end of Range #10."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min10
     caption = "Color Range 10 Low"
     default = rgb(88/255,69/255,0/255)
     hint = "Specifies the color at the low end of Range #10."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max11
     caption = "Color Range 11 High"
     default = rgb(0/255,248/255,103/255)
     hint = "Specifies the color at the high end of Range #11."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min11
     caption = "Color Range 11 Low"
     default = rgb(0/255,83/255,15/255)
     hint = "Specifies the color at the low end of Range #11."
     visible = (@customize)
   endparam
 
   color param colorWheel12Max12
     caption = "Color Range 12 High"
     default = rgb(27/255,119/255,255/255)
     hint = "Specifies the color at the high end of Range #12."
     visible = (@customize)
   endparam
 
   color param colorWheel12Min12
     caption = "Color Range 12 Low"
     default = rgb(0/255,31/255,92/255)
     hint = "Specifies the color at the low end of Range #12."
     visible = (@customize)
   endparam
 }
 


Constructor Summary
KCC_ColorWheel12Map()
           
KCC_ColorWheel12Map(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_ColorWheel12Map

public KCC_ColorWheel12Map(Generic pparent)
Constructor


KCC_ColorWheel12Map

public KCC_ColorWheel12Map()