SLAMTEC Aurora Public Remote SDK  1.2.0-rtm
rp::standalone::aurora::RemoteTrackingFrameInfo Class Reference

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)
 
RemoteTrackingFrameInfooperator= (const RemoteTrackingFrameInfo &other)
 
RemoteTrackingFrameInfooperator= (RemoteTrackingFrameInfo &&other)
 
const slamtec_aurora_sdk_keypoint_tgetKeypointsLeftBuffer () const
 Get the left keypoints buffer. More...
 
const slamtec_aurora_sdk_keypoint_tgetKeypointsRightBuffer () 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
 

Detailed Description

The tracking frame info class wraps the tracking information and its data.

This class is used to wrap the tracking information and its data.

Constructor & Destructor Documentation

◆ RemoteTrackingFrameInfo() [1/2]

rp::standalone::aurora::RemoteTrackingFrameInfo::RemoteTrackingFrameInfo ( const slamtec_aurora_sdk_tracking_info_t info,
const slamtec_aurora_sdk_tracking_data_buffer_t buffer 
)
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.

Parameters
[in]infoThe tracking information
[in]bufferThe tracking data buffer

◆ RemoteTrackingFrameInfo() [2/2]

rp::standalone::aurora::RemoteTrackingFrameInfo::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 
)
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.

Parameters
[in]infoThe tracking information
[in]imgbuffer_leftThe left image data buffer
[in]imgbuffer_rightThe right image data buffer
[in]keypoints_buffer_leftThe left keypoints data buffer
[in]keypoints_buffer_rightThe right keypoints data buffer

Member Function Documentation

◆ getKeypointsLeftBuffer()

const slamtec_aurora_sdk_keypoint_t* rp::standalone::aurora::RemoteTrackingFrameInfo::getKeypointsLeftBuffer ( ) const
inline

Get the left keypoints buffer.

This function is used to get the left keypoints buffer.

Returns
The left keypoints buffer

◆ getKeypointsLeftCount()

size_t rp::standalone::aurora::RemoteTrackingFrameInfo::getKeypointsLeftCount ( ) const
inline

Get the left keypoints count.

This function is used to get the left keypoints count.

Returns
The left keypoints count

◆ getKeypointsRightBuffer()

const slamtec_aurora_sdk_keypoint_t* rp::standalone::aurora::RemoteTrackingFrameInfo::getKeypointsRightBuffer ( ) const
inline

Get the right keypoints buffer.

This function is used to get the right keypoints buffer.

Returns
The right keypoints buffer

◆ getKeypointsRightCount()

size_t rp::standalone::aurora::RemoteTrackingFrameInfo::getKeypointsRightCount ( ) const
inline

Get the right keypoints count.

This function is used to get the right keypoints count.

Returns
The right keypoints count

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