testing_model.h 551 Bytes
Newer Older
Christoph Richter's avatar
Christoph Richter committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef TESTING_MODEL
#define TESTING_MODEL
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#include "armadillo.h"
#include "testing_model_modelColor.h"
using namespace arma;
class testing_model{
public:
imat rgba[4];
testing_model_modelColor modelColor;
void init()
{
rgba[0]=imat(640,480);
rgba[1]=imat(640,480);
rgba[2]=imat(640,480);
rgba[3]=imat(640,480);
modelColor.init();
}
void execute()
{
modelColor.execute();
rgba[0] = modelColor.red;
rgba[1] = modelColor.green;
rgba[1] = modelColor.blue;
rgba[3] = modelColor.alpha;
}

};
#endif