|
golib
0.5
|
Control for video capturing. More...
#include <videocapturecontrol.h>
Public Member Functions | |
| void | capture () |
| Capture a frame. More... | |
| void | setTarget (goAutoPtr< goSignal3DBase< void > > target) |
| Set the target goSignal3DBase to hold the image data. More... | |
| goAutoPtr< goSignal3DBase< void > > | getTarget () |
| Get the pointer to the target image. More... | |
| void | contCaptureToggle () |
| Toggle continuous capture. More... | |
| void | swapRGBToggle () |
| goCaller0< void > & | capturedCaller () |
| This caller gets called every time capture() has successfully been called. More... | |
| goVideoCapture & | getVideoCapture () |
| Get the goVideoCapture object. More... | |
| void | setWhiteness () |
| void | setBrightness () |
| void | setColour () |
| void | setHue () |
| void | setContrast () |
Public Member Functions inherited from goGUI::Control | |
| Control (const char *title) | |
| virtual void | warning (const char *text) |
| virtual void | message (const char *text) |
| virtual void | print (const char *text) |
Control for video capturing.
Provides its own goVideoCapture (see getVideoCapture).
| void goGUI::VideoCaptureControl::capture | ( | ) |
Capture a frame.
capturedCaller() is called after the frame has been captured.
| goCaller0< void > & goGUI::VideoCaptureControl::capturedCaller | ( | ) |
This caller gets called every time capture() has successfully been called.
| void goGUI::VideoCaptureControl::contCaptureToggle | ( | ) |
Toggle continuous capture.
During continuous capture, Gtk::Main::iteration() is called after each capture. Then the loop waits for a set time and repeats.
| goAutoPtr< goSignal3DBase< void > > goGUI::VideoCaptureControl::getTarget | ( | ) |
Get the pointer to the target image.
| goVideoCapture & goGUI::VideoCaptureControl::getVideoCapture | ( | ) |
Get the goVideoCapture object.
| void goGUI::VideoCaptureControl::setTarget | ( | goAutoPtr< goSignal3DBase< void > > | target | ) |
Set the target goSignal3DBase to hold the image data.
| target | Pointer to the target. Must be 3-channel GO_UINT8 data. |