-
Notifications
You must be signed in to change notification settings - Fork 0
/
oldBrisa.h
43 lines (34 loc) · 952 Bytes
/
oldBrisa.h
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
32
33
34
35
36
37
38
39
40
41
42
43
//classe da Brisa
class Brisa {
public:
bool ativa = false; // Controle de render
void setup(); //Configura brisa
void update( float dt ); //Recalcula brisa
void draw();
int tipoBrisa;
// Brisa Video
void setupVideo(string videoPath);
void updateKinect(ofxCvGrayscaleImage imgKinect);
string urlpath;
ofVideoPlayer video;
float hOriginal, wOriginal; //tamanhos do arquivo
float hVideo, wVideo; //tamanhos novos
ofFbo fboKinect;
// Brisa Contorno
ofxCvContourFinder contourFinder;
// Brisa Gif
void loadGif(string gifPath);
string urlpasta;
vector<ofTexture> listaImg;
// Brisa Poligono
void desenhaPoligono(int vertices, int radius, bool rotate, bool fill);
ofColor cor1,cor2;
int vertices;
// Brisa Illuminati e Girassol
ofPoint lookAt;
int whiteTotalSlow;
ofPoint baricentro;
ofPoint olhaPraMim();
ofImage olho, orbita, girassol;
ofxCvGrayscaleImage blurImage(ofxCvGrayscaleImage imgOriginal);
};