Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
|
Represents the tracking selection as received by AMC. More...
#include <auterion_sdk/tracking/tracking_interface.hpp>
Public Member Functions | |
TrackingSelection (cv::Point2d normalized_point) | |
Constructor for creating a tracking selection with a point only. More... | |
TrackingSelection (cv::Point2d normalized_point, cv::Size2d normalized_window_size) | |
Constructor for creating a tracking selection with a point and a window size. This should be used when the selection window size is known. More... | |
Public Attributes | |
cv::Point2d | normalized_point |
cv::Size2d | normalized_window_size |
std::optional< rclcpp::Time > | timestamp |
Optional timestamp for the tracking selection (not currently used). | |
Represents the tracking selection as received by AMC.
This structure holds information about a tracking selection, meaning its normalized point, normalized window size, and timestamp. The normalized point and rectangle are with respect to the displayed region.
|
inline |
Constructor for creating a tracking selection with a point only.
normalized_point | The normalized coordinates of the selection in the displayed region. |
|
inline |
Constructor for creating a tracking selection with a point and a window size. This should be used when the selection window size is known.
normalized_point | The normalized coordinates of the selection in the displayed region. |
normalized_window_size | The normalized size of the selection window in the displayed region. |
cv::Point2d auterion::TrackingSelection::normalized_point |
Normalized coordinates of the tracking selection in the displayed region (in [0, 1]).
cv::Size2d auterion::TrackingSelection::normalized_window_size |
Normalized size of the tracking selection window in the displayed region (in [0, 1]).