#include <UT_Playback.h>
Public Types | |
| enum | UT_PlaybackMode { REVERSE, STOPPED, FORWARD, SCRUB, RESET } |
Public Member Functions | |
| UT_Playback () | |
| ~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 (float &start, float &end) const |
| bool | isPlaybackReset () |
| 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 | addPlayCallback (UT_PlayCallback cb, void *cbdata) |
| void | removePlayCallback (UT_PlayCallback cb, void *cbdata) |
Static Public Member Functions | |
| static UT_Playback * | getPlayback () |
Definition at line 36 of file UT_Playback.h.
| UT_Playback::UT_Playback | ( | ) |
| UT_Playback::~UT_Playback | ( | ) |
| void UT_Playback::addPlayCallback | ( | UT_PlayCallback | cb, | |
| void * | cbdata | |||
| ) |
| unsigned long UT_Playback::getAbsoluteFrame | ( | ) | [inline] |
Definition at line 77 of file UT_Playback.h.
| fpreal UT_Playback::getCurrentFrame | ( | ) | [inline] |
Definition at line 74 of file UT_Playback.h.
| int UT_Playback::getInterceptMode | ( | ) | const [inline] |
Definition at line 84 of file UT_Playback.h.
| static UT_Playback* UT_Playback::getPlayback | ( | ) | [static] |
| UT_PlaybackMode UT_Playback::getPlaybackMode | ( | ) | const [inline] |
Definition at line 53 of file UT_Playback.h.
| void UT_Playback::getPlaybackRange | ( | float & | start, | |
| float & | end | |||
| ) | const [inline] |
Definition at line 68 of file UT_Playback.h.
| bool UT_Playback::getRealtimeMode | ( | ) | const [inline] |
Definition at line 62 of file UT_Playback.h.
| int UT_Playback::getStopCount | ( | ) | const [inline] |
Definition at line 56 of file UT_Playback.h.
| bool UT_Playback::isPlaybackReset | ( | ) |
| void UT_Playback::removePlayCallback | ( | UT_PlayCallback | cb, | |
| void * | cbdata | |||
| ) |
| void UT_Playback::resetAbsoluteFrame | ( | ) |
| void UT_Playback::setCurrentFrame | ( | fpreal | frame | ) |
| void UT_Playback::setInterceptMode | ( | int | mode | ) | [inline] |
Definition at line 83 of file UT_Playback.h.
| void UT_Playback::setPlaybackMode | ( | UT_PlaybackMode | mode | ) |
Definition at line 65 of file UT_Playback.h.
| void UT_Playback::setRealtimeMode | ( | bool | mode | ) | [inline] |
Definition at line 59 of file UT_Playback.h.
| void UT_Playback::setStopCallback | ( | void(*)(void *) | cb, | |
| void * | data | |||
| ) |
| void UT_Playback::stopPlayback | ( | ) |
1.5.9