Solar
|
Defines an asynchronous relocalization pipeline. UUID: 58389ff0-5695-11ec-bf63-0242ac130002
More...
#include <IAsyncRelocalizationPipeline.h>
Public Member Functions | |
IAsyncRelocalizationPipeline ()=default | |
IAsyncRelocalizationPipeline default constructor. | |
virtual | ~IAsyncRelocalizationPipeline ()=default |
IAsyncRelocalizationPipeline default destructor. | |
virtual FrameworkReturnCode | init (PipelineMode pipelineMode)=0 |
Init the pipeline and specify the mode for the pipeline processing. More... | |
PipelineMode | getProcessingMode () const |
Return the current mode used for the pipeline processing. More... | |
virtual FrameworkReturnCode | setCameraParameters (const SolAR::datastructure::CameraParameters &cameraParams)=0 |
Set the camera parameters. More... | |
virtual FrameworkReturnCode | getCameraParameters (SolAR::datastructure::CameraParameters &cameraParams) const =0 |
Get the camera parameters. More... | |
virtual FrameworkReturnCode | relocalizeProcessRequest (const SRef< SolAR::datastructure::Image > image, const SolAR::datastructure::Transform3Df &pose, const std::chrono::system_clock::time_point ×tamp, TransformStatus &transform3DStatus, SolAR::datastructure::Transform3Df &transform3D, float_t &confidence)=0 |
Request the asynchronous relocalization pipeline to process a new image to calculate the corresponding 3D transformation to the SolAR coordinates system. More... | |
virtual FrameworkReturnCode | get3DTransformRequest (TransformStatus &transform3DStatus, SolAR::datastructure::Transform3Df &transform3D, float_t &confidence)=0 |
Request the asynchronous relocalization pipeline to get the 3D transform offset between the device coordinate system and the SolAR coordinate system. More... | |
virtual FrameworkReturnCode | getLastPose (SolAR::datastructure::Transform3Df &pose, const PoseType poseType=SOLAR_POSE) const =0 |
Return the last pose processed by the pipeline. More... | |
virtual FrameworkReturnCode | resetMap () const =0 |
Reset the map stored by the map update pipeline. More... | |
virtual FrameworkReturnCode | init ()=0 |
Initialization of the pipeline. More... | |
Public Member Functions inherited from SolAR::api::pipeline::IPipeline | |
virtual FrameworkReturnCode | start ()=0 |
Start the pipeline. More... | |
virtual FrameworkReturnCode | stop ()=0 |
Stop the pipeline. More... | |
Protected Attributes | |
PipelineMode | m_PipelineMode = RELOCALIZATION_AND_MAPPING |
Mode to use for the pipeline processing (Relocalization and Mapping by default) | |
Defines an asynchronous relocalization pipeline. UUID: 58389ff0-5695-11ec-bf63-0242ac130002
This class provides the interface to define an asynchronous relocalization processing pipeline.
|
pure virtual |
Request the asynchronous relocalization pipeline to get the 3D transform offset between the device coordinate system and the SolAR coordinate system.
[out] | transform3DStatus | the status of the current 3D transformation matrix |
[out] | transform3D | : the current 3D transformation matrix (if available) |
[out] | confidence | the confidence score of the 3D transformation matrix |
|
pure virtual |
Get the camera parameters.
[out] | cameraParams | the camera parameters (its resolution and its focal) |
|
pure virtual |
Return the last pose processed by the pipeline.
[out] | pose | the last pose if available |
[in] | poseType | the type of the requested pose
|
|
inline |
Return the current mode used for the pipeline processing.
|
virtual |
Initialization of the pipeline.
Implements SolAR::api::pipeline::IPipeline.
|
pure virtual |
Init the pipeline and specify the mode for the pipeline processing.
[in] | pipelineMode | mode to use for pipeline processing |
|
pure virtual |
Request the asynchronous relocalization pipeline to process a new image to calculate the corresponding 3D transformation to the SolAR coordinates system.
[in] | image | the image to process |
[in] | pose | the original pose in the client coordinates system |
[in] | timestamp | the timestamp of the image |
[out] | transform3DStatus | the status of the current 3D transformation matrix |
[out] | transform3D | the current 3D transformation matrix (if available) |
[out] | confidence | the confidence score of the 3D transformation matrix |
|
pure virtual |
Reset the map stored by the map update pipeline.
|
pure virtual |
Set the camera parameters.
[in] | cameraParams | the camera parameters (its resolution and its focal) |