ACT-CV - Machine Vision for Cognitive Modeling
|
always return the same image More...
#include <TestFrameSource.h>
Public Member Functions | |
StillImage (const char *filename) | |
IplImage * | GetNextFrame () |
void | FireNotification () |
int | GetFrameNr () const |
Public Member Functions inherited from FrameSource | |
virtual | ~FrameSource () |
virtual double | GetFPS () const |
frames per second More... | |
virtual size_t | GetNumInfos () const |
virtual const RegionInfo & | GetInfo (size_t idx) const |
Public Member Functions inherited from ReferenceCount | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
Public Member Functions inherited from FrameObsSupport | |
void | AddObserver (const GCPointer< FrameObs > &obs) |
void | RemoveObserver (const GCPointer< FrameObs > &obs) |
remove obs from the list of observers More... | |
GCPointer< FrameObs > | FindObserver (const std::string &s) const |
Private Attributes | |
GCPointer< ImageHolder > | curImg |
int | n |
Additional Inherited Members | |
Protected Member Functions inherited from FrameObsSupport | |
void | FireFrameNotification (IplImage *img, int frameNr) const |
void | FireRegionNotification (const std::vector< RegionInfo > ®ions) const |
StillImage::StillImage | ( | const char * | filename) |
Definition at line 137 of file TestFrameSource.h.
References curImg.
void StillImage::FireNotification | ( | ) |
Definition at line 148 of file TestFrameSource.h.
References FrameObsSupport::FireFrameNotification(), GetFrameNr(), and GetNextFrame().
|
virtual |
Implements FrameSource.
Definition at line 154 of file TestFrameSource.h.
References n.
Referenced by FireNotification().
|
virtual |
Implements FrameSource.
Definition at line 143 of file TestFrameSource.h.
References curImg, ImageHolder::GetImage(), and n.
Referenced by FireNotification().
|
private |
Definition at line 134 of file TestFrameSource.h.
Referenced by GetNextFrame(), and StillImage().
|
private |
Definition at line 135 of file TestFrameSource.h.
Referenced by GetFrameNr(), and GetNextFrame().