#include <ofVideoGrabber.h>
Public Member Functions | |
| ofVideoGrabber () | |
| virtual | ~ofVideoGrabber () |
| int | getDeviceCount () |
| void | listDevices () |
| bool | isFrameNew () |
| void | grabFrame () |
| void | close () |
| bool | initGrabber (int w, int h, bool bTexture=true) |
| void | videoSettings () |
| unsigned char * | getPixels () |
| ofTexture & | getTextureReference () |
| void | setVerbose (bool bTalkToMe) |
| void | setDeviceID (int _deviceID) |
| void | setUseTexture (bool bUse) |
| void | draw (float x, float y, float w, float h) |
| void | draw (float x, float y) |
| void | update () |
| void | setAnchorPercent (float xPct, float yPct) |
| void | setAnchorPoint (int x, int y) |
| void | resetAnchor () |
| float | getHeight () |
| float | getWidth () |
Public Attributes | |
| int | height |
| int | width |
Protected Member Functions | |
| bool | qtInitSeqGrabber () |
| bool | qtCloseSeqGrabber () |
| bool | qtSelectDevice (int deviceNumber, bool didWeChooseADevice) |
Protected Attributes | |
| bool | bChooseDevice |
| int | deviceID |
| bool | bUseTexture |
| ofTexture | tex |
| bool | bVerbose |
| bool | bGrabberInited |
| unsigned char * | pixels |
| bool | bIsFrameNew |
| unsigned char * | offscreenGWorldPixels |
| int | w |
| int | h |
| bool | bHavePixelsChanged |
| GWorldPtr | videogworld |
| SeqGrabComponent | gSeqGrabber |
| SGChannel | gVideoChannel |
| Rect | videoRect |
| bool | bSgInited |
| string | deviceName |
| ofVideoGrabber::ofVideoGrabber | ( | ) |
| ofVideoGrabber::~ofVideoGrabber | ( | ) | [virtual] |
| void ofVideoGrabber::close | ( | ) | [virtual] |
Implements ofBaseVideo.
| void ofVideoGrabber::draw | ( | float | x, |
| float | y, | ||
| float | w, | ||
| float | h | ||
| ) | [virtual] |
Implements ofBaseDraws.
| void ofVideoGrabber::draw | ( | float | x, |
| float | y | ||
| ) | [virtual] |
Implements ofBaseDraws.
| int ofVideoGrabber::getDeviceCount | ( | ) |
| float ofVideoGrabber::getHeight | ( | ) | [virtual] |
Implements ofBaseDraws.
| unsigned char * ofVideoGrabber::getPixels | ( | ) | [virtual] |
Implements ofBaseVideo.
| ofTexture & ofVideoGrabber::getTextureReference | ( | ) | [virtual] |
Implements ofBaseHasTexture.
| float ofVideoGrabber::getWidth | ( | ) | [virtual] |
Implements ofBaseDraws.
| void ofVideoGrabber::grabFrame | ( | ) |
| bool ofVideoGrabber::initGrabber | ( | int | w, |
| int | h, | ||
| bool | bTexture = true |
||
| ) |
| bool ofVideoGrabber::isFrameNew | ( | ) |
| void ofVideoGrabber::listDevices | ( | ) |
| bool ofVideoGrabber::qtCloseSeqGrabber | ( | ) | [protected] |
| bool ofVideoGrabber::qtInitSeqGrabber | ( | ) | [protected] |
| bool ofVideoGrabber::qtSelectDevice | ( | int | deviceNumber, |
| bool | didWeChooseADevice | ||
| ) | [protected] |
| void ofVideoGrabber::resetAnchor | ( | ) | [virtual] |
Reimplemented from ofBaseDraws.
| void ofVideoGrabber::setAnchorPercent | ( | float | xPct, |
| float | yPct | ||
| ) | [virtual] |
Reimplemented from ofBaseDraws.
| void ofVideoGrabber::setAnchorPoint | ( | int | x, |
| int | y | ||
| ) | [virtual] |
Reimplemented from ofBaseDraws.
| void ofVideoGrabber::setDeviceID | ( | int | _deviceID ) |
| void ofVideoGrabber::setUseTexture | ( | bool | bUse ) |
| void ofVideoGrabber::setVerbose | ( | bool | bTalkToMe ) |
| void ofVideoGrabber::update | ( | ) | [virtual] |
Implements ofBaseUpdates.
| void ofVideoGrabber::videoSettings | ( | void | ) |
bool ofVideoGrabber::bChooseDevice [protected] |
bool ofVideoGrabber::bGrabberInited [protected] |
bool ofVideoGrabber::bHavePixelsChanged [protected] |
bool ofVideoGrabber::bIsFrameNew [protected] |
bool ofVideoGrabber::bSgInited [protected] |
bool ofVideoGrabber::bUseTexture [protected] |
bool ofVideoGrabber::bVerbose [protected] |
int ofVideoGrabber::deviceID [protected] |
string ofVideoGrabber::deviceName [protected] |
SeqGrabComponent ofVideoGrabber::gSeqGrabber [protected] |
SGChannel ofVideoGrabber::gVideoChannel [protected] |
int ofVideoGrabber::h [protected] |
unsigned char* ofVideoGrabber::offscreenGWorldPixels [protected] |
unsigned char* ofVideoGrabber::pixels [protected] |
ofTexture ofVideoGrabber::tex [protected] |
GWorldPtr ofVideoGrabber::videogworld [protected] |
Rect ofVideoGrabber::videoRect [protected] |
int ofVideoGrabber::w [protected] |
1.7.2