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
}