A eVision.Easy3D.EPrincipalAxisExtractor object computes the principal axis analysis (PCA) on an eVision.Easy3D.EPointCloud and produces a eVision.Easy3D.E3DTransformMatrix as a result. More...
A eVision.Easy3D.EPrincipalAxisExtractor object computes the principal axis analysis (PCA) on an eVision.Easy3D.EPointCloud and produces a eVision.Easy3D.E3DTransformMatrix as a result.
Remarks:
License(s): Easy3D
| None eVision.Easy3D.EPrincipalAxisExtractor.__init__ | ( | self | ) |
Creates an eVision.Easy3D.EPrincipalAxisExtractor object.
| None eVision.Easy3D.EPrincipalAxisExtractor.__init__ | ( | self, | |
| eVision.Easy3D.EPrincipalAxisExtractor | other ) |
Creates an eVision.Easy3D.EPrincipalAxisExtractor object.
| other | The object used for the initialization |
| eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EPrincipalAxisExtractor.Extract | ( | self, | |
| eVision.Easy3D.EPointCloud | pc ) |
Computes the eVision.Easy3D.E3DTransformMatrix for a given eVision.Easy3D.EPointCloud.
This will compute the PCA, then select the direction of each axis of the basis so that this basis is as close as possible as the reference transform.
Optionally returns the standard deviation along the 3 axis.
| pc | Input point cloud. |
| eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EPrincipalAxisExtractor.Extract | ( | self, | |
| eVision.Easy3D.EPointCloud | pc, | ||
| eVision.Easy3D.E3DPoint | stdDev ) |
Computes the eVision.Easy3D.E3DTransformMatrix for a given eVision.Easy3D.EPointCloud.
This will compute the PCA, then select the direction of each axis of the basis so that this basis is as close as possible as the reference transform.
Optionally returns the standard deviation along the 3 axis.
| pc | Input point cloud. |
| stdDev | Variable to store the X, Y and Z components of the standard deviation. |
| bool eVision.Easy3D.EPrincipalAxisExtractor.HasReferenceTransformSet | ( | self | ) |
Returns 'true' if a reference transform (eVision.Easy3D.E3DTransformMatrix) has been set explicitly.
| None eVision.Easy3D.EPrincipalAxisExtractor.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.Easy3D.EPrincipalAxisExtractor object configuration.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.Easy3D.EPrincipalAxisExtractor.Load | ( | self, | |
| str | path ) |
Loads the eVision.Easy3D.EPrincipalAxisExtractor object configuration.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
| eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EPrincipalAxisExtractor.ReferenceTransform | ( | self | ) |
Sets/Gets the reference transform (eVision.Easy3D.E3DTransformMatrix).
If not set, it will use the main basis as reference to select the direction of each axis of the new basis.
| eVision.Easy3D.EPrincipalAxisExtractor.ReferenceTransform | ( | self, | |
| eVision.Easy3D.E3DTransformMatrix | value ) |
Sets/Gets the reference transform (eVision.Easy3D.E3DTransformMatrix).
If not set, it will use the main basis as reference to select the direction of each axis of the new basis.
| None eVision.Easy3D.EPrincipalAxisExtractor.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.Easy3D.EPrincipalAxisExtractor object configuration.
The given eVision.ESerializer must have been created for writing.
| serializer | The eVision.ESerializer object that is written to. |
| None eVision.Easy3D.EPrincipalAxisExtractor.Save | ( | self, | |
| str | path ) |
Saves the eVision.Easy3D.EPrincipalAxisExtractor object configuration.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
| None eVision.Easy3D.EPrincipalAxisExtractor.UnsetReferenceTransform | ( | self | ) |
Unset the reference transform (eVision.Easy3D.E3DTransformMatrix).