QCamFindShift Class Reference

Base class for classes used to tind the shift between succesives frames. More...

#include <QCamFindShift.hpp>

Inheritance diagram for QCamFindShift:

Inheritance graph
[legend]
Collaboration diagram for QCamFindShift:

Collaboration graph
[legend]
List of all members.

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().

Detailed Description

Base class for classes used to tind the shift between succesives frames.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Sat Oct 27 09:21:08 2007 for QastroCam by  doxygen 1.5.1