RegionGrabber::RegionGrabber() : QWidget( 0, 0, WStyle_Customize | WX11BypassWM ), mouseDown( false ), sizeTip( 0L ) { sizeTip = new SizeTip( ( QWidget * )0L ); tipTimer = new QTimer( this ); connect( tipTimer, SIGNAL( timeout() ), SLOT( updateSizeTip() ) ); QTimer::singleShot( 200, this, SLOT( initGrabber() ) ); }
RegionGrabber::RegionGrabber() : QWidget( 0, 0 ), mouseDown( false ), sizeTip( 0L ) { sizeTip = new SizeTip( ( QWidget * )0L ); // tipTimer = new QTimer( this ); // connect( tipTimer, SIGNAL( timeout() ), SLOT( updateSizeTip() ) ); QTimer::singleShot( 200, this, SLOT( initGrabber() ) ); }
//-------------------------------------------------------------- bool ofxCLEye::initGrabber(int w, int h){ bool usingGrayscale = (colorMode == CLEYE_COLOR_PROCESSED); return initGrabber(w, h, requestedDeviceID, desiredFrameRate, usingTexture, usingGrayscale, usingThread); }
//------------------------------------ void ofxRemoteCameraClient::initGrabber(int w,int h,string address, int port, int imageType_, bool useTexture){ setNetworkSettings(address,port); initGrabber(w,h,imageType_, useTexture); }