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

Represents a 3D calibration model. More...

#include <eVision/Easy3D/ECalibrationModel.h>

Inheritance diagram for eVision::Easy3D::ECalibrationModel:
Collaboration diagram for eVision::Easy3D::ECalibrationModel:

Public Member Functions

virtual ~ECalibrationModel () throw ()
virtual eVision::Easy3D::E3DPoint Apply (eVision::Easy3D::E3DPoint uvwPoint)
 Applies this model to convert an uncalibrated point to a world position.
virtual eVision::Easy3D::ECalibrationType GetType () const
 Returns the type of calibration model, see ECalibrationType.
void Load (const std::string &path)
 Loads the calibration model. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Loads the calibration model. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Saves the calibration model. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Saves the calibration model. The given ESerializer must have been created for writing.
 ECalibrationModel (CppWrapperInternal::InternalConstructor)

Static Public Member Functions

static std::unique_ptr< eVision::Easy3D::ECalibrationModel > Create (const std::string &path)
 Factory method from a serializer stream: allocates and reads the calibration model from the given serializer.
static std::unique_ptr< eVision::Easy3D::ECalibrationModel > Create (eVision::ESerializer *file)
 Factory method from a serializer stream: allocates and reads the calibration model from the given serializer.

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Represents a 3D calibration model.

License(s): Easy3D

Constructor & Destructor Documentation

◆ ~ECalibrationModel()

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

◆ ECalibrationModel()

eVision::Easy3D::ECalibrationModel::ECalibrationModel ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Apply()

eVision::Easy3D::E3DPoint eVision::Easy3D::ECalibrationModel::Apply ( eVision::Easy3D::E3DPoint uvwPoint)
virtual

Applies this model to convert an uncalibrated point to a world position.

This method returns a world position.

Parameters
uvwPointThe position of a depth map pixel.

◆ Create() [1/2]

std::unique_ptr< eVision::Easy3D::ECalibrationModel > eVision::Easy3D::ECalibrationModel::Create ( const std::string & path)
static

Factory method from a serializer stream: allocates and reads the calibration model from the given serializer.

Returns the corresponding calibration model, must be released by caller.

Parameters
pathThe file path.

◆ Create() [2/2]

std::unique_ptr< eVision::Easy3D::ECalibrationModel > eVision::Easy3D::ECalibrationModel::Create ( eVision::ESerializer * file)
static

Factory method from a serializer stream: allocates and reads the calibration model from the given serializer.

Returns the corresponding calibration model, must be released by caller.

Parameters
fileA serializer created for reading.

◆ GetType()

eVision::Easy3D::ECalibrationType eVision::Easy3D::ECalibrationModel::GetType ( ) const
virtual

◆ Load() [1/2]

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

Loads the calibration model. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Load() [2/2]

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

Loads the calibration model. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Save() [1/2]

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

Saves the calibration model. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ Save() [2/2]

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

Saves the calibration model. The given ESerializer must have been created for writing.

Parameters
serializerThe serializer.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::Easy3D::ECalibrationModel::wrappedClass_