示例#1
0
//--------------------------------------------------------------
void ofApp::setup()
{
    ofSetFrameRate(FRAMERATE);
    // Setup Variables
    setupVariables();
    // Looks for masks inside of the Masks folder
    setupMasks();
    // Setup the GUI
    setupGUI();
    // Setup the Timer
    setupTimer();
    // Setup Custom openCV Class
    openCV.setup(CAM_WIDTH,CAM_HEIGHT,FRAMERATE);    
}
示例#2
0
void WinThreadBase::init(void)
{
    if(_bInitialized == true)
        return;

    Inherited::init();

    if(_bInitialized == true)
    {
        setupAspect    ();
        setupChangeList();        
        setupMasks     ();
        setupLocalFlags();
    }
}