kcc5
Class KCC_Chill8Map

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

class 
KCC_ColorMapBase:KCC_Chill8Map

Class for defining the preset Chill 8 color map.

This class defines the Chill 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_Chill8Map( KCC_ColorMapBase ) {
 ; Class for defining the preset Chill 8 color map.
 ; <p>
 ; This class defines the Chill 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/Chill 8 Map.jpg">click here</a>.
 ;
 public:
   import "common.ulb"
   
   ; Constructor
   func KCC_Chill8Map( Generic pparent )
     KCC_ColorMapBase( pparent )
 
     ; Created by Toby Marshall.
     colorMap[0,0] = @chillMax1, colorMap[0,1] = @chillMin1
     colorMap[1,0] = @chillMax2, colorMap[1,1] = @chillMin2
     colorMap[2,0] = @chillMax3, colorMap[2,1] = @chillMin3
     colorMap[3,0] = @chillMax4, colorMap[3,1] = @chillMin4
     colorMap[4,0] = @chillMax5, colorMap[4,1] = @chillMin5
     colorMap[5,0] = @chillMax6, colorMap[5,1] = @chillMin6
     colorMap[6,0] = @chillMax7, colorMap[6,1] = @chillMin7
     colorMap[7,0] = @chillMax8, colorMap[7,1] = @chillMin8
     colorRanges = @colorRanges
   endfunc
 
 private:
 
 default:
   title = "Chill 8 Map"
 
   int param v_KCC_Chill8Map
     caption = "Version (KCC_Chill8Map)"
     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_Chill8Map < 100
   endparam
 
 ;--------------------------------------------------------------------
 ; Color Defaults for Chill 8
 ;--------------------------------------------------------------------
 
   heading
     caption = "    Chill 8 Settings"
     visible = (@customize)
   endheading
 
   color param chillMax1
     caption = "Color Range 1 High"
     default = rgb(233/255,245/255,255/255)
     hint = "Specifies the color at the high end of Range #1."
     visible = (@customize)
   endparam
 
   color param chillMin1
     caption = "Color Range 1 Low"
     default = rgb(0/255,21/255,60/255)
     hint = "Specifies the color at the low end of Range #1."
     visible = (@customize)
   endparam
 
   color param chillMax2
     caption = "Color Range 2 High"
     default = rgb(182/255,201/255,255/255)
     hint = "Specifies the color at the high end of Range #2."
     visible = (@customize)
   endparam
 
   color param chillMin2
     caption = "Color Range 2 Low"
     default = rgb(0/255,0/255,76/255)
     hint = "Specifies the color at the low end of Range #2."
     visible = (@customize)
   endparam
 
   color param chillMax3
     caption = "Color Range 3 High"
     default = rgb(0/255,34/255,136/255)
     hint = "Specifies the color at the high end of Range #3."
     visible = (@customize)
   endparam
 
   color param chillMin3
     caption = "Color Range 3 Low"
     default = rgb(9/255,9/255,59/255)
     hint = "Specifies the color at the low end of Range #3."
     visible = (@customize)
   endparam
 
   color param chillMax4
     caption = "Color Range 4 High"
     default = rgb(0/255,75/255,255/255)
     hint = "Specifies the color at the high end of Range #4."
     visible = (@customize)
   endparam
 
   color param chillMin4
     caption = "Color Range 4 Low"
     default = rgb(0/255,0/255,25/255)
     hint = "Specifies the color at the low end of Range #4."
     visible = (@customize)
   endparam
 
   color param chillMax5
     caption = "Color Range 5 High"
     default = rgb(233/255,245/255,255/255)
     hint = "Specifies the color at the high end of Range #5."
     visible = (@customize)
   endparam
 
   color param chillMin5
     caption = "Color Range 5 Low"
     default = rgb(0/255,21/255,60/255)
     hint = "Specifies the color at the low end of Range #5."
     visible = (@customize)
   endparam
 
   color param chillMax6
     caption = "Color Range 6 High"
     default = rgb(182/255,201/255,255/255)
     hint = "Specifies the color at the high end of Range #6."
     visible = (@customize)
   endparam
 
   color param chillMin6
     caption = "Color Range 6 Low"
     default = rgb(0/255,0/255,76/255)
     hint = "Specifies the color at the low end of Range #6."
     visible = (@customize)
   endparam
 
   color param chillMax7
     caption = "Color Range 7 High"
     default = rgb(0/255,34/255,136/255)
     hint = "Specifies the color at the high end of Range #7."
     visible = (@customize)
   endparam
 
   color param chillMin7
     caption = "Color Range 7 Low"
     default = rgb(9/255,9/255,59/255)
     hint = "Specifies the color at the low end of Range #7."
     visible = (@customize)
   endparam
 
   color param chillMax8
     caption = "Color Range 8 High"
     default = rgb(0/255,75/255,255/255)
     hint = "Specifies the color at the high end of Range #8."
     visible = (@customize)
   endparam
 
   color param chillMin8
     caption = "Color Range 8 Low"
     default = rgb(0/255,0/255,25/255)
     hint = "Specifies the color at the low end of Range #8."
     visible = (@customize)
   endparam
 }
 


Constructor Summary
KCC_Chill8Map()
           
KCC_Chill8Map(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_Chill8Map

public KCC_Chill8Map(Generic pparent)
Constructor


KCC_Chill8Map

public KCC_Chill8Map()