Solar
Public Member Functions | List of all members
SolAR::api::solver::pose::IHomographyValidation Class Referenceabstract

Tests if a homography is valid. UUID: e95e8f70-dd32-11e7-9296-cec278b6b50a More...

#include <IHomographyValidation.h>

Inheritance diagram for SolAR::api::solver::pose::IHomographyValidation:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::solver::pose::IHomographyValidation:
Collaboration graph
[legend]

Public Member Functions

 IHomographyValidation ()=default
 IHomographyValidation default constructor.
 
virtual ~IHomographyValidation ()=default
 IHomographyValidation default destructor.
 
virtual bool isValid (const std::vector< SolAR::datastructure::Point2Df > &ref2DSquaredMarkerCorners, const std::vector< SolAR::datastructure::Point2Df > &projected2DSquaredMarkerCorners)=0
 evaluate the homography according to the projection of the 4 corners of a 2D squared Marker More...
 

Detailed Description

Tests if a homography is valid. UUID: e95e8f70-dd32-11e7-9296-cec278b6b50a

Member Function Documentation

◆ isValid()

virtual bool SolAR::api::solver::pose::IHomographyValidation::isValid ( const std::vector< SolAR::datastructure::Point2Df > &  ref2DSquaredMarkerCorners,
const std::vector< SolAR::datastructure::Point2Df > &  projected2DSquaredMarkerCorners 
)
pure virtual

evaluate the homography according to the projection of the 4 corners of a 2D squared Marker

Parameters
[in]ref2DSquaredMarkerCornersset of 2d_points of the corners in the template view.
[in]projected2DSquaredMarkerCornersset of 2d_points of the corners projected in the current view.
Returns
true if succeed, else false

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