Solar
Public Member Functions | List of all members
SolAR::api::display::I3DOverlay Class Referenceabstract

Draws 3D content on top of an image. UUID: 81a20f52-6bf9-4949-b914-df2f614bc945 More...

#include <I3DOverlay.h>

Inheritance diagram for SolAR::api::display::I3DOverlay:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::display::I3DOverlay:
Collaboration graph
[legend]

Public Member Functions

 I3DOverlay ()=default
 I3DOverlay default constructor.
 
virtual ~I3DOverlay ()=default
 I3DOverlay default destructor.
 
virtual void setCameraParameters (const SolAR::datastructure::CamCalibration &intrinsic_parameters, const SolAR::datastructure::CamDistortion &distorsion_parameters)=0
 Set the intrinsic parameters and distorsion of the camera.
 
virtual void draw (const SolAR::datastructure::Transform3Df &pose, SRef< SolAR::datastructure::Image > displayImage)=0
 Draw a box on the given Image The box is displayed according to the pose given in parameter. The reference of the box is positionned on the center of its bottom face. More...
 

Detailed Description

Draws 3D content on top of an image. UUID: 81a20f52-6bf9-4949-b914-df2f614bc945

This class provides drawing method to overlay 3D debug informations on top of an image.

Member Function Documentation

◆ draw()

virtual void SolAR::api::display::I3DOverlay::draw ( const SolAR::datastructure::Transform3Df pose,
SRef< SolAR::datastructure::Image displayImage 
)
pure virtual

Draw a box on the given Image The box is displayed according to the pose given in parameter. The reference of the box is positionned on the center of its bottom face.

Parameters
[in]Transfomr3DfThe pose of the camera from which the box is viewed.
[in,out]displayImageThe image on which the box will be drawn

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