Classes | |
| struct | CameraParams |
| Default parameters for a camera (size and device's name). More... | |
| class | CameraController |
| Abstract class for camera control. More... | |
| class | ControllerException |
| Exception thrown in case of controller error. More... | |
| class | InputController |
| Abstract class for input device. More... | |
| struct | DVCamParams |
| Default parameters for a DV Camera. More... | |
| class | DVCam |
| Class for DV cameras managing. More... | |
| struct | V4L2WebcamParams |
| Default parameters for a V4L2 webcam. More... | |
| class | V4L2Webcam |
| Class Defining V4L2 webcam. More... | |
| struct | WiimoteIRDot |
| Structure to save information about IR dots detected by the wiimote. More... | |
| struct | WiimoteIRPointer |
| Information about the cursor computed from IR dot detection. More... | |
| class | Wiimote |
| Class for Wiimote control. More... | |
| class | WiimoteManager |
| Wiimotes manager. More... | |
| class | Nunchuk |
| Structure to save motion's parameters. More... | |
Enumerations | |
| enum | WebcamControl { WEBCAM_BRIGHTNESS = V4L2_CID_BRIGHTNESS, WEBCAM_CONTRAST = V4L2_CID_CONTRAST, WEBCAM_SATURATION = V4L2_CID_SATURATION, WEBCAM_GAIN = V4L2_CID_GAIN, WEBCAM_SHARPNESS = V4L2_CID_SHARPNESS, WEBCAM_GAMMA = V4L2_CID_GAMMA, WEBCAM_EXPOSURE = V4L2_CID_EXPOSURE_ABSOLUTE, WEBCAM_EXPOSURE_AUTO = V4L2_CID_EXPOSURE_AUTO, WEBCAM_WB_AUTO = V4L2_CID_WHITE_BALANCE_TEMPERATURE_AUTO, WEBCAM_WB = V4L2_CID_WHITE_BALANCE_TEMPERATURE } |
| enum | WebcamToggleControl { WEBCAM_EXPOSURE_ON = 3, WEBCAM_EXPOSURE_OFF = 2, WEBCAM_WB_ON = 1, WEBCAM_WB_OFF = 0 } |
| enum | WebcamFormat { FMT_MJPEG, FMT_YUYV } |
| Enumeration of formats available for webcams. More... | |
| enum | GrabMethod { READ_METHOD, MMAP_METHOD } |
| Enumeration of grabbing methods available for webcams. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &stream, const ControllerException &err) |
| Operator << for ControllerException. | |
| std::ostream & | operator<< (std::ostream &os, const Wiimote &wiimote) |
Variables | |
| static const V4L2WebcamParams | defaultV4L2WebcamParams |
| static const unsigned int | EVENT_BUTTON_UP_UP = 0x4 |
| static const unsigned int | EVENT_BUTTON_UP_DOWN = 0x8 |
| static const unsigned int | EVENT_BUTTON_DOWN_UP = 0x10 |
| static const unsigned int | EVENT_BUTTON_DOWN_DOWN = 0x20 |
| static const unsigned int | EVENT_BUTTON_LEFT_UP = 0x40 |
| static const unsigned int | EVENT_BUTTON_LEFT_DOWN = 0x80 |
| static const unsigned int | EVENT_BUTTON_RIGHT_UP = 0x100 |
| static const unsigned int | EVENT_BUTTON_RIGHT_DOWN = 0x200 |
| static const unsigned int | EVENT_BUTTON_PLUS_UP = 0x400 |
| static const unsigned int | EVENT_BUTTON_PLUS_DOWN = 0x800 |
| static const unsigned int | EVENT_BUTTON_MINUS_UP = 0x1000 |
| static const unsigned int | EVENT_BUTTON_MINUS_DOWN = 0x2000 |
| static const unsigned int | EVENT_BUTTON_HOME_UP = 0x4000 |
| static const unsigned int | EVENT_BUTTON_HOME_DOWN = 0x8000 |
| static const unsigned int | EVENT_BUTTON_ONE_UP = 0x10000 |
| static const unsigned int | EVENT_BUTTON_ONE_DOWN = 0x20000 |
| static const unsigned int | EVENT_BUTTON_TWO_UP = 0x40000 |
| static const unsigned int | EVENT_BUTTON_TWO_DOWN = 0x80000 |
| static const unsigned int | EVENT_BUTTON_A_UP = 0x100000 |
| static const unsigned int | EVENT_BUTTON_A_DOWN = 0x200000 |
| static const unsigned int | EVENT_BUTTON_B_UP = 0x400000 |
| static const unsigned int | EVENT_BUTTON_B_DOWN = 0x800000 |
| static const unsigned int | ASPECT_16_9 = 0x0 |
| static const unsigned int | ASPECT_4_3 = 0x1 |
| static const unsigned int | IR_POSITION_ABOVE = 0x0 |
| static const unsigned int | IR_POSITION_BELOW = 0x1 |
| static const unsigned int | EVENT_NONE = 0x0 |
| No event. | |
| static const unsigned int | EVENT_BUTTON_C_UP = 0x1 |
| State if button c of nunchuk have been released. | |
| static const unsigned int | EVENT_BUTTON_C_DOWN = 0x2 |
| State if button c of nunchuk have been pressed. | |
| static const unsigned int | EVENT_BUTTON_Z_UP = 0x4 |
| State if button z of nunchuk have been released. | |
| static const unsigned int | EVENT_BUTTON_Z_DOWN = 0x8 |
| State if button z of nunchuk have been pressed. | |
| enum kn::GrabMethod |
Enumeration of grabbing methods available for webcams.
Definition at line 67 of file LIN_V4L2Webcam.hpp.
| enum kn::WebcamControl |
| WEBCAM_BRIGHTNESS | |
| WEBCAM_CONTRAST | |
| WEBCAM_SATURATION | |
| WEBCAM_GAIN | |
| WEBCAM_SHARPNESS | |
| WEBCAM_GAMMA | |
| WEBCAM_EXPOSURE | |
| WEBCAM_EXPOSURE_AUTO | |
| WEBCAM_WB_AUTO | |
| WEBCAM_WB |
Definition at line 46 of file LIN_V4L2Webcam.hpp.
| enum kn::WebcamFormat |
Definition at line 57 of file LIN_V4L2Webcam.hpp.
| std::ostream& kn::operator<< | ( | std::ostream & | os, | |
| const Wiimote & | wiimote | |||
| ) |
| std::ostream& kn::operator<< | ( | std::ostream & | stream, | |
| const ControllerException & | err | |||
| ) | [inline] |
Operator << for ControllerException.
| stream | output stream | |
| err | ControllerException to print |
Definition at line 93 of file ControllerException.hpp.
const unsigned int kn::ASPECT_16_9 = 0x0 [static] |
Definition at line 65 of file Wiimote.hpp.
const unsigned int kn::ASPECT_4_3 = 0x1 [static] |
Definition at line 66 of file Wiimote.hpp.
const V4L2WebcamParams kn::defaultV4L2WebcamParams [static] |
Definition at line 113 of file LIN_V4L2Webcam.hpp.
const unsigned int kn::EVENT_BUTTON_A_DOWN = 0x200000 [static] |
Definition at line 60 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_A_UP = 0x100000 [static] |
Definition at line 59 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_B_DOWN = 0x800000 [static] |
Definition at line 62 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_B_UP = 0x400000 [static] |
Definition at line 61 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_C_DOWN = 0x2 [static] |
const unsigned int kn::EVENT_BUTTON_C_UP = 0x1 [static] |
const unsigned int kn::EVENT_BUTTON_DOWN_DOWN = 0x20 [static] |
Definition at line 44 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_DOWN_UP = 0x10 [static] |
Definition at line 43 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_HOME_DOWN = 0x8000 [static] |
Definition at line 54 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_HOME_UP = 0x4000 [static] |
Definition at line 53 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_LEFT_DOWN = 0x80 [static] |
Definition at line 46 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_LEFT_UP = 0x40 [static] |
Definition at line 45 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_MINUS_DOWN = 0x2000 [static] |
Definition at line 52 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_MINUS_UP = 0x1000 [static] |
Definition at line 51 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_ONE_DOWN = 0x20000 [static] |
Definition at line 56 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_ONE_UP = 0x10000 [static] |
Definition at line 55 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_PLUS_DOWN = 0x800 [static] |
Definition at line 50 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_PLUS_UP = 0x400 [static] |
Definition at line 49 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_RIGHT_DOWN = 0x200 [static] |
Definition at line 48 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_RIGHT_UP = 0x100 [static] |
Definition at line 47 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_TWO_DOWN = 0x80000 [static] |
Definition at line 58 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_TWO_UP = 0x40000 [static] |
Definition at line 57 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_UP_DOWN = 0x8 [static] |
Definition at line 42 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_UP_UP = 0x4 [static] |
Definition at line 41 of file Wiimote.hpp.
const unsigned int kn::EVENT_BUTTON_Z_DOWN = 0x8 [static] |
const unsigned int kn::EVENT_BUTTON_Z_UP = 0x4 [static] |
const unsigned int kn::EVENT_NONE = 0x0 [static] |
const unsigned int kn::IR_POSITION_ABOVE = 0x0 [static] |
Definition at line 67 of file Wiimote.hpp.
const unsigned int kn::IR_POSITION_BELOW = 0x1 [static] |
Definition at line 68 of file Wiimote.hpp.
1.5.8