Skip to content
Snippets Groups Projects
Projector.h 469 B
Newer Older
#pragma once

#include "ofMain.h"
#include "ofxGui.h"
#include "State.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;
    vector<cv::Rect> boundingRects;

    ofPlanePrimitive plane;

    ofEasyCam cam;