33 lines
556 B
C
33 lines
556 B
C
|
|
/*
|
||
|
|
~ author: dviid
|
||
|
|
~ contact: dviid@labs.ciid.dk
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "AbstractAnalysis.h"
|
||
|
|
|
||
|
|
#include "Poco/Timer.h"
|
||
|
|
|
||
|
|
class IResponseAnalysis : public AbstractAnalysis
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
IResponseAnalysis(): AbstractAnalysis("I_RESPONSE"){;}
|
||
|
|
virtual ~IResponseAnalysis(){;}
|
||
|
|
|
||
|
|
public:
|
||
|
|
|
||
|
|
void setup(int camWidth, int camHeight);
|
||
|
|
void synthesize();
|
||
|
|
void draw();
|
||
|
|
|
||
|
|
void save_cb(Poco::Timer& timer);
|
||
|
|
|
||
|
|
protected:
|
||
|
|
|
||
|
|
bool _RUN_DONE;
|
||
|
|
int _run_cnt, _save_cnt;
|
||
|
|
float c, _frame_cnt, _frame_cnt_max;
|
||
|
|
|
||
|
|
};
|