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

EObjectBasedCalibrationModel is an Easy3D calibration model built from a scan of a reference object. More...

#include <eVision/Easy3D/Easy3DLaserLine/EObjectBasedCalibrationModel.h>

Inheritance diagram for eVision::Easy3D::EObjectBasedCalibrationModel:
Collaboration diagram for eVision::Easy3D::EObjectBasedCalibrationModel:

Public Member Functions

 EObjectBasedCalibrationModel ()
 Creates an EObjectBasedCalibrationModel.
 EObjectBasedCalibrationModel (const eVision::Easy3D::EObjectBasedCalibrationModel &other)
 Creates an EObjectBasedCalibrationModel.
virtual ~EObjectBasedCalibrationModel () throw ()
eVision::Easy3D::EObjectBasedCalibrationModel & operator= (const eVision::Easy3D::EObjectBasedCalibrationModel &other)
 Assignment operator.
virtual eVision::Easy3D::ECalibrationType GetType () const
 Returns the type of calibration model, see ECalibrationType.
float GetCalibrationError () const
 Returns the estimate of the calibration error (in metric units).
float GetCalibrationRelativeError () const
 Returns the estimate of the calibration error (in relative units).
bool IsInitialized () const
 Returns true if the model is initialized.
void Load (const std::string &path)
 Loads the model. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Loads the model. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Saves the model. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Saves the model. The given ESerializer must have been created for writing.
 EObjectBasedCalibrationModel (CppWrapperInternal::InternalConstructor)
Public Member Functions inherited from eVision::Easy3D::ECalibrationModel
virtual ~ECalibrationModel () throw ()
virtual eVision::Easy3D::E3DPoint Apply (eVision::Easy3D::E3DPoint uvwPoint)
 Applies this model to convert an uncalibrated point to a world position.
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)

Additional Inherited Members

Static Public Member Functions inherited from eVision::Easy3D::ECalibrationModel
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 inherited from eVision::Easy3D::ECalibrationModel
CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

EObjectBasedCalibrationModel is an Easy3D calibration model built from a scan of a reference object.

License(s): Easy3DLaserLine

Constructor & Destructor Documentation

◆ EObjectBasedCalibrationModel() [1/3]

eVision::Easy3D::EObjectBasedCalibrationModel::EObjectBasedCalibrationModel ( )

◆ EObjectBasedCalibrationModel() [2/3]

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

Creates an EObjectBasedCalibrationModel.

Parameters
otherAnother EObjectBasedCalibrationModel.

◆ ~EObjectBasedCalibrationModel()

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

◆ EObjectBasedCalibrationModel() [3/3]

eVision::Easy3D::EObjectBasedCalibrationModel::EObjectBasedCalibrationModel ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ GetCalibrationError()

float eVision::Easy3D::EObjectBasedCalibrationModel::GetCalibrationError ( ) const

Returns the estimate of the calibration error (in metric units).

◆ GetCalibrationRelativeError()

float eVision::Easy3D::EObjectBasedCalibrationModel::GetCalibrationRelativeError ( ) const

Returns the estimate of the calibration error (in relative units).

◆ GetType()

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

Returns the type of calibration model, see ECalibrationType.

Reimplemented from eVision::Easy3D::ECalibrationModel.

◆ IsInitialized()

bool eVision::Easy3D::EObjectBasedCalibrationModel::IsInitialized ( ) const

Returns true if the model is initialized.

◆ Load() [1/2]

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

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

Parameters
pathThe file path.

◆ Load() [2/2]

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

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

Parameters
serializerThe serializer.

◆ operator=()

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

Assignment operator.

Parameters
otherAnother EObjectBasedCalibrationModel.

◆ Save() [1/2]

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

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

Parameters
pathThe file path.

◆ Save() [2/2]

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

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

Parameters
serializerThe ESerializer object that is written to.