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

Projects 3D points on a 2D image plane. UUID: b485f37d-a8ea-49f6-b361-f2b30777d9ba More...

#include <IProject.h>

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

Public Member Functions

 IProject ()=default
 IProjection default constructor.
 
virtual ~IProject ()=default
 I3DTransform default destructor.
 
virtual void setCameraParameters (const SolAR::datastructure::CamCalibration &intrinsicParams, const SolAR::datastructure::CamDistortion &distorsionParams)=0
 this method is used to set intrinsic parameters and distorsion of the camera More...
 
virtual FrameworkReturnCode project (const std::vector< SolAR::datastructure::Point3Df > &inputPoints, std::vector< SolAR::datastructure::Point2Df > &imagePoints, const SolAR::datastructure::Transform3Df &pose=SolAR::datastructure::Transform3Df::Identity())=0
 This method project a set of 3D points in the image plane. More...
 
virtual FrameworkReturnCode project (const std::vector< SRef< SolAR::datastructure::CloudPoint > > &inputPoints, std::vector< SolAR::datastructure::Point2Df > &imagePoints, const SolAR::datastructure::Transform3Df &pose=SolAR::datastructure::Transform3Df::Identity())=0
 This method project a set of 3D cloud points in the image plane. More...
 

Detailed Description

Projects 3D points on a 2D image plane. UUID: b485f37d-a8ea-49f6-b361-f2b30777d9ba

Member Function Documentation

◆ project() [1/2]

virtual FrameworkReturnCode SolAR::api::geom::IProject::project ( const std::vector< SolAR::datastructure::Point3Df > &  inputPoints,
std::vector< SolAR::datastructure::Point2Df > &  imagePoints,
const SolAR::datastructure::Transform3Df pose = SolAR::datastructure::Transform3Df::Identity() 
)
pure virtual

This method project a set of 3D points in the image plane.

Parameters
[in]inputPointsthe set of 3D points to project
[out]imagePointsthe resulting set of 2D points defined in the image coordinate systemn
[in]posethe 3D pose of the camera (a 4x4 float matrix)
Returns
FrameworkReturnCode::SUCCESS if 3D projection succeed, else FrameworkReturnCode::_ERROR.

◆ project() [2/2]

virtual FrameworkReturnCode SolAR::api::geom::IProject::project ( const std::vector< SRef< SolAR::datastructure::CloudPoint > > &  inputPoints,
std::vector< SolAR::datastructure::Point2Df > &  imagePoints,
const SolAR::datastructure::Transform3Df pose = SolAR::datastructure::Transform3Df::Identity() 
)
pure virtual

This method project a set of 3D cloud points in the image plane.

Parameters
[in]inputPointsthe set of 3D cloud points to project
[out]imagePointsthe resulting set of 2D points defined in the image coordinate systemn
[in]posethe 3D pose of the camera (a 4x4 float matrix)
Returns
FrameworkReturnCode::SUCCESS if 3D projection succeed, else FrameworkReturnCode::_ERROR.

◆ setCameraParameters()

virtual void SolAR::api::geom::IProject::setCameraParameters ( const SolAR::datastructure::CamCalibration intrinsicParams,
const SolAR::datastructure::CamDistortion distorsionParams 
)
pure virtual

this method is used to set intrinsic parameters and distorsion of the camera

Parameters
[in]intrinsicParamscamera calibration matrix parameters.
[in]distorsionParamscamera distorsion parameters.

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