HeightToolRep:
TYPE ~
RECORD [
user flags
drawX: BOOL ¬ TRUE,
drawY: BOOL ¬ TRUE,
hiddenLines: BOOL ¬ TRUE,
system values
nSamples: INT ¬ 100, -- total # of samples in 2d grid
zScale: REAL ¬ 1.0, -- scale factor for sample height
xRange: RealRange ¬ [-1.0, 1.0], -- x evaluation
yRange: RealRange ¬ [-1.0, 1.0], -- y evaluation
nXSamples: CARDINAL ¬ 15, -- resolution in x
nYSamples: CARDINAL ¬ 15, -- resolution in y
epsilon: REAL ¬ 0.99, -- x resolution discriminator
yOffset: INT ¬ 0, -- moves plot in y
clientData: REF ANY ¬ NIL, -- passed to heightProc
heightProc: HeightProc ¬ NIL, -- callback proc to compute height
prepareProc: PrepareProc ¬ NIL, -- callback proc to prep new plot
heightField: HeightField ¬ NIL, -- heights to plot
outer: Viewer ¬ NIL, -- parent LF viewer
typescript: Typescript ¬ NIL, -- for user io
graphics: Viewer ¬ NIL, -- graphical LF viewer
drawProcess: Process ¬ NIL, -- forked drawing process
outerData: OuterData ¬ NIL -- Control's data record
];