|
| DeviceKinect (xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node) |
|
| ~DeviceKinect () noexcept override |
|
void | setDebayeringMethod (const ImageBayerGRBG::DebayeringMethod &debayering_method) noexcept |
|
const ImageBayerGRBG::DebayeringMethod & | getDebayeringMethod () const noexcept |
|
bool | isSynchronizationSupported () const noexcept override |
|
virtual | ~OpenNIDevice () noexcept |
| virtual destructor. More...
|
|
bool | findCompatibleImageMode (const XnMapOutputMode &output_mode, XnMapOutputMode &mode) const noexcept |
| finds an image output mode that can be used to retrieve images in desired output mode. More...
|
|
bool | findCompatibleDepthMode (const XnMapOutputMode &output_mode, XnMapOutputMode &mode) const noexcept |
| finds a depth output mode that can be used to retrieve depth images in desired output mode. More...
|
|
bool | isImageModeSupported (const XnMapOutputMode &output_mode) const noexcept |
| returns whether a given mode is natively supported by the device or not More...
|
|
bool | isDepthModeSupported (const XnMapOutputMode &output_mode) const noexcept |
| returns whether a given mode is natively supported by the device or not More...
|
|
const XnMapOutputMode & | getDefaultImageMode () const noexcept |
| returns the default image mode, which is simply the first entry in the list of modes More...
|
|
const XnMapOutputMode & | getDefaultDepthMode () const noexcept |
| returns the default depth mode, which is simply the first entry in the list of modes More...
|
|
const XnMapOutputMode & | getDefaultIRMode () const noexcept |
| returns the default IR mode, which is simply the first entry in the list of modes More...
|
|
void | setImageOutputMode (const XnMapOutputMode &output_mode) |
| sets the output mode of the image stream More...
|
|
void | setDepthOutputMode (const XnMapOutputMode &output_mode) |
| sets the output mode of the depth stream More...
|
|
void | setIROutputMode (const XnMapOutputMode &output_mode) |
| sets the output mode of the IR stream More...
|
|
XnMapOutputMode | getImageOutputMode () const |
|
XnMapOutputMode | getDepthOutputMode () const |
|
XnMapOutputMode | getIROutputMode () const |
|
void | setDepthRegistration (bool on_off) |
| set the depth stream registration on or off More...
|
|
bool | isDepthRegistered () const noexcept |
|
bool | isDepthRegistrationSupported () const noexcept |
|
void | setSynchronization (bool on_off) |
| set the hardware synchronization between Depth and RGB stream on or off. More...
|
|
bool | isSynchronized () const noexcept |
|
bool | isDepthCropped () const |
|
void | setDepthCropping (unsigned x, unsigned y, unsigned width, unsigned height) |
| turn on cropping for the depth stream. More...
|
|
bool | isDepthCroppingSupported () const noexcept |
|
float | getImageFocalLength (int output_x_resolution=0) const noexcept |
| returns the focal length for the color camera in pixels. More...
|
|
float | getDepthFocalLength (int output_x_resolution=0) const noexcept |
| returns the focal length for the IR camera in pixels. More...
|
|
float | getBaseline () const noexcept |
|
virtual void | startImageStream () |
| starts the image stream. More...
|
|
virtual void | stopImageStream () |
| stops the image stream. More...
|
|
virtual void | startDepthStream () |
| starts the depth stream. More...
|
|
virtual void | stopDepthStream () |
| stops the depth stream. More...
|
|
virtual void | startIRStream () |
| starts the IR stream. More...
|
|
virtual void | stopIRStream () |
| stops the IR stream. More...
|
|
bool | hasImageStream () const noexcept |
|
bool | hasDepthStream () const noexcept |
|
bool | hasIRStream () const noexcept |
|
virtual bool | isImageStreamRunning () const noexcept |
|
virtual bool | isDepthStreamRunning () const noexcept |
|
virtual bool | isIRStreamRunning () const noexcept |
|
CallbackHandle | registerImageCallback (const ImageCallbackFunction &callback, void *cookie=nullptr) noexcept |
| registers a callback function of std::function type for the image stream with an optional user defined parameter. More...
|
|
template<typename T > |
CallbackHandle | registerImageCallback (void(T::*callback)(Image::Ptr, void *cookie), T &instance, void *cookie=nullptr) noexcept |
| registers a callback function for the image stream with an optional user defined parameter. More...
|
|
bool | unregisterImageCallback (const CallbackHandle &callbackHandle) noexcept |
| unregisters a callback function. More...
|
|
CallbackHandle | registerDepthCallback (const DepthImageCallbackFunction &callback, void *cookie=nullptr) noexcept |
| registers a callback function of std::function type for the depth stream with an optional user defined parameter. More...
|
|
template<typename T > |
CallbackHandle | registerDepthCallback (void(T::*callback)(DepthImage::Ptr, void *cookie), T &instance, void *cookie=nullptr) noexcept |
| registers a callback function for the depth stream with an optional user defined parameter. More...
|
|
bool | unregisterDepthCallback (const CallbackHandle &callbackHandle) noexcept |
| unregisters a callback function. More...
|
|
CallbackHandle | registerIRCallback (const IRImageCallbackFunction &callback, void *cookie=nullptr) noexcept |
| registers a callback function of std::function type for the IR stream with an optional user defined parameter. More...
|
|
template<typename T > |
CallbackHandle | registerIRCallback (void(T::*callback)(IRImage::Ptr, void *cookie), T &instance, void *cookie=nullptr) noexcept |
| registers a callback function for the IR stream with an optional user defined parameter. More...
|
|
bool | unregisterIRCallback (const CallbackHandle &callbackHandle) noexcept |
| unregisters a callback function. More...
|
|
const char * | getSerialNumber () const noexcept |
| returns the serial number for device. More...
|
|
const char * | getConnectionString () const noexcept |
| returns the connection string for current device, which has following format vendorID/productID@BusID/DeviceID. More...
|
|
const char * | getVendorName () const noexcept |
|
const char * | getProductName () const noexcept |
|
unsigned short | getVendorID () const noexcept |
|
unsigned short | getProductID () const noexcept |
|
unsigned char | getBus () const noexcept |
|
unsigned char | getAddress () const noexcept |
|
void | setRGBFocalLength (float focal_length) |
| Set the RGB image focal length. More...
|
|
void | setDepthFocalLength (float focal_length) |
| Set the depth image focal length. More...
|
|
void | setDepthOutputFormat (const DepthMode &depth_mode=OpenNI_12_bit_depth) |
| Set the depth output format. More...
|
|
XnUInt64 | getDepthOutputFormat () const |
| Get the depth output format as set by the user. More...
|
|
std::uint16_t | shiftToDepth (std::uint16_t shift_value) const |
| Convert shift to depth value. More...
|
|
Concrete implementation of the interface OpenNIDevice for a MS Kinect device.
- Author
- Suat Gedikli
- Date
- 02.january 2011
Definition at line 56 of file openni_device_kinect.h.