mmf
Class MMF_DeadDLA

Object
  extended by common:Generic
      extended by mmf:MMF_DeadDLA
Direct Known Subclasses:
MMF_FractalDeadDLA, MMF_LineDeadDLA, MMF_MultiDeadDLA, MMF_NoDeadDLA, MMF_OnePointDeadDLA

class 
Generic:MMF_DeadDLA



Ultra Fractal Source

Toggle UF Source Code Display

 class MMF_DeadDLA(common.ulb:Generic) {
 public:
   import "common.ulb"
   ; @param pparent the parent, generally "this" from "DLA Inspired"
   func MMF_DeadDLA(Generic pparent)
     m_Parent = pparent
   endfunc
   ; @param x the x pixel position of a stimulus
   ; @param y the y pixel position of a stimulus
   ; @return the square of the pixel distance
   float func DeadDistance(float x,float y)
     return 1e200
   endfunc
 default:
   int param mmf_deaddla
     caption = "Version (MMF_DeadDLA)"
     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 = @mmf_deaddla < 100
   endparam
   color param colour
     caption = "Dead Point Colour"
     default = RGB(0,0,0)
     hint = "Note that if not using a direct colouring mode then this \
             parameter is ignored and 'dead' points are set to the palette \
             colour from 'Dead Point Index'."
   endparam
   float param index
     caption = "Dead Point Index"
     default = 399.0
     min = 0.0
     max = 399.0
     hint = "Note that if not using a gradient colouring mode then this \
             parameter is ignored and 'dead' points are set to the colour \
             from 'Dead Point Colour'."
   endparam
 }
 


Constructor Summary
MMF_DeadDLA()
           
MMF_DeadDLA(Generic pparent)
           
 
Method Summary
 float DeadDistance(float x, float y)
           
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

MMF_DeadDLA

public MMF_DeadDLA(Generic pparent)
Parameters:
pparent - the parent, generally "this" from "DLA Inspired"

MMF_DeadDLA

public MMF_DeadDLA()
Method Detail

DeadDistance

public float DeadDistance(float x,
                          float y)
Parameters:
x - the x pixel position of a stimulus
y - the y pixel position of a stimulus
Returns:
the square of the pixel distance