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. | |
A eVision.Easy3D.EPlaneFitter object is used to fit an eVision.Easy3D.E3DPlane on an eVision.Easy3D.EPointCloud.
Remarks:
License(s): Easy3D
| None eVision.Easy3D.EPlaneFitter.__init__ | ( | self | ) |
Constructor of an eVision.Easy3D.EPlaneFitter object.
| None eVision.Easy3D.EPlaneFitter.__init__ | ( | self, | |
| eVision.Easy3D.EPlaneFitter | other ) |
Constructor of an eVision.Easy3D.EPlaneFitter object.
| other | Reference to the eVision.Easy3D.EPlaneFitter used for the initialization. |
| 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.
| pc | The reference to the point cloud. |
| fittedPlane | The reference that will be filled with the fitted plane. |
| 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.
| serializer | The serializer. |
| None eVision.Easy3D.EPlaneFitter.Load | ( | self, | |
| str | path ) |
Loads the eVision.Easy3D.EPlaneFitter configuration.
The given ESerializer must have been created for reading.
| path | The file path. |
| 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.
| 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.
| 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.
| serializer | The eVision.ESerializer object that is written to. |
| None eVision.Easy3D.EPlaneFitter.Save | ( | self, | |
| str | path ) |
Saves the eVision.Easy3D.EPlaneFitter configuration.
The given ESerializer must have been created for writing.
| path | The file path. |