Solar
Public Member Functions | List of all members
SolAR::MODULES::TOOLS::SolARImage2WorldMapper4Marker2D Class Reference

Retrieves the 3D correspondences of pixels of a 2D marker. UUID: 6fed0169-4f01-4545-842a-3e2425bee248 More...

#include <SolARImage2WorldMapper4Marker2D.h>

Inheritance diagram for SolAR::MODULES::TOOLS::SolARImage2WorldMapper4Marker2D:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::TOOLS::SolARImage2WorldMapper4Marker2D:
Collaboration graph
[legend]

Public Member Functions

FrameworkReturnCode map (const std::vector< SolAR::datastructure::Point2Df > &digitalPoints, std::vector< SolAR::datastructure::Point3Df > &worldPoints) override
 Retrieves the 3D correspondences of pixel of a 2D marker. More...
 
void unloadComponent () override final
 

Detailed Description

Retrieves the 3D correspondences of pixels of a 2D marker. UUID: 6fed0169-4f01-4545-842a-3e2425bee248

Properties
digitalWidth the width of the 2D marker in pixels for a natural image marker, or in cells for a squared binary marker
type: int; range : [0..MAX INT]; default: 0
digitalHeight the height of the 2D marker in pixels for a natural image marker, or in cells for a squared binary marker
type: int; range : [0..MAX INT]; default: 0
worldWidth the width of the marker in a user-defined world coordinate system (meters, cenimeters, etc.)
type: float; range : [0..MAX FLOAT]; default: 0
worldHeight the height of the marker in a user-defined world coordinate system (meters, cenimeters, etc.)
type: float; range : [0..MAX FLOAT]; default: 0

Member Function Documentation

◆ map()

FrameworkReturnCode SolAR::MODULES::TOOLS::SolARImage2WorldMapper4Marker2D::map ( const std::vector< SolAR::datastructure::Point2Df > &  digitalPoints,
std::vector< SolAR::datastructure::Point3Df > &  worldPoints 
)
override

Retrieves the 3D correspondences of pixel of a 2D marker.

Parameters
[in]digitalPointsThe 2D points defined in pixels in the 2D coordinate system of the marker .
[in]worldPointsThe 3D correspondences of the 2D points defined in the world coordinate system.
Returns
FrameworkReturnCode::SUCCESS if sucessful, eiher FrameworkRetunrnCode::_ERROR.

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