A EPlaneFitter object is used to fit an E3DPlane on an EPointCloud. More...
#include <eVision/Easy3D/EPlaneFitter.h>
Public Member Functions | |
| EPlaneFitter () | |
| Constructor of an EPlaneFitter object. | |
| EPlaneFitter (const eVision::Easy3D::EPlaneFitter &other) | |
| Constructor of an EPlaneFitter object. | |
| virtual | ~EPlaneFitter () throw () |
| eVision::Easy3D::EPlaneFitter & | operator= (const eVision::Easy3D::EPlaneFitter &other) |
| Assignment operator. | |
| float | Fit (const eVision::Easy3D::EPointCloud &pc, eVision::Easy3D::E3DPlane &fittedPlane) const |
| Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit. | |
| eVision::Easy3D::E3DPlane | Fit (const eVision::Easy3D::EPointCloud &pc) const |
| Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit. | |
| eVision::Easy3D::E3DPlane | Fit (const eVision::Easy3D::EPointCloud &pc, float &averageDistance) const |
| Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit. | |
| int | GetMinSampleCount () const |
| Sets/Gets the minimum number of points required in the input cloud. | |
| void | SetMinSampleCount (int minSamples) |
| Sets/Gets the minimum number of points required in the input cloud. | |
| void | Load (const std::string &path) |
| Loads the EPlaneFitter configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads the EPlaneFitter configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Saves the EPlaneFitter configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves the EPlaneFitter configuration. The given ESerializer must have been created for writing. | |
| EPlaneFitter (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
A EPlaneFitter object is used to fit an E3DPlane on an EPointCloud.
License(s): Easy3D
| eVision::Easy3D::EPlaneFitter::EPlaneFitter | ( | ) |
Constructor of an EPlaneFitter object.
| eVision::Easy3D::EPlaneFitter::EPlaneFitter | ( | const eVision::Easy3D::EPlaneFitter & | other | ) |
Constructor of an EPlaneFitter object.
| other | Reference to the EPlaneFitter used for the initialization. |
|
virtual | ||||||||||||
| eVision::Easy3D::EPlaneFitter::EPlaneFitter | ( | CppWrapperInternal::InternalConstructor | ) |
| eVision::Easy3D::E3DPlane eVision::Easy3D::EPlaneFitter::Fit | ( | const eVision::Easy3D::EPointCloud & | pc | ) | const |
Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.
| pc | The reference to the point cloud. |
The normal vector of the fitted plane is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation::E3DPlaneNormalOrientation_PosZ.
| float eVision::Easy3D::EPlaneFitter::Fit | ( | const eVision::Easy3D::EPointCloud & | pc, |
| eVision::Easy3D::E3DPlane & | fittedPlane ) const |
Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.
| pc | The reference to the point cloud. |
| fittedPlane | The reference that will be filled with the fitted plane. |
The normal vector of the fitted plane is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation::E3DPlaneNormalOrientation_PosZ.
| eVision::Easy3D::E3DPlane eVision::Easy3D::EPlaneFitter::Fit | ( | const eVision::Easy3D::EPointCloud & | pc, |
| float & | averageDistance ) const |
Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.
| pc | The reference to the point cloud. |
| averageDistance | The reference to a float which will store the average distance from this plane to the points that were used for the fit. |
The normal vector of the fitted plane is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation::E3DPlaneNormalOrientation_PosZ.
| int eVision::Easy3D::EPlaneFitter::GetMinSampleCount | ( | ) | const |
Sets/Gets the minimum number of points required in the input cloud.
By default, a value of 3 is assumed.
| void eVision::Easy3D::EPlaneFitter::Load | ( | const std::string & | path | ) |
Loads the EPlaneFitter configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Easy3D::EPlaneFitter::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the EPlaneFitter configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| eVision::Easy3D::EPlaneFitter & eVision::Easy3D::EPlaneFitter::operator= | ( | const eVision::Easy3D::EPlaneFitter & | other | ) |
Assignment operator.
| other | The EPlaneFitter object that should be copied. |
| void eVision::Easy3D::EPlaneFitter::Save | ( | const std::string & | path | ) |
Saves the EPlaneFitter configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Easy3D::EPlaneFitter::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the EPlaneFitter configuration. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
| void eVision::Easy3D::EPlaneFitter::SetMinSampleCount | ( | int | minSamples | ) |
Sets/Gets the minimum number of points required in the input cloud.
By default, a value of 3 is assumed.
| CppWrapperInternal::WrappedClass eVision::Easy3D::EPlaneFitter::wrappedClass_ |