Advertisement
Guest User

ofApp.h

a guest
Feb 6th, 2014
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "ofMain.h"
  4. #include "ofxAndroid.h"
  5. #include "ofxStructuredLight.h"
  6. //#include "ofxAutoControlPanel.h"
  7. #include "ofxThreadedVideoGrabber.h"
  8. #include "ofxImageSaver.h"
  9.  
  10.  
  11. class ofApp : public ofBaseApp{ // ,ofxAndroidApp
  12.  
  13. public:
  14. void frameReceived(ofVideoGrabber& grabber);
  15.  
  16. void setup();
  17. void update();
  18. void draw();
  19. void keyPressed(int key);
  20.  
  21. bool hidden;
  22. //ofxAutoControlPanel panel;
  23.  
  24. ThreePhaseGenerator threePhase;
  25. int lastWavelength;
  26.  
  27. GrayCodeGenerator grayCode;
  28. int lastSubdivisions;
  29.  
  30. TwoPlusOneGenerator twoPlusOne;
  31.  
  32. GradientGenerator gradient;
  33.  
  34. PatternGenerator* curGenerator;
  35. int lastPatternType;
  36. int lastOrientation;
  37. bool lastFullscreen;
  38.  
  39. int lastMinBrightness;
  40.  
  41. ofxThreadedVideoGrabber camera;
  42. ofxImageSaver imageSaver;
  43.  
  44. int cameraWidth, cameraHeight;
  45. ofImage cameraImage;
  46. vector<ofImage> recent;
  47. vector<bool> needsUpdate;
  48. bool lastEnableCamera;
  49. int lastCameraRate;
  50. int cameraFrameNum;
  51. int patternFrame;
  52.  
  53. bool blackout;
  54. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement