Draws a 3D box on an image. UUID: 2db01f59-9793-4cd5-8e13-b25d0ed5735b
More...
#include <SolAR3DOverlayBoxOpencv.h>
|
void | draw (const datastructure::Transform3Df &pose, SRef< datastructure::Image > displayImage) override |
| draw a projection of 3D box based on 3D pose on an image. More...
|
|
void | setCameraParameters (const datastructure::CamCalibration &intrinsic_parameters, const datastructure::CamDistortion &distorsion_parameters) |
| this method is used to set intrinsic parameters and distorsion of the camera More...
|
|
org::bcom::xpcf::XPCFErrorCode | onConfigured () override final |
|
void | unloadComponent () override final |
|
Draws a 3D box on an image. UUID: 2db01f59-9793-4cd5-8e13-b25d0ed5735b
- Properties
orientation | orientation of the box in euler angles in degrees |
size: 3, elem type: float; range : [MIN FLOAT..MAX FLOAT]; default: { 0.0, 0.0, 0.0 } |
position | position of the center of the bottom face of the Box defined in world unit |
size: 3, elem type: float; range : [MIN FLOAT..MAX FLOAT]; default: { 0.0, 0.0, 0.0 } |
size | size of the box define in world unit |
size: 3, elem type: float; range : [MIN FLOAT..MAX FLOAT]; default: { 1.f, 1.f, 1.f } |
◆ draw()
void SolAR::MODULES::OPENCV::SolAR3DOverlayBoxOpencv::draw |
( |
const datastructure::Transform3Df & |
pose, |
|
|
SRef< datastructure::Image > |
displayImage |
|
) |
| |
|
override |
draw a projection of 3D box based on 3D pose on an image.
- Parameters
-
[in] | pose | 3D camera pose expressed in the world coordinate. |
[in,out] | displayImage | The image on which the projection of a 3D box will be drawn. |
◆ setCameraParameters()
void SolAR::MODULES::OPENCV::SolAR3DOverlayBoxOpencv::setCameraParameters |
( |
const datastructure::CamCalibration & |
intrinsic_parameters, |
|
|
const datastructure::CamDistortion & |
distorsion_parameters |
|
) |
| |
this method is used to set intrinsic parameters and distorsion of the camera
- Parameters
-
[in] | Camera | calibration matrix parameters. |
[in] | Camera | distorsion parameters. |
The documentation for this class was generated from the following file: