Specify the IDepthCamera interface class.
More...
#include <IDepthCamera.h>
Specify the IDepthCamera interface class.
This class describes the interface of a depth camera capture device.
◆ getDepthMinDistance()
virtual float SolAR::api::input::devices::IDepthCamera::getDepthMinDistance |
( |
| ) |
const |
|
pure virtual |
Get the min acquisition distance of the device.
- Returns
- float the min acquisition distance
◆ getDepthResolution()
Get the image resolution of the depth acquisition device.
- Returns
- SolAR::datastructure::Size the image resolution
◆ getDistortionDepthParameters()
Get the distortion depth of the camera lens.
- Returns
- Return the distortion depth camera lens parameters
◆ getIntrinsicsDepthParameters()
Get the intrinsic depth of the device.
- Returns
- SolAR::datastructure::CamCalibration the intrinsic depth camera parameters
◆ getNextDepthFrame()
Provides the last depth image. If output parameters are null (nullptr), it means that the implementation, or the requested mode does not provide this feature.
- Parameters
-
[out] | img | the image captured by the RGBD camera |
- Returns
- FrameworkReturnCode to track sucessful or failing event.
◆ getPointCloud()
Provides the corresponding 3D point cloud corresponding to last depth image aquiered (getNextDepthFrame()) Should have no effect if the user didn't call getNextDepthFrame beforehand.
- Parameters
-
[out] | pc | the 3D point cloud reconstructed from the depth image. Points coordinates are defined according to the RGBD camera coordinate system. |
- Returns
- FrameworkReturnCode to track sucessful or failing event.
◆ setDepthResolution()
Set the depth image resolution of the acquisition device.
- Parameters
-
- Returns
- FrameworkReturnCode to track sucessful or failing event.
◆ setDistortionDepthParameters()
Set the distortion intrinsic parameters of the depth camera.
- Parameters
-
[in] | distortion_parameters | distortion parameters |
- Returns
- FrameworkReturnCode to track sucessful or failing event.
◆ setIntrinsicDepthParameters()
Set the intrinsic parameters of the depth camera.
- Parameters
-
[in] | intrinsic_parameters | intrinsic parameters |
- Returns
- FrameworkReturnCode to track sucessful or failing event.
The documentation for this class was generated from the following file: