Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
auterion::TrackingSelection Struct Reference

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).
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TrackingSelection() [1/2]

auterion::TrackingSelection::TrackingSelection ( cv::Point2d  normalized_point)
inline

Constructor for creating a tracking selection with a point only.

Parameters
normalized_pointThe normalized coordinates of the selection in the displayed region.

◆ TrackingSelection() [2/2]

auterion::TrackingSelection::TrackingSelection ( cv::Point2d  normalized_point,
cv::Size2d  normalized_window_size 
)
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.

Parameters
normalized_pointThe normalized coordinates of the selection in the displayed region.
normalized_window_sizeThe normalized size of the selection window in the displayed region.

Member Data Documentation

◆ normalized_point

cv::Point2d auterion::TrackingSelection::normalized_point

Normalized coordinates of the tracking selection in the displayed region (in [0, 1]).

◆ normalized_window_size

cv::Size2d auterion::TrackingSelection::normalized_window_size

Normalized size of the tracking selection window in the displayed region (in [0, 1]).


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