public class LayerMC
extends nxm.sys.libg.Layer
Modifier and Type | Field and Description |
---|---|
float[] |
fbuf |
nxm.sys.libg.MImage |
mimage |
static java.lang.String |
processList |
static java.lang.String |
scalingList |
static java.lang.String |
typeList |
float[] |
wind |
static java.lang.String |
windowList |
a1, a2, cmap, colors, comment, configureList, data, DEF_EFFECTS, defmode, E_INVERT_COLORS, E_REVERSE_COLORS, effects, effectsList, enable, feature, frame, fseek, fx1, fx2, fy1, fy2, fz1, fz2, isDone, isPaged, isReset, line, MP, name, ncolors, ndata, needRefresh, pf, realtime, scaleable, size, stype, time, typeClass, x1, x2, xdelta, xstart, y1, y2, ydelta, ystart, z1, z2, zaxis, zd, zdelta, zstart
Constructor and Description |
---|
LayerMC() |
Modifier and Type | Method and Description |
---|---|
void |
draw(int flag)
dray the layer on the specified plot
|
void |
findRange()
Find layer bounds.
|
double |
getAutoScaleRatio() |
int |
getData(int mode)
get the next available data from the input source
|
double |
getDbRange() |
double |
getMax() |
double |
getMaxRange() |
double |
getMin() |
double |
getMinRange() |
int |
getNChan() |
int |
getNFft() |
int |
getNX() |
int |
getNY() |
java.lang.String |
getProcess() |
java.lang.String |
getReadOut(nxm.sys.lib.Position mp)
Gets the readout for the plot at a given cursor position.
|
java.lang.String |
getScaling() |
java.lang.String |
getType() |
java.lang.String |
getWindow() |
void |
process()
process the plot data for this frame
|
void |
processEnv() |
void |
processFFT() |
void |
processHist() |
void |
processMag() |
void |
processRaw() |
int |
select() |
void |
select(nxm.sys.lib.Position pos) |
void |
setAutoScaleRatio(double value) |
void |
setDbRange(double db) |
boolean |
setFile(nxm.sys.inc.PlotFile pf,
nxm.sys.lib.Table tab,
nxm.sys.lib.Args MA)
setup to attach a file
|
void |
setMax(double value) |
void |
setMaxRange(double value) |
void |
setMin(double value) |
void |
setMinRange(double value) |
void |
setNChan(int n) |
void |
setNFft(int nfft) |
void |
setNX(int n) |
void |
setNY(int n) |
void |
setProcess(java.lang.String process) |
void |
setScaling(java.lang.String value) |
void |
setType(java.lang.String typeName) |
void |
setWindow(java.lang.String wname) |
void |
setYX(boolean state) |
int |
single() |
void |
single(int channel) |
int |
skip() |
void |
skip(int frames) |
void |
update()
reset the Complex mode
|
clear, clearNeedRefresh, close, configure, drawDataSegment, findFullRange, findFullRange, getColor, getColorMap, getComment, getDefaultComplexMode, getDefaultView, getEffect, getEffects, getEnable, getEnableString, getFeature, getFile, getFrame, getHiX, getHiXD, getLayer, getLayer, getLayerType, getLegendEntry, getLegendSubEntries, getLine, getName, getNearestYValue, getNearestYValue, getNeedRefresh, getNeedsRescale, getNextLink, getPosAtTime, getPrevLink, getRef, getScale, getSize, getSymbol, getTime, getTime, getX1, getx1i, getX2, getx2i, getXDelta, getXMax, getXMin, getXStart, getXUnits, getXUnitsName, getY1, getY2, getYDelta, getYMax, getYMin, getYPosAtTime, getYStart, getYUnits, getYUnitsName, getZ1, getZ2, getZDelta, getZMax, getZMin, getZStart, getZUnits, getZUnitsName, init, invertColorMap, isBlank, isEnabled, isPaged, isTimeAlign, isViewSupported, isVisible, process, processMessage, processMouseMessage, refresh, refresh, reread, reset, reverseColorMap, setColor, setColor, setColor, setColorMap, setColorMap, setColorMap, setColorMap, setColors, setComment, setData, setEffects, setEffects, setEnable, setEnable, setFile, setFrame, setHiColor, setHiMode, setHiX, setHiXD, setInvertColorMap, setLayerType, setMPlot, setName, setRealTime, setRef, setReverseColorMap, setScale, setScale, setSize, setSurface, setSurface, setTime, setTimeAlign, setX, setX1, setX2, setXAxis, setXBounds, setXDelta, setXMax, setXMin, setXStart, setXUnits, setXUnits, setY, setY1, setY2, setYAxis, setYBounds, setYDelta, setYMax, setYMin, setYStart, setYUnits, setYUnits, setZ, setZ1, setZ2, setZAxis, setZBounds, setZDelta, setZMax, setZMin, setZStart, setZUnits, setZUnits, toggle, toString
public float[] fbuf
public float[] wind
public nxm.sys.libg.MImage mimage
public static java.lang.String typeList
public static java.lang.String processList
public static java.lang.String windowList
public static java.lang.String scalingList
public boolean setFile(nxm.sys.inc.PlotFile pf, nxm.sys.lib.Table tab, nxm.sys.lib.Args MA)
setFile
in class nxm.sys.libg.Layer
public void update()
update
in class nxm.sys.libg.Layer
public void setNChan(int n)
public int getNChan()
public void setNX(int n)
public int getNX()
public void setNY(int n)
public int getNY()
public void setWindow(java.lang.String wname)
public java.lang.String getWindow()
public void setProcess(java.lang.String process)
public java.lang.String getProcess()
public void setType(java.lang.String typeName)
public java.lang.String getType()
public void setNFft(int nfft)
public int getNFft()
public void setMin(double value)
public double getMin()
public void setMax(double value)
public double getMax()
public void setMinRange(double value)
public double getMinRange()
public void setMaxRange(double value)
public double getMaxRange()
public void setDbRange(double db)
public double getDbRange()
public void setAutoScaleRatio(double value)
public double getAutoScaleRatio()
public void setScaling(java.lang.String value)
public java.lang.String getScaling()
public int getData(int mode)
getData
in class nxm.sys.libg.Layer
mode
- always 0Drawable
public void process()
process
in class nxm.sys.libg.Layer
public void processFFT()
public void processRaw()
public void processMag()
public void processHist()
public void processEnv()
public void findRange()
nxm.sys.libg.Layer
Layer
simply sets the range from 0 to 1.findRange
in class nxm.sys.libg.Layer
public void draw(int flag)
draw
in interface nxm.sys.inc.Drawable
draw
in class nxm.sys.libg.Layer
flag
- The draw mode to use. This should be one of:
Drawable.DONE
, Drawable.FULL
, Drawable.DATA
, Drawable.DATAX
, or Drawable.FAST
.public void select(nxm.sys.lib.Position pos)
public int select()
public void single(int channel)
public int single()
public void skip(int frames)
public int skip()
public java.lang.String getReadOut(nxm.sys.lib.Position mp)
nxm.sys.libg.Layer
Layer2D
: "[layerName] (z=value +- delta-z)".getReadOut
in class nxm.sys.libg.Layer
mp
- The position on the plot.Layer
typically returns null.public void setYX(boolean state)