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

A ESphereFitter object is used to fit an E3DSphere on an EPointCloud. More...

#include <eVision/Easy3D/ESphereFitter.h>

Collaboration diagram for eVision::Easy3D::ESphereFitter:

Public Member Functions

 ESphereFitter ()
 Constructor of an ESphereFitter object.
 ESphereFitter (const eVision::Easy3D::ESphereFitter &other)
 Constructor of an ESphereFitter object.
virtual ~ESphereFitter () throw ()
eVision::Easy3D::ESphereFitter & operator= (const eVision::Easy3D::ESphereFitter &other)
 Assignment operator.
float Fit (const eVision::Easy3D::EPointCloud &pc, eVision::Easy3D::E3DSphere &sphere) const
 Fits an E3DSphere on a given EPointCloud.
eVision::Easy3D::E3DSphere Fit (const eVision::Easy3D::EPointCloud &pc) const
 Fits an E3DSphere on a given EPointCloud.
eVision::Easy3D::E3DSphere Fit (const eVision::Easy3D::EPointCloud &pc, float &averageDistance) const
 Fits an E3DSphere on a given EPointCloud.
void Load (const std::string &path)
 Loads the ESphereFitter configuration. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Loads the ESphereFitter configuration. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Saves the ESphereFitter configuration. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Saves the ESphereFitter configuration. The given ESerializer must have been created for writing.
 ESphereFitter (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

A ESphereFitter object is used to fit an E3DSphere on an EPointCloud.

License(s): Easy3D

Constructor & Destructor Documentation

◆ ESphereFitter() [1/3]

eVision::Easy3D::ESphereFitter::ESphereFitter ( )

Constructor of an ESphereFitter object.

◆ ESphereFitter() [2/3]

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

Constructor of an ESphereFitter object.

Parameters
otherReference to the ESphereFitter used for the initialization.

◆ ~ESphereFitter()

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

◆ ESphereFitter() [3/3]

eVision::Easy3D::ESphereFitter::ESphereFitter ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Fit() [1/3]

eVision::Easy3D::E3DSphere eVision::Easy3D::ESphereFitter::Fit ( const eVision::Easy3D::EPointCloud & pc) const

Fits an E3DSphere on a given EPointCloud.

Parameters
pcThe reference to the point cloud.
Deprecated
Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ Fit() [2/3]

float eVision::Easy3D::ESphereFitter::Fit ( const eVision::Easy3D::EPointCloud & pc,
eVision::Easy3D::E3DSphere & sphere ) const

Fits an E3DSphere on a given EPointCloud.

Parameters
pcThe reference to the point cloud.
sphereThe fitted sphere.

◆ Fit() [3/3]

eVision::Easy3D::E3DSphere eVision::Easy3D::ESphereFitter::Fit ( const eVision::Easy3D::EPointCloud & pc,
float & averageDistance ) const

Fits an E3DSphere on a given EPointCloud.

Parameters
pcThe reference to the point cloud.
averageDistanceThe reference to a float which will store the average distance from this sphere to the points that were used for the fit.
Deprecated
Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ Load() [1/2]

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

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

Parameters
pathThe file path.

◆ Load() [2/2]

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

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

Parameters
serializerThe serializer.

◆ operator=()

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

Assignment operator.

Parameters
otherThe ESphereFitter object that should be copied.

◆ Save() [1/2]

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

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

Parameters
pathThe file path.

◆ Save() [2/2]

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

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

Parameters
serializerThe ESerializer object that is written to.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::Easy3D::ESphereFitter::wrappedClass_