Azure Kinect Body Tracking SDK  1.0.1
k4abt::tracker Class Reference

Wrapper for k4abt_tracker_t. More...

#include <k4a/k4abt.hpp>

Public Member Functions

 tracker (k4abt_tracker_t handle=nullptr) noexcept
 Creates a tracker from a k4abt_tracker_t Takes ownership of the handle, i.e. More...
 
 tracker (tracker &&dev) noexcept
 Moves another tracker into a new tracker.
 
 tracker (const tracker &)=delete
 
trackeroperator= (const tracker &)=delete
 
trackeroperator= (tracker &&dev) noexcept
 Moves another tracker into this tracker; other is set to invalid.
 
 operator bool () const noexcept
 Returns true if the tracker is valid, false otherwise.
 
void destroy () noexcept
 Destroys a k4abt tracker. More...
 
bool enqueue_capture (k4a::capture cap, std::chrono::milliseconds timeout=std::chrono::milliseconds(K4A_WAIT_INFINITE))
 Add a k4a sensor capture to the tracker input queue to generate its body tracking result asynchronously. More...
 
bool pop_result (k4abt::frame *body_frame, std::chrono::milliseconds timeout=std::chrono::milliseconds(K4A_WAIT_INFINITE))
 Gets the next available body frame. More...
 
k4abt::frame pop_result (std::chrono::milliseconds timeout=std::chrono::milliseconds(K4A_WAIT_INFINITE))
 Gets the next available body frame. More...
 
void set_temporal_smoothing (float smoothing_factor) noexcept
 Set temporal smoothing. More...
 
void shutdown () noexcept
 Shut down the k4abt tracker. More...
 

Static Public Member Functions

static tracker create (const k4a_calibration_t &sensor_calibration, const k4abt_tracker_configuration_t &config=K4ABT_TRACKER_CONFIG_DEFAULT)
 Create a k4abt tracker. More...
 

Detailed Description

Wrapper for k4abt_tracker_t.

Wraps a handle for a k4abt tracker.


The documentation for this class was generated from the following file: