eVision Python API
Loading...
Searching...
No Matches
eVision.Easy3D.EPlaneFitter Class Reference

A eVision.Easy3D.EPlaneFitter object is used to fit an eVision.Easy3D.E3DPlane on an eVision.Easy3D.EPointCloud. More...

Public Member Functions

None __init__ (self)
 Constructor of an eVision.Easy3D.EPlaneFitter object.
None __init__ (self, eVision.Easy3D.EPlaneFitter other)
 Constructor of an eVision.Easy3D.EPlaneFitter object.
float Fit (self, eVision.Easy3D.EPointCloud pc, eVision.Easy3D.E3DPlane fittedPlane)
 Fits an eVision.Easy3D.E3DPlane on a given eVision.Easy3D.EPointCloud and returns the average distance from this plane to the points that were used for the fit.
None Load (self, str path)
 Loads the eVision.Easy3D.EPlaneFitter configuration.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.Easy3D.EPlaneFitter configuration.
None Save (self, str path)
 Saves the eVision.Easy3D.EPlaneFitter configuration.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.Easy3D.EPlaneFitter configuration.
int MinSampleCount (self)
 Sets/Gets the minimum number of points required in the input cloud.
 MinSampleCount (self, int value)
 Sets/Gets the minimum number of points required in the input cloud.

Detailed Description

A eVision.Easy3D.EPlaneFitter object is used to fit an eVision.Easy3D.E3DPlane on an eVision.Easy3D.EPointCloud.

Remarks:

License(s): Easy3D

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.Easy3D.EPlaneFitter.__init__ ( self)

Constructor of an eVision.Easy3D.EPlaneFitter object.

◆ __init__() [2/2]

None eVision.Easy3D.EPlaneFitter.__init__ ( self,
eVision.Easy3D.EPlaneFitter other )

Constructor of an eVision.Easy3D.EPlaneFitter object.

Parameters
otherReference to the eVision.Easy3D.EPlaneFitter used for the initialization.

Member Function Documentation

◆ Fit()

float eVision.Easy3D.EPlaneFitter.Fit ( self,
eVision.Easy3D.EPointCloud pc,
eVision.Easy3D.E3DPlane fittedPlane )

Fits an eVision.Easy3D.E3DPlane on a given eVision.Easy3D.EPointCloud and returns the average distance from this plane to the points that were used for the fit.

Remarks:

The normal vector of the fitted plane is always oriented towards the positive Z axis, see eVision.Easy3D.E3DPlaneNormalOrientation.PosZ.

Parameters
pcThe reference to the point cloud.
fittedPlaneThe reference that will be filled with the fitted plane.

◆ Load() [1/2]

None eVision.Easy3D.EPlaneFitter.Load ( self,
eVision.ESerializer | None serializer )

Loads the eVision.Easy3D.EPlaneFitter configuration.

The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

None eVision.Easy3D.EPlaneFitter.Load ( self,
str path )

Loads the eVision.Easy3D.EPlaneFitter configuration.

The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ MinSampleCount() [1/2]

int eVision.Easy3D.EPlaneFitter.MinSampleCount ( self)

Sets/Gets the minimum number of points required in the input cloud.

By default, a value of 3 is assumed.

Deprecated
Deprecated in version 26.2. Scheduled to be removed in version 27.6.

◆ MinSampleCount() [2/2]

eVision.Easy3D.EPlaneFitter.MinSampleCount ( self,
int value )

Sets/Gets the minimum number of points required in the input cloud.

By default, a value of 3 is assumed.

Deprecated
Deprecated in version 26.2. Scheduled to be removed in version 27.6.

◆ Save() [1/2]

None eVision.Easy3D.EPlaneFitter.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.Easy3D.EPlaneFitter configuration.

The given ESerializer must have been created for writing.

Parameters
serializerThe eVision.ESerializer object that is written to.

◆ Save() [2/2]

None eVision.Easy3D.EPlaneFitter.Save ( self,
str path )

Saves the eVision.Easy3D.EPlaneFitter configuration.

The given ESerializer must have been created for writing.

Parameters
pathThe file path.