Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Visualization::VideoJpgPlayer Class Reference

#include <VideoJpgPlayer.h>

Inheritance diagram for Impala::Visualization::VideoJpgPlayer:

Inheritance graph
[legend]
Collaboration diagram for Impala::Visualization::VideoJpgPlayer:

Collaboration graph
[legend]
List of all members.

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

VideoJpgPlayerListenermListener
void * mListenerData
char mNameBuf [2048]
Array2dVec3UInt8mArray
VideomVideo
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

Detailed Description

Definition at line 47 of file VideoJpgPlayer.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:49:23 2010 for ImpalaSrc by  doxygen 1.5.1