![]() |
Orbbec SDK K4A Wrapper
|
#include <k4a/k4a.hpp>
Public Member Functions | |
| capture (k4a_capture_t handle=nullptr) noexcept | |
| capture (const capture &other) noexcept | |
| capture (capture &&other) noexcept | |
| capture & | operator= (const capture &other) noexcept |
| capture & | operator= (capture &&other) noexcept |
| capture & | operator= (std::nullptr_t) noexcept |
| bool | operator== (const capture &other) const noexcept |
| bool | operator== (std::nullptr_t) const noexcept |
| bool | operator!= (const capture &other) const noexcept |
| bool | operator!= (std::nullptr_t) const noexcept |
| operator bool () const noexcept | |
| bool | is_valid () const noexcept |
| k4a_capture_t | handle () const noexcept |
| void | reset () noexcept |
| image | get_color_image () const noexcept |
| image | get_depth_image () const noexcept |
| image | get_ir_image () const noexcept |
| void | set_color_image (const image &color_image) noexcept |
| void | set_depth_image (const image &depth_image) noexcept |
| void | set_ir_image (const image &ir_image) noexcept |
| void | set_temperature_c (float temperature_c) noexcept |
| float | get_temperature_c () const noexcept |
Static Public Member Functions | |
| static capture | create () |
Wrapper for k4a_capture_t
Wraps a handle for a capture. Copying/moving is cheap, copies are shallow.
|
inlinenoexcept |
Creates a capture from a k4a_capture_t Takes ownership of the handle, i.e. assuming that handle has a refcount of 1, you should not call k4a_capture_release on the handle after giving it to the capture; the capture will take care of that.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestatic |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns the underlying k4a_capture_t handle
Note that this function does not increment the reference count on the k4a_capture_t. The caller is responsible for incrementing the reference count on the k4a_capture_t if the caller needs the k4a_capture_t to outlive this C++ object. Otherwise, the k4a_capture_t will be destroyed by this C++ object.
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
Returns true if two captures wrap different k4a_capture_t instances, false otherwise
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns true if two captures refer to the same k4a_capture_t, false otherwise
|
inlinenoexcept |
|
inlinenoexcept |
Releases the underlying k4a_capture_t; the capture is set to invalid.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |