kcc5
Class KCC_CyanYellow2Map

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

class 
KCC_ColorMapBase:KCC_CyanYellow2Map

Class for defining the preset Cyan/Yellow 2 color map.

This class defines the Cyan/Yellow 2 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_CyanYellow2Map( KCC_ColorMapBase ) {
 ; Class for defining the preset Cyan/Yellow 2 color map.
 ; <p>
 ; This class defines the Cyan/Yellow 2 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/Cyan Yellow 2 Map.jpg">click here</a>.
 ;
 public:
   import "common.ulb"
 
   ; Constructor
   func KCC_CyanYellow2Map( Generic pparent )
     KCC_ColorMapBase( pparent )
 
     ;
     colorMap[0,0] = @cyanYellow2Max1, colorMap[0,1] = @cyanYellow2Min1
     colorMap[1,0] = @cyanYellow2Max2, colorMap[1,1] = @cyanYellow2Min2
     colorRanges = @colorRanges
   endfunc
 
 private:
 
 default:
   title = "Cyan/Yellow 2 Map"
 
   int param v_KCC_CyanYellow2Map
     caption = "Version (KCC_CyanYellow2Map)"
     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_CyanYellow2Map < 100
   endparam
 
   int param colorRanges
     caption = "# of Ranges"
     min = 1
     max = 2
     default = 2
   endparam
 
 ;--------------------------------------------------------------------
 ; Color Defaults for Cyan/Yellow 2
 ;--------------------------------------------------------------------
 
   heading
     caption = "    Cyan/Yellow 2 Map Settings"
     visible = (@customize)
   endheading
 
   color param cyanYellow2Max1
     caption = "Color Range 1 High"
     default = rgb(128/255,255/255,255/255)
     hint = "Specifies the color at the high end of Range #1."
     visible = (@customize)
   endparam
 
   color param cyanYellow2Min1
     caption = "Color Range 1 Low"
     default = rgb(0/255,64/255,64/255)
     hint = "Specifies the color at the low end of Range #1."
     visible = (@customize)
   endparam
 
   color param cyanYellow2Max2
     caption = "Color Range 2 High"
     default = rgb(255/255,255/255,0/255)
     hint = "Specifies the color at the high end of Range #2."
     visible = (@customize)
   endparam
 
   color param cyanYellow2Min2
     caption = "Color Range 2 Low"
     default = rgb(155/255,65/255,0/255)
     hint = "Specifies the color at the low end of Range #2."
     visible = (@customize)
   endparam
 }
 


Constructor Summary
KCC_CyanYellow2Map()
           
KCC_CyanYellow2Map(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_CyanYellow2Map

public KCC_CyanYellow2Map(Generic pparent)
Constructor


KCC_CyanYellow2Map

public KCC_CyanYellow2Map()