public class LayerMC
extends nxm.sys.libg.Layer
| Modifier and Type | Field and Description |
|---|---|
float[] |
fbs |
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, RR_AUTO, RR_DISABLED, RR_DISABLED_BUT_CALC_STATS, 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() |
int |
getMCSchan(byte[] buf) |
double |
getMin() |
double |
getMinRange() |
int |
getNAvg() |
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() |
int |
getSelect() |
java.lang.String |
getType() |
java.lang.String |
getWindow() |
void |
process()
process the plot data for this frame
|
void |
processAvg(float[] fbuf,
int n) |
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 |
setKeep(int ratio) |
void |
setMax(double value) |
void |
setMaxRange(double value) |
void |
setMCS(int nc) |
void |
setMin(double value) |
void |
setMinRange(double value) |
void |
setNAvg(int navg) |
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 |
setSelect(int chan) |
void |
setSelectColor(java.lang.String cstr) |
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, getDebugMask, getDefaultComplexMode, getDefaultView, getEffect, getEffects, getElementsPerScreen, getEnable, getEnableString, getFeature, getFile, getFrame, getGroup, getHiX, getHiXD, getInputDataRate, getLayer, getLayer, getLayerType, getLegendEntry, getLegendSubEntries, getLine, getMaxSkipMultiplier, getMidas, getMPlot, getName, getNearestYValue, getNearestYValue, getNeedRefresh, getNeedsRescale, getNextLink, getNumberFontLarge, getNumberFontMedium, getNumberFontSmall, getPosAtTime, getPrevLink, getRef, getRefreshRate, getRefreshSmoothingFactor, 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, isAtPosition, isBaseLayer, isBlank, isEnabled, isPaged, isTimeAlign, isViewSupported, isVisible, makeBaseLayer, process, processMessage, processMouseMessage, refresh, refresh, reread, reset, reverseColorMap, setBaseLayer, setColor, setColor, setColor, setColorMap, setColorMap, setColorMap, setColorMap, setColors, setComment, setData, setDebugMask, setEffects, setEffects, setEnable, setEnable, setFile, setFrame, setGroup, setHiColor, setHiMode, setHiX, setHiXD, setInvertColorMap, setLabel, setLargeFactor, setLayerType, setMaxSkipMultiplier, setMediumFactor, setMPlot, setName, setRealTime, setRef, setRef, setRefreshRate, setRefreshSmoothingFactor, setReverseColorMap, setScale, setScale, setSize, setSmallFactor, setSurface, setSurface, setThreeDGraphMarginFactor, 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, testSlidingMinMax, toggle, toStringpublic float[] fbuf
public float[] wind
public float[] fbs
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.Layerpf - The plot file (cannot be null).tab - table of optionsMA - command line argumentstrue when the file has been opened, false if the file can not
be opened (or indicates the file is not supported by this layer).public void setKeep(int ratio)
public void update()
update in class nxm.sys.libg.Layerpublic 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 setMCS(int nc)
public void setNFft(int nfft)
public int getNFft()
public void setNAvg(int navg)
public int getNAvg()
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.Layermode - always 0Drawablepublic void process()
process in class nxm.sys.libg.Layerpublic void processAvg(float[] fbuf,
int n)
public void processFFT()
public void processRaw()
public void processMag()
public void processHist()
public void processEnv()
public void findRange()
nxm.sys.libg.LayerLayer simply sets the range from 0 to 1.
Note: The overriding method is responsible for setting all these fields:
x1,x2 - Minimum and Maximum x-axis value
y1,y2 - Minimum and Maximum y-axis value
z1,z2 - Minimum and Maximum z-axis value
a1,a2 - Minimum and Maximum actual auto-scale value (default 0,0)findRange in interface nxm.sys.inc.DrawablefindRange in class nxm.sys.libg.Layerpublic void draw(int flag)
draw in interface nxm.sys.inc.Drawabledraw in class nxm.sys.libg.Layerflag - 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 int getSelect()
public void setSelect(int chan)
public void setSelectColor(java.lang.String cstr)
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.LayerLayer2D: "[layerName] (z=value +- delta-z)".getReadOut in class nxm.sys.libg.Layermp - The position on the plot.Layer typically returns null.public void setYX(boolean state)
public int getMCSchan(byte[] buf)