Load AR device data including images, poses, timestamp. UUID: 4b5576c1-4c44-4835-a405-c8de2d4f85b0
More...
#include <SolARDeviceDataLoader.h>
|
| SolARDeviceDataLoader () |
| Specify the IBuiltInSLAM constructor class.
|
|
| ~SolARDeviceDataLoader () |
| Specify the IBuiltInSLAM destructor class.
|
|
org::bcom::xpcf::XPCFErrorCode | onConfigured () override final |
|
void | unloadComponent () override final |
|
FrameworkReturnCode | start () override |
| Start the connection to the device for sensors data streaming. More...
|
|
FrameworkReturnCode | stop () override |
| Stop the connection to the device. More...
|
|
FrameworkReturnCode | getData (std::vector< SRef< datastructure::Image > > &images, std::vector< datastructure::Transform3Df > &poses, std::chrono::system_clock::time_point ×tamp) override |
| Retrieve a set of images and their associated poses from the sensors as well as timestamp. More...
|
|
const SolAR::datastructure::CameraRigParameters & | getCameraParameters () const override |
| Get parameters of a camera rig. More...
|
|
Load AR device data including images, poses, timestamp. UUID: 4b5576c1-4c44-4835-a405-c8de2d4f85b0
- Properties
calibrationFile | |
type: string; default: "" |
pathToData | |
type: string; default: "" |
delayTime | |
type: int; range : [0..MAX INT]; default: 0 |
◆ getCameraParameters()
const SolAR::datastructure::CameraRigParameters & SolAR::MODULES::OPENCV::SolARDeviceDataLoader::getCameraParameters |
( |
| ) |
const |
|
override |
Get parameters of a camera rig.
- Returns
- the camera rig parameters
◆ getData()
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARDeviceDataLoader::getData |
( |
std::vector< SRef< datastructure::Image > > & |
images, |
|
|
std::vector< datastructure::Transform3Df > & |
poses, |
|
|
std::chrono::system_clock::time_point & |
timestamp |
|
) |
| |
|
override |
Retrieve a set of images and their associated poses from the sensors as well as timestamp.
- Parameters
-
[out] | images | the captured images. |
[out] | poses | the associated poses. |
[out] | timestamp | the timestamp. |
- Returns
- FrameworkReturnCode to track successful or failing event.
◆ start()
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARDeviceDataLoader::start |
( |
| ) |
|
|
override |
Start the connection to the device for sensors data streaming.
- Returns
- FrameworkReturnCode::SUCCESS if successful, eiher FrameworkReturnCode::_ERROR.
◆ stop()
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARDeviceDataLoader::stop |
( |
| ) |
|
|
override |
Stop the connection to the device.
- Returns
- FrameworkReturnCode::SUCCESS if successful, eiher FrameworkReturnCode::_ERROR.
The documentation for this class was generated from the following file: