Public Member Functions | |
VideoSource (std::string configString="vc:0 640 30 yuv rgb 1 1", std::string calibrationFile="") | |
bool | isValid (void) |
int | getFrame (unsigned char **image, timeval *timestamp) |
get a new frame and lock it | |
void | releaseFrame (void) |
release the locked frame | |
int | getWidth (void) |
get the frame width | |
int | getHeight (void) |
get the frame height | |
int | getOpenGLFormat (void) |
get the frame's OpenGL format | |
int | getPixelFormat (void) |
get the frame's pixel format | |
int | getDepth (void) |
get the frame's pixel depth | |
float | getHorizontalFOV () |
the Horizontal FOV of the calibrated camera | |
float | getVerticalFOV () |
the Vertical FOV of the calibrated camera |
|
Initialize the camera
|