The tracking frame info class wraps the tracking information and its data. More...
#include <slamtec_remote_objects.hxx>
Public Member Functions | |
RemoteTrackingFrameInfo (const slamtec_aurora_sdk_tracking_info_t &info, const slamtec_aurora_sdk_tracking_data_buffer_t &buffer) | |
Create the tracking frame info with the tracking information and the tracking data buffer. More... | |
RemoteTrackingFrameInfo (const slamtec_aurora_sdk_tracking_info_t &info, std::vector< uint8_t > &&imgbuffer_left, std::vector< uint8_t > &&imgbuffer_right, std::vector< slamtec_aurora_sdk_keypoint_t > &&keypoints_buffer_left, std::vector< slamtec_aurora_sdk_keypoint_t > &&keypoints_buffer_right) | |
Create the tracking frame info with the tracking information and the image data buffer. More... | |
RemoteTrackingFrameInfo (const RemoteTrackingFrameInfo &other) | |
RemoteTrackingFrameInfo (RemoteTrackingFrameInfo &&other) | |
RemoteTrackingFrameInfo & | operator= (const RemoteTrackingFrameInfo &other) |
RemoteTrackingFrameInfo & | operator= (RemoteTrackingFrameInfo &&other) |
const slamtec_aurora_sdk_keypoint_t * | getKeypointsLeftBuffer () const |
Get the left keypoints buffer. More... | |
const slamtec_aurora_sdk_keypoint_t * | getKeypointsRightBuffer () const |
Get the right keypoints buffer. More... | |
size_t | getKeypointsLeftCount () const |
Get the left keypoints count. More... | |
size_t | getKeypointsRightCount () const |
Get the right keypoints count. More... | |
Public Attributes | |
RemoteImageRef | leftImage |
The left image reference. | |
RemoteImageRef | rightImage |
The right image reference. | |
slamtec_aurora_sdk_tracking_info_t | trackingInfo |
The tracking information. | |
Protected Member Functions | |
bool | _isOwnBuffer () const |
void | _moveFrom (RemoteTrackingFrameInfo &other) |
void | _copyFrom (const RemoteTrackingFrameInfo &other) |
Protected Attributes | |
const slamtec_aurora_sdk_keypoint_t * | _keypoints_left |
const slamtec_aurora_sdk_keypoint_t * | _keypoints_right |
std::vector< uint8_t > | _imgbuffer_left |
std::vector< uint8_t > | _imgbuffer_right |
std::vector< slamtec_aurora_sdk_keypoint_t > | _keypoints_buffer_left |
std::vector< slamtec_aurora_sdk_keypoint_t > | _keypoints_buffer_rightf |
The tracking frame info class wraps the tracking information and its data.
This class is used to wrap the tracking information and its data.
|
inline |
Create the tracking frame info with the tracking information and the tracking data buffer.
This constructor is used to create the tracking frame info with the tracking information and the tracking data buffer.
[in] | info | The tracking information |
[in] | buffer | The tracking data buffer |
|
inline |
Create the tracking frame info with the tracking information and the image data buffer.
This constructor is used to create the tracking frame info with the tracking information and the image data buffer.
The image data buffer and the keypoints data buffer are moved from the input parameters.
[in] | info | The tracking information |
[in] | imgbuffer_left | The left image data buffer |
[in] | imgbuffer_right | The right image data buffer |
[in] | keypoints_buffer_left | The left keypoints data buffer |
[in] | keypoints_buffer_right | The right keypoints data buffer |
|
inline |
Get the left keypoints buffer.
This function is used to get the left keypoints buffer.
|
inline |
Get the left keypoints count.
This function is used to get the left keypoints count.
|
inline |
Get the right keypoints buffer.
This function is used to get the right keypoints buffer.
|
inline |
Get the right keypoints count.
This function is used to get the right keypoints count.