|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectholoedit.functions.ScriptEditorFunctions
public final class ScriptEditorFunctions
This class provides some methods whose names are easily understandable, and that can be used directly in the textArea of the script editor window.
Constructor Summary | |
---|---|
private |
ScriptEditorFunctions()
ScriptEditorFunctions is non-instantiable. |
Method Summary | |
---|---|
static java.util.Vector<java.util.Vector<java.lang.Double>> |
getAllDataAtTime(holoedit.data.HoloSDIFdata sdifdata,
double time)
Returns the values corresponding to the given time if the given time is equal to a key of the holoSDIFdata's map. |
static int |
getBeginDate(holoedit.gui.GestionPistes gp)
Returns the date at which the score selection begins. |
static int |
getDuration(holoedit.gui.GestionPistes gp)
Returns the length of the score selection. |
static int |
getEndDate(holoedit.gui.GestionPistes gp)
Returns the date at which the score selection is ending. |
static java.util.Vector<java.lang.Double> |
getFieldAtTime(holoedit.data.HoloSDIFdata sdifdata,
double time,
int fieldIndex)
Returns The field corresponding to the given field index at the given time if the given time is equal to a key of the holoSDIFdata's map. |
static holoedit.data.HoloSDIFdata |
getSDIFdata(holoedit.gui.GestionPistes gp,
java.lang.String sdifdataDesc)
Returns the holoSDIFdata that corresponds to the given description sdifdataDesc. |
static java.lang.Object[] |
getTimes(holoedit.data.HoloSDIFdata sdifdata)
Returns an array of double values corresponding to the frame times of the given sdifdata, and listed in natural order. |
static double |
getTimesCount(holoedit.data.HoloSDIFdata sdifdata)
Returns the number of time samples that are contained by the given HoloSDIFdata. |
static int |
howManyDataAtTime(holoedit.data.HoloSDIFdata sdifdata,
double time)
Returns the number of values contained by the sdifdata at the given time |
static double |
maxFieldValue(holoedit.data.HoloSDIFdata sdifdata,
int fieldIndex)
Returns the largest value obtained from the sdifdata's field that corresponds to the given fieldIndex. |
static double |
meanFieldValue(holoedit.data.HoloSDIFdata sdifdata,
int fieldIndex)
Returns the mean value obtained from the sdifdata's field that corresponds to the given fieldIndex. |
static double |
minFieldValue(holoedit.data.HoloSDIFdata sdifdata,
int fieldIndex)
Returns the smallest value obtained from the sdifdata for the field corresponding to the given fieldIndex. |
static double |
rangeFieldValue(holoedit.data.HoloSDIFdata sdifdata,
int fieldIndex)
Returns the range (i.e. maxValue-minValue) of the sdifdata's field that corresponds to the given fieldIndex. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private ScriptEditorFunctions()
Method Detail |
---|
public static holoedit.data.HoloSDIFdata getSDIFdata(holoedit.gui.GestionPistes gp, java.lang.String sdifdataDesc)
gp
- do no pay attention to this parameter, just write "gp" (without quotes!).sdifdataDesc
- the description of an holoSDIFdata located in the score.
public static java.util.Vector<java.util.Vector<java.lang.Double>> getAllDataAtTime(holoedit.data.HoloSDIFdata sdifdata, double time)
public static java.util.Vector<java.lang.Double> getFieldAtTime(holoedit.data.HoloSDIFdata sdifdata, double time, int fieldIndex)
public static int howManyDataAtTime(holoedit.data.HoloSDIFdata sdifdata, double time)
public static java.lang.Object[] getTimes(holoedit.data.HoloSDIFdata sdifdata)
public static double getTimesCount(holoedit.data.HoloSDIFdata sdifdata)
public static double minFieldValue(holoedit.data.HoloSDIFdata sdifdata, int fieldIndex)
public static double maxFieldValue(holoedit.data.HoloSDIFdata sdifdata, int fieldIndex)
public static double meanFieldValue(holoedit.data.HoloSDIFdata sdifdata, int fieldIndex)
public static double rangeFieldValue(holoedit.data.HoloSDIFdata sdifdata, int fieldIndex)
public static int getBeginDate(holoedit.gui.GestionPistes gp)
gp
- do no pay attention to this parameter, just write "gp" (without quotes!).
public static int getEndDate(holoedit.gui.GestionPistes gp)
gp
- do no pay attention to this parameter, just write "gp" (without quotes!).
public static int getDuration(holoedit.gui.GestionPistes gp)
gp
- do no pay attention to this parameter, just write "gp" (without quotes!).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |