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

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

#include <eVision/Easy3D/EDepthMapToMeshConverter.h>

Collaboration diagram for eVision::Easy3D::EDepthMapToMeshConverter:

Public Member Functions

 EDepthMapToMeshConverter ()
 Creates an EDepthMapToMeshConverter object.
 EDepthMapToMeshConverter (const eVision::Easy3D::EDepthMapToMeshConverter &other)
 Creates an EDepthMapToMeshConverter object.
virtual ~EDepthMapToMeshConverter () throw ()
eVision::Easy3D::EDepthMapToMeshConverter & operator= (const eVision::Easy3D::EDepthMapToMeshConverter &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::EMesh &obj) const
 Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.
void Convert (const eVision::Easy3D::EDepthMap16 &srcDepthMap, eVision::Easy3D::EMesh &obj) const
 Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.
void Convert (const eVision::Easy3D::EDepthMap8 &srcDepthMap, eVision::ERegion &region, eVision::Easy3D::EMesh &obj) const
 Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.
void Convert (const eVision::Easy3D::EDepthMap16 &srcDepthMap, eVision::ERegion &region, eVision::Easy3D::EMesh &obj) const
 Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.
void Convert (const eVision::Easy3D::EDepthMap *srcDepthMap, eVision::Easy3D::EMesh &obj) const
 Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.
void Convert (const eVision::Easy3D::EDepthMap *srcDepthMap, eVision::ERegion &region, eVision::Easy3D::EMesh &obj) const
 Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.
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.
 EDepthMapToMeshConverter (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Performs the conversion from a EDepthMap to a EMesh, 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 3D representation contains a EMesh representing the surface in the world space.

License(s): Easy3D

Constructor & Destructor Documentation

◆ EDepthMapToMeshConverter() [1/3]

eVision::Easy3D::EDepthMapToMeshConverter::EDepthMapToMeshConverter ( )

Creates an EDepthMapToMeshConverter object.

◆ EDepthMapToMeshConverter() [2/3]

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

Creates an EDepthMapToMeshConverter object.

Parameters
otherAnother EDepthMapToMeshConverter.

◆ ~EDepthMapToMeshConverter()

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

◆ EDepthMapToMeshConverter() [3/3]

eVision::Easy3D::EDepthMapToMeshConverter::EDepthMapToMeshConverter ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Convert() [1/6]

void eVision::Easy3D::EDepthMapToMeshConverter::Convert ( const eVision::Easy3D::EDepthMap * srcDepthMap,
eVision::Easy3D::EMesh & obj ) const

Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.

Parameters
srcDepthMapThe Depth Map to convert.
objThe destination mesh.

◆ Convert() [2/6]

void eVision::Easy3D::EDepthMapToMeshConverter::Convert ( const eVision::Easy3D::EDepthMap * srcDepthMap,
eVision::ERegion & region,
eVision::Easy3D::EMesh & obj ) const

Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.

Parameters
srcDepthMapThe Depth Map to convert.
regionThe region of interest.
objThe destination mesh.

◆ Convert() [3/6]

void eVision::Easy3D::EDepthMapToMeshConverter::Convert ( const eVision::Easy3D::EDepthMap16 & srcDepthMap,
eVision::Easy3D::EMesh & obj ) const

Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.

Parameters
srcDepthMapThe Depth Map to convert.
objThe destination mesh.

◆ Convert() [4/6]

void eVision::Easy3D::EDepthMapToMeshConverter::Convert ( const eVision::Easy3D::EDepthMap16 & srcDepthMap,
eVision::ERegion & region,
eVision::Easy3D::EMesh & obj ) const

Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.

Parameters
srcDepthMapThe Depth Map to convert.
regionThe region of interest.
objThe destination mesh.

◆ Convert() [5/6]

void eVision::Easy3D::EDepthMapToMeshConverter::Convert ( const eVision::Easy3D::EDepthMap8 & srcDepthMap,
eVision::Easy3D::EMesh & obj ) const

Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.

Parameters
srcDepthMapThe Depth Map to convert.
objThe destination mesh.

◆ Convert() [6/6]

void eVision::Easy3D::EDepthMapToMeshConverter::Convert ( const eVision::Easy3D::EDepthMap8 & srcDepthMap,
eVision::ERegion & region,
eVision::Easy3D::EMesh & obj ) const

Using the ECalibrationModel set by EDepthMapToMeshConverter::SetCalibrationModel, performs the conversion from a EDepthMap to a EMesh.

Parameters
srcDepthMapThe Depth Map to convert.
regionThe region of interest.
objThe destination mesh.

◆ GetCalibrationModel()

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

Gets a copy of the ECalibrationModel used for conversion.

◆ Load() [1/2]

void eVision::Easy3D::EDepthMapToMeshConverter::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::EDepthMapToMeshConverter::Load ( eVision::ESerializer * serializer)

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

Parameters
serializerThe serializer.

◆ operator=()

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

Assignment operator.

Parameters
otherThe other EDepthMapToMeshConverter that we will copy into this one.

◆ Save() [1/2]

void eVision::Easy3D::EDepthMapToMeshConverter::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::EDepthMapToMeshConverter::Save ( eVision::ESerializer * serializer)

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

Parameters
serializerThe serializer.

◆ SetCalibrationModel()

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

Sets the ECalibrationModel used for conversion.

Parameters
modelThe calibration model.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::Easy3D::EDepthMapToMeshConverter::wrappedClass_