kcc5
Class KCC_PastelRainbow8Map

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

class 
KCC_ColorMapBase:KCC_PastelRainbow8Map

Class for defining the preset Pastel Rainbow 8 color map.

This class defines the Pastel Rainbow 8 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_PastelRainbow8Map( KCC_ColorMapBase ) {
 ; Class for defining the preset Pastel Rainbow 8 color map.
 ; <p>
 ; This class defines the Pastel Rainbow 8 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/Pastel Rainbow 8 Map.jpg">click here</a>.
 ;
 public:
   import "common.ulb"
   
   ; Constructor
   func KCC_PastelRainbow8Map( Generic pparent )
     KCC_ColorMapBase( pparent )
 
     ; Created by Angela Wilczynski.
     colorMap[0,0] = @pastelRainbow8Max1, colorMap[0,1] = @pastelRainbow8Min1
     colorMap[1,0] = @pastelRainbow8Max2, colorMap[1,1] = @pastelRainbow8Min2
     colorMap[2,0] = @pastelRainbow8Max3, colorMap[2,1] = @pastelRainbow8Min3
     colorMap[3,0] = @pastelRainbow8Max4, colorMap[3,1] = @pastelRainbow8Min4
     colorMap[4,0] = @pastelRainbow8Max5, colorMap[4,1] = @pastelRainbow8Min5
     colorMap[5,0] = @pastelRainbow8Max6, colorMap[5,1] = @pastelRainbow8Min6
     colorMap[6,0] = @pastelRainbow8Max7, colorMap[6,1] = @pastelRainbow8Min7
     colorMap[7,0] = @pastelRainbow8Max8, colorMap[7,1] = @pastelRainbow8Min8
     colorRanges = @colorRanges
   endfunc
 
   ; Initialize the color map using the user selected parameters.
   func initColorMap()
   endfunc
 
 private:
 
 default:
   title = "Pastel Rainbow 8 Map"
 
   int param v_KCC_PastelRainbow8Map
     caption = "Version (KCC_PastelRainbow8Map)"
     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_PastelRainbow8Map < 100
   endparam
 
 ;--------------------------------------------------------------------
 ; Color Defaults for Pastel Rainbow 8
 ;--------------------------------------------------------------------
 
   heading
     caption = "    Pastel Rainbow 8 Map Settings"
     visible = (@customize)
   endheading
 
   color param pastelRainbow8Max1
     caption = "Color Range 1 High"
     default = rgb(242/255,246/255,174/255)
     hint = "Specifies the color at the high end of Range #1."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Min1
     caption = "Color Range 1 Low"
     default = rgb(20/255,48/255,12/255)
     hint = "Specifies the color at the low end of Range #1."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Max2
     caption = "Color Range 2 High"
     default = rgb(182/255,242/255,255/255)
     hint = "Specifies the color at the high end of Range #2."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Min2
     caption = "Color Range 2 Low"
     default = rgb(20/255,44/255,64/255)
     hint = "Specifies the color at the low end of Range #2."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Max3
     caption = "Color Range 3 High"
     default = rgb(202/255,202/255,255/255)
     hint = "Specifies the color at the high end of Range #3."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Min3
     caption = "Color Range 3 Low"
     default = rgb(36/255,36/255,48/255)
     hint = "Specifies the color at the low end of Range #3."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Max4
     caption = "Color Range 4 High"
     default = rgb(255/255,170/255,170/255)
     hint = "Specifies the color at the high end of Range #4."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Min4
     caption = "Color Range 4 Low"
     default = rgb(89/255,0/255,24/255)
     hint = "Specifies the color at the low end of Range #4."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Max5
     caption = "Color Range 5 High"
     default = rgb(255/255,246/255,178/255)
     hint = "Specifies the color at the high end of Range #5."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Min5
     caption = "Color Range 5 Low"
     default = rgb(40/255,0/255,0/255)
     hint = "Specifies the color at the low end of Range #5."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Max6
     caption = "Color Range 6 High"
     default = rgb(255/255,238/255,206/255)
     hint = "Specifies the color at the high end of Range #6."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Min6
     caption = "Color Range 6 Low"
     default = rgb(52/255,16/255,40/255)
     hint = "Specifies the color at the low end of Range #6."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Max7
     caption = "Color Range 7 High"
     default = rgb(214/255,222/255,161/255)
     hint = "Specifies the color at the high end of Range #7."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Min7
     caption = "Color Range 7 Low"
     default = rgb(4/255,32/255,0/255)
     hint = "Specifies the color at the low end of Range #7."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Max8
     caption = "Color Range 8 High"
     default = rgb(255/255,230/255,246/255)
     hint = "Specifies the color at the high end of Range #8."
     visible = (@customize)
   endparam
 
   color param pastelRainbow8Min8
     caption = "Color Range 8 Low"
     default = rgb(70/255,50/255,64/255)
     hint = "Specifies the color at the low end of Range #8."
     visible = (@customize)
   endparam
 }
 


Constructor Summary
KCC_PastelRainbow8Map()
           
KCC_PastelRainbow8Map(Generic pparent)
          Constructor
 
Method Summary
 void initColorMap()
          Initialize the color map using the user selected parameters.
 
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_PastelRainbow8Map

public KCC_PastelRainbow8Map(Generic pparent)
Constructor


KCC_PastelRainbow8Map

public KCC_PastelRainbow8Map()
Method Detail

initColorMap

public void initColorMap()
Initialize the color map using the user selected parameters.