eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::Easy3D::EDepthMapToPointCloudConverter Class Reference

Performs the conversion from a EDepthMap to a EPointCloud, using the given calibration model. More...

#include <eVision/Easy3D/EDepthMapToPointCloudConverter.h>

Collaboration diagram for eVision::Easy3D::EDepthMapToPointCloudConverter:

Public Member Functions

 EDepthMapToPointCloudConverter ()
 Create a EDepthMapToPointCloudConverter.
 EDepthMapToPointCloudConverter (const eVision::Easy3D::EDepthMapToPointCloudConverter &other)
 Create a EDepthMapToPointCloudConverter.
virtual ~EDepthMapToPointCloudConverter () throw ()
eVision::Easy3D::EDepthMapToPointCloudConverter & operator= (const eVision::Easy3D::EDepthMapToPointCloudConverter &other)
 Assignment operator.
void SetCalibrationModel (const eVision::Easy3D::ECalibrationModel &model)
 Sets the ECalibrationModel used for conversion.
std::unique_ptr< eVision::Easy3D::ECalibrationModel > GetCalibrationModel () const
 Gets a copy of the ECalibrationModel used for conversion.
void Convert (const eVision::Easy3D::EDepthMap8 &srcDepthMap, eVision::Easy3D::EPointCloud &pc) const
 Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.
void Convert (const eVision::Easy3D::EDepthMap16 &srcDepthMap, eVision::Easy3D::EPointCloud &pc) const
 Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.
void Convert (const eVision::Easy3D::EDepthMap32f &srcDepthMap, eVision::Easy3D::EPointCloud &pc) const
 Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.
void Convert (const eVision::Easy3D::EDepthMap8 &srcDepthMap, eVision::ERegion &region, eVision::Easy3D::EPointCloud &pc) const
 Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.
void Convert (const eVision::Easy3D::EDepthMap16 &srcDepthMap, eVision::ERegion &region, eVision::Easy3D::EPointCloud &pc) const
 Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.
void Convert (const eVision::Easy3D::EDepthMap32f &srcDepthMap, eVision::ERegion &region, eVision::Easy3D::EPointCloud &pc) const
 Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.
void Convert (const eVision::Easy3D::EDepthMap *srcDepthMap, eVision::Easy3D::EPointCloud &pc) const
 Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.
void Convert (const eVision::Easy3D::EDepthMap *srcDepthMap, eVision::ERegion &region, eVision::Easy3D::EPointCloud &pc) const
 Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.
void Load (const std::string &path)
 Loads the converter configuration. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Loads the converter configuration. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Saves the converter configuration. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Saves the converter configuration. The given ESerializer must have been created for writing.
 EDepthMapToPointCloudConverter (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Performs the conversion from a EDepthMap to a EPointCloud, using the given calibration model.

A Depth Map is a grayscale image acquired by a laser triangulation system. The calibration model defines how to transform a pixel from the Depth Map to a world space position. The resulting EPointCloud contains a point per defined pixel of the Depth Map. Undefined pixels are discarded.

License(s): Easy3D

Constructor & Destructor Documentation

◆ EDepthMapToPointCloudConverter() [1/3]

eVision::Easy3D::EDepthMapToPointCloudConverter::EDepthMapToPointCloudConverter ( )

◆ EDepthMapToPointCloudConverter() [2/3]

eVision::Easy3D::EDepthMapToPointCloudConverter::EDepthMapToPointCloudConverter ( const eVision::Easy3D::EDepthMapToPointCloudConverter & other)

◆ ~EDepthMapToPointCloudConverter()

eVision::Easy3D::EDepthMapToPointCloudConverter::~EDepthMapToPointCloudConverter ( )
throw ( )
virtual

◆ EDepthMapToPointCloudConverter() [3/3]

eVision::Easy3D::EDepthMapToPointCloudConverter::EDepthMapToPointCloudConverter ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Convert() [1/8]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Convert ( const eVision::Easy3D::EDepthMap * srcDepthMap,
eVision::Easy3D::EPointCloud & pc ) const

Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.

Parameters
srcDepthMapThe Depth Map to convert.
pcThe destination Point Cloud.

◆ Convert() [2/8]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Convert ( const eVision::Easy3D::EDepthMap * srcDepthMap,
eVision::ERegion & region,
eVision::Easy3D::EPointCloud & pc ) const

Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.

Parameters
srcDepthMapThe Depth Map to convert.
regionThe region of interest, only pixels inside the given region are converted and added to the Point Cloud.
pcThe destination Point Cloud.

◆ Convert() [3/8]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Convert ( const eVision::Easy3D::EDepthMap16 & srcDepthMap,
eVision::Easy3D::EPointCloud & pc ) const

Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.

Parameters
srcDepthMapThe Depth Map to convert.
pcThe destination Point Cloud.

◆ Convert() [4/8]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Convert ( const eVision::Easy3D::EDepthMap16 & srcDepthMap,
eVision::ERegion & region,
eVision::Easy3D::EPointCloud & pc ) const

Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.

Parameters
srcDepthMapThe Depth Map to convert.
regionThe region of interest, only pixels inside the given region are converted and added to the Point Cloud.
pcThe destination Point Cloud.

◆ Convert() [5/8]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Convert ( const eVision::Easy3D::EDepthMap32f & srcDepthMap,
eVision::Easy3D::EPointCloud & pc ) const

Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.

Parameters
srcDepthMapThe Depth Map to convert.
pcThe destination Point Cloud.

◆ Convert() [6/8]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Convert ( const eVision::Easy3D::EDepthMap32f & srcDepthMap,
eVision::ERegion & region,
eVision::Easy3D::EPointCloud & pc ) const

Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.

Parameters
srcDepthMapThe Depth Map to convert.
regionThe region of interest, only pixels inside the given region are converted and added to the Point Cloud.
pcThe destination Point Cloud.

◆ Convert() [7/8]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Convert ( const eVision::Easy3D::EDepthMap8 & srcDepthMap,
eVision::Easy3D::EPointCloud & pc ) const

Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.

Parameters
srcDepthMapThe Depth Map to convert.
pcThe destination Point Cloud.

◆ Convert() [8/8]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Convert ( const eVision::Easy3D::EDepthMap8 & srcDepthMap,
eVision::ERegion & region,
eVision::Easy3D::EPointCloud & pc ) const

Using the ECalibrationModel set by EDepthMapToPointCloudConverter::SetCalibrationModel, applies the ECalibrationModel to the Depth Map pixels and fills the EPointCloud with world positions.

Parameters
srcDepthMapThe Depth Map to convert.
regionThe region of interest, only pixels inside the given region are converted and added to the Point Cloud.
pcThe destination Point Cloud.

◆ GetCalibrationModel()

std::unique_ptr< eVision::Easy3D::ECalibrationModel > eVision::Easy3D::EDepthMapToPointCloudConverter::GetCalibrationModel ( ) const

Gets a copy of the ECalibrationModel used for conversion.

◆ Load() [1/2]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Load ( const std::string & path)

Loads the converter configuration. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Load() [2/2]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Load ( eVision::ESerializer * serializer)

Loads the converter configuration. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ operator=()

eVision::Easy3D::EDepthMapToPointCloudConverter & eVision::Easy3D::EDepthMapToPointCloudConverter::operator= ( const eVision::Easy3D::EDepthMapToPointCloudConverter & other)

Assignment operator.

Parameters
otherAnother EDepthMapToPointCloudConverter.

◆ Save() [1/2]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Save ( const std::string & path)

Saves the converter configuration. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ Save() [2/2]

void eVision::Easy3D::EDepthMapToPointCloudConverter::Save ( eVision::ESerializer * serializer)

Saves the converter configuration. The given ESerializer must have been created for writing.

Parameters
serializerThe serializer.

◆ SetCalibrationModel()

void eVision::Easy3D::EDepthMapToPointCloudConverter::SetCalibrationModel ( const eVision::Easy3D::ECalibrationModel & model)

Sets the ECalibrationModel used for conversion.

Parameters
modelThe calibration model

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::Easy3D::EDepthMapToPointCloudConverter::wrappedClass_