HDK
|
#include <UT_Playback.h>
Public Types | |
enum | UT_PlaybackMode { REVERSE, STOPPED, FORWARD, SCRUB, RESET, FLIPBOOKING } |
Public Member Functions | |
UT_Playback () | |
void | setPlaybackMode (UT_PlaybackMode mode) |
UT_PlaybackMode | getPlaybackMode () const |
int | getStopCount () const |
void | setRealtimeMode (bool mode) |
bool | getRealtimeMode () const |
void | setPlaybackRange (fpreal start, fpreal end) |
void | getPlaybackRange (fpreal &start, fpreal &end) const |
bool | isPlaybackReset () |
bool | isPlaying () const |
bool | isScrubbing () const |
void | setCurrentFrame (fpreal frame) |
fpreal | getCurrentFrame () |
void | resetAbsoluteFrame () |
unsigned long | getAbsoluteFrame () |
void | stopPlayback () |
void | setStopCallback (void(*cb)(void *), void *data) |
void | setInterceptMode (int mode) |
int | getInterceptMode () const |
void | setEvalStartTime (fpreal eval_start_time) |
fpreal | getEvalStartTime () const |
void | addPlayCallback (UT_PlayCallback cb, void *cbdata) |
void | removePlayCallback (UT_PlayCallback cb, void *cbdata) |
void | addPlayAdvanceCB (UT_PlayAdvanceCB, void *cbdata) |
void | removePlayAdvanceCB (UT_PlayAdvanceCB, void *cbdata) |
bool | canAdvancePlay () |
Static Public Member Functions | |
static UT_Playback * | getPlayback () |
Definition at line 32 of file UT_Playback.h.
Enumerator | |
---|---|
REVERSE | |
STOPPED | |
FORWARD | |
SCRUB | |
RESET | |
FLIPBOOKING |
Definition at line 38 of file UT_Playback.h.
UT_Playback::UT_Playback | ( | ) |
void UT_Playback::addPlayAdvanceCB | ( | UT_PlayAdvanceCB | , |
void * | cbdata | ||
) |
void UT_Playback::addPlayCallback | ( | UT_PlayCallback | cb, |
void * | cbdata | ||
) |
bool UT_Playback::canAdvancePlay | ( | ) |
|
inline |
Definition at line 77 of file UT_Playback.h.
|
inline |
Definition at line 74 of file UT_Playback.h.
|
inline |
Definition at line 87 of file UT_Playback.h.
|
inline |
Definition at line 84 of file UT_Playback.h.
|
static |
|
inline |
Definition at line 50 of file UT_Playback.h.
Definition at line 65 of file UT_Playback.h.
|
inline |
Definition at line 59 of file UT_Playback.h.
|
inline |
Definition at line 53 of file UT_Playback.h.
bool UT_Playback::isPlaybackReset | ( | ) |
|
inline |
Definition at line 69 of file UT_Playback.h.
|
inline |
Definition at line 71 of file UT_Playback.h.
void UT_Playback::removePlayAdvanceCB | ( | UT_PlayAdvanceCB | , |
void * | cbdata | ||
) |
void UT_Playback::removePlayCallback | ( | UT_PlayCallback | cb, |
void * | cbdata | ||
) |
void UT_Playback::resetAbsoluteFrame | ( | ) |
Definition at line 86 of file UT_Playback.h.
Definition at line 83 of file UT_Playback.h.
void UT_Playback::setPlaybackMode | ( | UT_PlaybackMode | mode | ) |
Definition at line 62 of file UT_Playback.h.
|
inline |
Definition at line 56 of file UT_Playback.h.
void UT_Playback::stopPlayback | ( | ) |