Camstream: CamStream API documentation

Main Page Class Hierarchy Compound List File List Compound Members File Members

# DiffPanel.h

Go to the documentation of this file.

    00001
    00002 #ifndef DIFFPANEL_HPP
    00003 #define DIFFPANEL_HPP
    00004
    00005 #include "CamPanel.h"
    00006
    00007 class CDiffPanel: public CCamPanel
    00008 {
    00009    Q_OBJECT
    00010 private:
    00011    CCamPanel *pPanel1, *pPanel2;
    00012    int Pixels, Scale;
    00013
    00014    void Calculate(int n, void *dst, void *src1, void *src2);
    00015
    00016 public:
    00017    CDiffPanel(CCamPanel *p1, CCamPanel *p2, int scale,
    00018               const char *name = "difference", const char *desc = "Difference");
    00019
    00020 public slots:
    00021    virtual void UpdatePanel();
    00022    virtual void SetSize(const QSize &new_size);
    00023 };
    00024
    00025 #endif