#include <VideoJpgPlayer.h>
Inheritance diagram for Impala::Visualization::VideoJpgPlayer:
Public Types | |
typedef Impala::Core::Array::Array2dVec3UInt8 | Array2dVec3UInt8 |
typedef OglGui::Window | Window |
Public Member Functions | |
VideoJpgPlayer (int x, int y, int w, int h, Video &video) | |
VideoJpgPlayer (Window *parent, int w, int h, Video &video) | |
VideoJpgPlayer (Window *parent, int x, int y, int w, int h, Video &video) | |
void | SetVideoJpgPlayerListener (VideoJpgPlayerListener *listener, void *userData) |
void | TimePerFrame (float seconds) |
float | TimePerFrame () |
void | NoKeyboardCommands (bool mode) |
bool | NoKeyboardCommands () |
int | FrameNr () |
void | OpenVideo (Video &video) |
void | SetShowMaxFrame (int frameNr) |
void | SetFirstFrame (int frameNr) |
void | SetLastFrame (int frameNr) |
float | GetTimePast (int frameNr) |
float | GetTimePast () |
void | Play () |
void | Stop () |
void | Reset () |
void | FFwd () |
void | FBwd () |
void | NextFrame (int inc=1) |
void | GoToFrame (int frameNr) |
bool | Playing () |
bool | FFwding () |
bool | FBwding () |
OGLVIEW * | OglView () |
void | FitViewToWindow (bool mode) |
bool | FitViewToWindow () |
void | ScaleImageToView (bool mode) |
bool | ScaleImageToView () |
void | NormalSpeed (bool mode) |
void | SetIncrement (int incr) |
virtual void | InitDisplayFunc () |
virtual void | DisplayFunc () |
virtual void | MouseFunc (int msg, int btn, int state, int x, int y) |
This function is called by the event handling system everytime the user has moved or clicked the mouse. | |
virtual void | KeyboardFunc (int c, int state) |
OGLIMAGE * | OglImageReadFirstFrame () |
Private Member Functions | |
void | ReadFrameIntoOglImage (OGLIMAGE *oglIm) |
void | Init (int w, int h) |
Private Attributes | |
VideoJpgPlayerListener * | mListener |
void * | mListenerData |
char | mNameBuf [2048] |
Array2dVec3UInt8 * | mArray |
Video * | mVideo |
OGLVIEW * | mOglView |
float | mTimePerFrame |
double | mLastTime |
bool | mNewFrame |
int | mLastReadFrameNr |
int | mFirstFrameNr |
int | mLastFrameNr |
int | mShowMaxFrameNr |
int | mFrameNr |
int | mIncrement |
int | mImW |
int | mImH |
int | mPower2W |
int | mPower2H |
bool | mLooping |
bool | mNoKeyboardCommands |
bool | mPlaying |
bool | mNormalSpeed |
bool | mFitViewToWindow |
bool | mScaleImageToView |
Definition at line 47 of file VideoJpgPlayer.h.