#include <QCamFindShift.hpp>
Inheritance diagram for QCamFindShift:


Public Slots | |
| void | reset () |
| forget current reference | |
Public Member Functions | |
| virtual QWidget * | buildGUI (QWidget *parent) |
| build the GUI related tgo the camera client. | |
Protected Slots | |
| void | newFrame () |
| Slot to implement. | |
Protected Member Functions | |
| void | camConnected () |
| is called whne the current cam is deconnected. | |
| void | camDisconnected () |
| is called when a cam is connected. | |
| virtual bool | registerFirstFrame ()=0 |
| to register the firt frame which will be the reference. | |
| virtual bool | findShift (ShiftInfo &shift)=0 |
| return the shift beetween the current frame and the one used as reference by registerFirstFrame(). | |
| QWidget * QCamFindShift::buildGUI | ( | QWidget * | parent | ) | [virtual] |
build the GUI related tgo the camera client.
buildGUI of base class should also be called
Reimplemented from QCamClient.
Reimplemented in QCamFindShift_hotSpot.
| virtual bool QCamFindShift::registerFirstFrame | ( | ) | [protected, pure virtual] |
to register the firt frame which will be the reference.
return true if the registration is succesfull. Will be called until one call is successful.
Implemented in QCamFindShift_barycentre, and QCamFindShift_hotSpot.
| virtual bool QCamFindShift::findShift | ( | ShiftInfo & | shift | ) | [protected, pure virtual] |
return the shift beetween the current frame and the one used as reference by registerFirstFrame().
if shift not found, return false.
Implemented in QCamFindShift_barycentre, and QCamFindShift_hotSpot.
| void QCamFindShift::newFrame | ( | ) | [protected, virtual, slot] |
Slot to implement.
is is called for every new frame. Use cam().yuvFrame() to acces the to frame.
Implements QCamClient.
1.5.1