|
ACT-CV - Machine Vision for Cognitive Modeling
|
a FrameSource that uses java.awt.Robot to grab the screen
More...
#include <RobotFrameSource.h>


Public Member Functions | |
| RobotFrameSource (Robot *r) | |
| virtual | ~RobotFrameSource () |
| void | SetSize (int left, int top, int right, int bottom) |
| IplImage * | GetNextFrame () |
| 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 () |
Private Attributes | |
| Robot * | robot |
| int | n |
| int | left |
| int | top |
| int | right |
| int | bottom |
| IplImage * | lastImage |
a FrameSource that uses java.awt.Robot to grab the screen
Definition at line 34 of file RobotFrameSource.h.
| RobotFrameSource::RobotFrameSource | ( | Robot * | r) |
| r | Don't create my own Robot: only one VM per process!! |
Definition at line 29 of file RobotFrameSource.cpp.
|
virtual |
Definition at line 33 of file RobotFrameSource.cpp.
References lastImage.
|
virtual |
|
virtual |
Implements FrameSource.
Definition at line 37 of file RobotFrameSource.cpp.
References bottom, Robot::GetScreenCapture(), lastImage, left, MHDBGMSG, n, right, robot, and top.
| void RobotFrameSource::SetSize | ( | int | left, |
| int | top, | ||
| int | right, | ||
| int | bottom | ||
| ) |
Definition at line 51 of file RobotFrameSource.h.
References bottom, left, right, and top.
Referenced by main(), and SelectSourceInternal().
|
private |
Definition at line 41 of file RobotFrameSource.h.
Referenced by GetNextFrame(), and SetSize().
|
private |
Definition at line 43 of file RobotFrameSource.h.
Referenced by GetNextFrame(), and ~RobotFrameSource().
|
private |
Definition at line 38 of file RobotFrameSource.h.
Referenced by GetNextFrame(), and SetSize().
|
private |
Definition at line 36 of file RobotFrameSource.h.
Referenced by GetFrameNr(), and GetNextFrame().
|
private |
Definition at line 40 of file RobotFrameSource.h.
Referenced by GetNextFrame(), and SetSize().
|
private |
Definition at line 35 of file RobotFrameSource.h.
Referenced by GetNextFrame().
|
private |
Definition at line 39 of file RobotFrameSource.h.
Referenced by GetNextFrame(), and SetSize().