Solar
Public Member Functions | List of all members
SolAR::api::geom::IImage2WorldMapper Class Referenceabstract

Maps 2D points to a 3D world coordinate system. For example, this method can map the 4 corners of a marker to the world coordinate system. UUID: 67bcd080-258d-4b16-b693-cd30c013eb05 More...

#include <IImage2WorldMapper.h>

Inheritance diagram for SolAR::api::geom::IImage2WorldMapper:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::geom::IImage2WorldMapper:
Collaboration graph
[legend]

Public Member Functions

 IImage2WorldMapper ()=default
 IImage2WorldMapper default constructor.
 
virtual ~IImage2WorldMapper ()=default
 IImage2WorldMapper default destructor.
 
virtual FrameworkReturnCode map (const std::vector< SolAR::datastructure::Point2Df > &digitalPoints, std::vector< SolAR::datastructure::Point3Df > &worldPoints)=0
 Map a set of 2D points to a 3D world coordinate system. More...
 

Detailed Description

Maps 2D points to a 3D world coordinate system. For example, this method can map the 4 corners of a marker to the world coordinate system. UUID: 67bcd080-258d-4b16-b693-cd30c013eb05

Member Function Documentation

◆ map()

virtual FrameworkReturnCode SolAR::api::geom::IImage2WorldMapper::map ( const std::vector< SolAR::datastructure::Point2Df > &  digitalPoints,
std::vector< SolAR::datastructure::Point3Df > &  worldPoints 
)
pure virtual

Map a set of 2D points to a 3D world coordinate system.

Parameters
[in]digitalPointsthe 2D points we want to map in 3D world coordinate system.
[out]worldPointsthe resulting 3D poitns after 3D mapping
Returns
FrameworkReturnCode::SUCCESS if mapping succeed, else FrameworkReturnCode::_ERROR.

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