kcc5
Class KCC_LaTerra8Map

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

class 
KCC_ColorMapBase:KCC_LaTerra8Map

Class for defining the preset La Terra 8 color map.

This class defines the La Terra 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_LaTerra8Map( KCC_ColorMapBase ) {
 ; Class for defining the preset La Terra 8 color map.
 ; <p>
 ; This class defines the La Terra 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/La Terra 8 Map.jpg">click here</a>.
 ;
 public:
   import "common.ulb"
   
   ; Constructor
   func KCC_LaTerra8Map( Generic pparent )
     KCC_ColorMapBase( pparent )
 
     ; Created by Toby Marshall.
     colorMap[0,0] = @laTerraMax1, colorMap[0,1] = @laTerraMin1
     colorMap[1,0] = @laTerraMax2, colorMap[1,1] = @laTerraMin2
     colorMap[2,0] = @laTerraMax3, colorMap[2,1] = @laTerraMin3
     colorMap[3,0] = @laTerraMax4, colorMap[3,1] = @laTerraMin4
     colorMap[4,0] = @laTerraMax5, colorMap[4,1] = @laTerraMin5
     colorMap[5,0] = @laTerraMax6, colorMap[5,1] = @laTerraMin6
     colorMap[6,0] = @laTerraMax7, colorMap[6,1] = @laTerraMin7
     colorMap[7,0] = @laTerraMax8, colorMap[7,1] = @laTerraMin8
     colorRanges = @colorRanges
   endfunc
 private:
 
 default:
   title = "La Terra 8 Map"
 
   int param v_KCC_LaTerra8Map
     caption = "Version (KCC_LaTerra8Map)"
     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_LaTerra8Map < 100
   endparam
 
 ;--------------------------------------------------------------------
 ; Color Defaults for  La Terra 8
 ;--------------------------------------------------------------------
 
   heading
     caption = "    La Terra 8 Map Settings"
     visible = (@customize)
   endheading
 
   color param laTerraMax1
     caption = "Color Range 1 High"
     default = rgb(255/255,174/255,103/255)
     hint = "Specifies the color at the high end of Range #1."
     visible = (@customize)
   endparam
 
   color param laTerraMin1
     caption = "Color Range 1 Low"
     default = rgb(102/255,47/255,0/255)
     hint = "Specifies the color at the low end of Range #1."
     visible = (@customize)
   endparam
 
   color param laTerraMax2
     caption = "Color Range 2 High"
     default = rgb(255/255,242/255,39/255)
     hint = "Specifies the color at the high end of Range #2."
     visible = (@customize)
   endparam
 
   color param laTerraMin2
     caption = "Color Range 2 Low"
     default = rgb(100/255,58/255,0/255)
     hint = "Specifies the color at the low end of Range #2."
     visible = (@customize)
   endparam
 
   color param laTerraMax3
     caption = "Color Range 3 High"
     default = rgb(170/255,86/255,0/255)
     hint = "Specifies the color at the high end of Range #3."
     visible = (@customize)
   endparam
 
   color param laTerraMin3
     caption = "Color Range 3 Low"
     default = rgb(92/255,29/255,0/255)
     hint = "Specifies the color at the low end of Range #3."
     visible = (@customize)
   endparam
 
   color param laTerraMax4
     caption = "Color Range 4 High"
     default = rgb(190/255,118/255,13/255)
     hint = "Specifies the color at the high end of Range #4."
     visible = (@customize)
   endparam
 
   color param laTerraMin4
     caption = "Color Range 4 Low"
     default = rgb(84/255,41/255,0/255)
     hint = "Specifies the color at the low end of Range #4."
     visible = (@customize)
   endparam
 
   color param laTerraMax5
     caption = "Color Range 5 High"
     default = rgb(255/255,174/255,103/255)
     hint = "Specifies the color at the high end of Range #5."
     visible = (@customize)
   endparam
 
   color param laTerraMin5
     caption = "Color Range 5 Low"
     default = rgb(102/255,47/255,0/255)
     hint = "Specifies the color at the low end of Range #5."
     visible = (@customize)
   endparam
 
   color param laTerraMax6
     caption = "Color Range 6 High"
     default = rgb(255/255,242/255,39/255)
     hint = "Specifies the color at the high end of Range #6."
     visible = (@customize)
   endparam
 
   color param laTerraMin6
     caption = "Color Range 6 Low"
     default = rgb(100/255,58/255,0/255)
     hint = "Specifies the color at the low end of Range #6."
     visible = (@customize)
   endparam
 
   color param laTerraMax7
     caption = "Color Range 7 High"
     default = rgb(170/255,86/255,0/255)
     hint = "Specifies the color at the high end of Range #7."
     visible = (@customize)
   endparam
 
   color param laTerraMin7
     caption = "Color Range 7 Low"
     default = rgb(92/255,29/255,0/255)
     hint = "Specifies the color at the low end of Range #7."
     visible = (@customize)
   endparam
 
   color param laTerraMax8
     caption = "Color Range 8 High"
     default = rgb(190/255,118/255,13/255)
     hint = "Specifies the color at the high end of Range #8."
     visible = (@customize)
   endparam
 
   color param laTerraMin8
     caption = "Color Range 8 Low"
     default = rgb(84/255,41/255,0/255)
     hint = "Specifies the color at the low end of Range #8."
     visible = (@customize)
   endparam
 }
 


Constructor Summary
KCC_LaTerra8Map()
           
KCC_LaTerra8Map(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_LaTerra8Map

public KCC_LaTerra8Map(Generic pparent)
Constructor


KCC_LaTerra8Map

public KCC_LaTerra8Map()