Newer
Older
#pragma once
#include "ofMain.h"
#include "ofxGui.h"
class Projector: public ofBaseApp {
void setup();
void update();
void draw();
void keyPressed(int key);
bool bFullscreen;
float xp1, yp1;
int gwidth, gheight;
shared_ptr<State> sharedState;
ofMesh pMesh;
ofTexture pTex;
vector<cv::Rect> boundingRects;
ofImage img1;
ofPlanePrimitive plane;
ofEasyCam cam;