Previous Next Contents

5.10   FrameSet Editing






5.10.1   PmCutFrameSet

Synopsis
PmFrameSet PmCutFrameSet (PmFrameSet aFS, float tInf, float tSup)
Removes the set of frames in the interval [tInf;tSup], and connects the extremities of the remaining portions of FrameSet aFS.

Returns a new FrameSet which contains the removed set of frames.

NULL if there is no frame in the interval [tInf;tSup], or if there is no available memory to perform the operation.






5.10.2   PmInsertFrameSet

Synopsis
void PmInsertFrameSet (PmFrameSet aFS, PmFrameSet insFS, float tIns)
Inserts FrameSet insFS at time tIns of FrameSet aFS.

Returns

1 if insertion is successful.

0 if insertion time tIns is outside the definition interval of FrameSet aFS.

-1 if there is no available memory to perform the operation.






5.10.3   PmCopyFrameSet

Synopsis
PmFrameSet PmCopyFrameSet (PmFrameSet aFS, float tInf, float tSup)
Copies the set of frames in the interval [tInf;tSup] of FrameSet aFS.

Returns a new FrameSet which contains the copied set of frames.

NULL if there is no frame in the interval [tInf;tSup], or if there is no available memory to perform the operation.






5.10.4   PmShiftFrameSet

Synopsis
int PmShiftFrameSet (PmFrameSet aFS, int nb_of_frames)
Shifts to the left nb_of_frames frames of FrameSet aFS.

nb_of_frames is automatically limited to the number of active frames of FrameSet aFS.






5.10.5   PmReverseFrameSet

Synopsis
void PmReverseFrameSet (PmFrameSet aFS, float tInf, float tSup)
Reverses the set of frames in the interval [tInf;tSup] of FrameSet aFS.



Formatted and maintained by Diemo Schwarz --- last change
Previous Next Contents