Device control.
More...
#include <libfreenect2/libfreenect2.hpp>
| virtual std::string getSerialNumber |
( |
| ) |
|
|
pure virtual |
| virtual std::string getFirmwareVersion |
( |
| ) |
|
|
pure virtual |
Get current color parameters.
Kinect v2 includes factory preset values for these parameters. They are used in Registration.
Get current depth parameters.
Kinect v2 includes factory preset values for these parameters. They are used in depth image decoding, and Registration.
Replace factory preset color camera parameters.
We do not have a clear understanding of the meaning of the parameters right now. You probably want to leave it as it is.
Replace factory preset depth camera parameters.
This decides accuracy in depth images. You are recommended to provide calibrated values.
| virtual void setConfiguration |
( |
const Config & |
config | ) |
|
|
pure virtual |
Configure depth processing.
| virtual void setColorFrameListener |
( |
FrameListener * |
rgb_frame_listener | ) |
|
|
pure virtual |
Provide your listener to receive color frames.
| virtual void setIrAndDepthFrameListener |
( |
FrameListener * |
ir_frame_listener | ) |
|
|
pure virtual |
Provide your listener to receive IR and depth frames.
Start data processing.
All above configuration must only be called before start() or after stop().
FrameListener will receive frames when the device is running.
- Returns
- Undefined. To be defined in 0.2.
Stop data processing.
- Returns
- Undefined. To be defined in 0.2.
Shut down the device.
- Returns
- Undefined. To be defined in 0.2.
| const unsigned int VendorId = 0x045E |
|
static |
| const unsigned int ProductId = 0x02D8 |
|
static |
| const unsigned int ProductIdPreview = 0x02C4 |
|
static |