|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectholoedit.data.SDIFdataInstance
public class SDIFdataInstance
Field Summary | |
---|---|
private int |
begTime
|
static int |
CURSOR_CUE
|
static int |
CURSOR_CUE_LOOP
|
private double |
firstKey
|
private GestionPistes |
gpRef
|
private HoloSDIFdata |
hsdifdt
|
private java.lang.String |
hxtdtName
|
private int |
indexFirstKey
|
private int |
indexLastKey
|
private double |
lastKey
|
private WaveFormInstance |
linkedWaveFormInstance
|
private int |
listIDScore
|
private int |
listIDTimeEditor
|
static int |
LOOP_AFTER_CUE
|
static int |
LOOP_BEGIN_CUE
|
static int |
LOOP_END_CUE
|
static int |
LOOP_IN_CUE
|
private boolean |
performChangeOnTreeMap
|
private boolean |
reversed
|
static int |
SPEC_CUE_NB
|
static int |
SPEC_CUE_OFFSET
|
private boolean |
timeEdGUIdirty
|
Constructor Summary | |
---|---|
SDIFdataInstance(GestionPistes gp,
HoloSDIFdata hdt,
int _beg)
|
|
SDIFdataInstance(GestionPistes gp,
HoloSDIFdata hdt,
int _beg,
WaveFormInstance waveFormInstance)
|
|
SDIFdataInstance(GestionPistes gp,
java.lang.String hdtName,
int begin,
int indexFirstKey,
int indexLastKey,
double firstKey,
double lastKey,
boolean reversed,
WaveFormInstance linkedWaveFormInstance)
|
Method Summary | |
---|---|
private boolean |
createList(javax.media.opengl.GL gl,
HoloSDIFdata holosdifdata)
|
SDIFdataInstance |
cut(int dateBegin,
int dateEnd)
on enleve tous les points entre dateBegin & dateEnd on retourne une nouvelle instance basŽe sur la fin du sdif. |
SDIFdataInstance |
cutAt(int date)
|
boolean |
cutBegin(int dateBegin)
on enleve toutes les valeurs jusqu'ˆ dateBegin. |
boolean |
cutEnd(int dateEnd)
on enleve toutes les valeurs ˆ partir de dateEnd. |
void |
drawMovedSquare(javax.media.opengl.GL gl,
java.awt.Color c,
int begin,
int end,
float b,
float e,
boolean type)
|
void |
drawScore(javax.media.opengl.GL gl,
java.awt.Color c,
int begin,
int end,
boolean render,
int tkNum,
int seqNum,
int selIndex,
java.util.Vector<SDIFdataInstance> selDatas,
int pixelNum,
boolean nosmoothenabled,
int selMode)
|
void |
drawScoreSquare(javax.media.opengl.GL gl,
HoloTrack tk,
float dX)
|
void |
drawTime(javax.media.opengl.GL gl,
java.awt.Color color,
int begin,
int end,
int pixelNum)
|
SDIFdataInstance |
dupliquer()
|
SDIFdataInstance |
dupliquer(WaveFormInstance wave)
|
HoloSDIFdata |
getData()
|
java.util.Vector<java.util.Vector<java.lang.Double>> |
getDataAtTime(double time)
Returns the values corresponding to the given SCORE time in ms. |
double |
getDataAtTimeField(double time,
int field)
Returns the field value corresponding to this key if the given time is equal to a key of the holoSDIFdata's sdiftreeMap. |
int |
getDuration()
|
java.util.Vector<java.lang.Double> |
getFieldAtTime(double time,
int fieldIndex)
Returns the field corresponding to the given time. |
int |
getFirstDate()
return the date of the score at which the data begins |
int |
getLastDate()
|
WaveFormInstance |
getLinkedWaveForm()
|
java.lang.String |
getName()
|
java.lang.Double[] |
getTimes()
|
boolean |
hasDataAtTime(double time)
Returns false is returned if the sdifTreeMap is empty or if the time we look for is out of the treeMap keyset range. |
boolean |
isEmpty()
Returns true if this SDIFdataInstance is empty. |
double |
localToScoreTime(double ltime)
|
void |
move(int dateBegin)
dŽplacement de tous les points ˆ la date de dŽpart dateBegin |
void |
moveBegin(int dateBegin)
|
void |
moveEnd(int dateEnd)
|
void |
performStrechNcutNreverse(int begin,
int indexFirstKey,
int indexLastKey,
double firstKey,
double lastKey,
boolean reversed)
used when creating an instance from a .holo File |
double |
scoreToLocalTime(double stime)
|
void |
setBegTime(int i)
|
void |
setDirty(boolean val)
fonction de demande de mise ˆ jour gŽnŽrale |
void |
setDirty(int mask)
|
void |
shiftDates(int date)
|
java.lang.String |
toString()
|
java.lang.String |
toString2()
used to write in the .holo file |
void |
update()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int LOOP_BEGIN_CUE
public static final int LOOP_IN_CUE
public static final int LOOP_END_CUE
public static final int LOOP_AFTER_CUE
public static final int CURSOR_CUE_LOOP
public static final int CURSOR_CUE
public static final int SPEC_CUE_NB
public static final int SPEC_CUE_OFFSET
private HoloSDIFdata hsdifdt
private int begTime
private java.lang.String hxtdtName
private GestionPistes gpRef
private int listIDScore
private int listIDTimeEditor
private WaveFormInstance linkedWaveFormInstance
private boolean timeEdGUIdirty
private boolean performChangeOnTreeMap
private int indexFirstKey
private int indexLastKey
private double firstKey
private double lastKey
private boolean reversed
Constructor Detail |
---|
public SDIFdataInstance(GestionPistes gp, java.lang.String hdtName, int begin, int indexFirstKey, int indexLastKey, double firstKey, double lastKey, boolean reversed, WaveFormInstance linkedWaveFormInstance)
public SDIFdataInstance(GestionPistes gp, HoloSDIFdata hdt, int _beg)
public SDIFdataInstance(GestionPistes gp, HoloSDIFdata hdt, int _beg, WaveFormInstance waveFormInstance)
Method Detail |
---|
public SDIFdataInstance dupliquer()
public SDIFdataInstance dupliquer(WaveFormInstance wave)
public void update()
public HoloSDIFdata getData()
public boolean isEmpty()
HoloSDIFdata.isEmpty()
public double scoreToLocalTime(double stime)
public double localToScoreTime(double ltime)
public java.util.Vector<java.util.Vector<java.lang.Double>> getDataAtTime(double time)
public double getDataAtTimeField(double time, int field)
public boolean hasDataAtTime(double time)
public java.lang.Double[] getTimes()
public java.util.Vector<java.lang.Double> getFieldAtTime(double time, int fieldIndex)
public WaveFormInstance getLinkedWaveForm()
public java.lang.String getName()
public int getFirstDate()
public int getLastDate()
public void setBegTime(int i)
public void move(int dateBegin)
public void shiftDates(int date)
public int getDuration()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString2()
public void drawScoreSquare(javax.media.opengl.GL gl, HoloTrack tk, float dX)
public void drawMovedSquare(javax.media.opengl.GL gl, java.awt.Color c, int begin, int end, float b, float e, boolean type)
public void drawScore(javax.media.opengl.GL gl, java.awt.Color c, int begin, int end, boolean render, int tkNum, int seqNum, int selIndex, java.util.Vector<SDIFdataInstance> selDatas, int pixelNum, boolean nosmoothenabled, int selMode)
public void drawTime(javax.media.opengl.GL gl, java.awt.Color color, int begin, int end, int pixelNum)
private boolean createList(javax.media.opengl.GL gl, HoloSDIFdata holosdifdata)
public void setDirty(boolean val)
public void setDirty(int mask)
public void moveBegin(int dateBegin)
public void moveEnd(int dateEnd)
public SDIFdataInstance cut(int dateBegin, int dateEnd)
public SDIFdataInstance cutAt(int date)
public boolean cutBegin(int dateBegin)
public boolean cutEnd(int dateEnd)
public void performStrechNcutNreverse(int begin, int indexFirstKey, int indexLastKey, double firstKey, double lastKey, boolean reversed) throws java.lang.NullPointerException
begin
- indexFirstKey
- indexLastKey
- firstKey
- lastKey
- reversed
-
java.lang.NullPointerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |