ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Private Attributes | List of all members
StillImage Class Reference

always return the same image More...

#include <TestFrameSource.h>

Inheritance diagram for StillImage:
Inheritance graph
Collaboration diagram for StillImage:
Collaboration graph

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 RegionInfoGetInfo (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< FrameObsFindObserver (const std::string &s) const
 

Private Attributes

GCPointer< ImageHoldercurImg
 
int n
 

Additional Inherited Members

- Protected Member Functions inherited from FrameObsSupport
void FireFrameNotification (IplImage *img, int frameNr) const
 
void FireRegionNotification (const std::vector< RegionInfo > &regions) const
 

Detailed Description

always return the same image

See Also
FrameSource

Definition at line 133 of file TestFrameSource.h.

Constructor & Destructor Documentation

StillImage::StillImage ( const char *  filename)

Definition at line 137 of file TestFrameSource.h.

References curImg.

Member Function Documentation

void StillImage::FireNotification ( )
int StillImage::GetFrameNr ( ) const
virtual

Implements FrameSource.

Definition at line 154 of file TestFrameSource.h.

References n.

Referenced by FireNotification().

IplImage* StillImage::GetNextFrame ( )
virtual
Returns
NULL when nothing to get

Implements FrameSource.

Definition at line 143 of file TestFrameSource.h.

References curImg, ImageHolder::GetImage(), and n.

Referenced by FireNotification().

Member Data Documentation

GCPointer<ImageHolder> StillImage::curImg
private

Definition at line 134 of file TestFrameSource.h.

Referenced by GetNextFrame(), and StillImage().

int StillImage::n
private

Definition at line 135 of file TestFrameSource.h.

Referenced by GetFrameNr(), and GetNextFrame().


The documentation for this class was generated from the following file:


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)