Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, PointAccumulator arg0) |
| None | addPoint (self, Vector3d pt) |
| None | addPoint (self, Vector3d pt, float weight) |
| None | addPoint (self, Vector3f pt) |
| None | addPoint (self, Vector3f pt, float weight) |
| std_array_AffineXf_Vector3_double_4 | get4BasicXfs (self) |
| std_array_AffineXf_Vector3_float_4 | get4BasicXfs3f (self) |
| AffineXf3d | getBasicXf (self) |
| AffineXf3f | getBasicXf3f (self) |
| Line3d | getBestLine (self) |
| Line3f | getBestLinef (self) |
| Plane3d | getBestPlane (self) |
| Plane3f | getBestPlanef (self) |
| bool | getCenteredCovarianceEigen (self, Vector3d centroid, Matrix3d eigenvectors, Vector3d eigenvalues) |
| bool | getCenteredCovarianceEigen (self, Vector3f centroid, Matrix3f eigenvectors, Vector3f eigenvalues) |
| bool | valid (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| PointAccumulator | operator (*args, **kwargs) |
| PointAccumulator | operator (*args, **kwargs) |
Generated from: MR::PointAccumulator Class to accumulate points and make best line / plane approximation
|
static |
| None mrmeshpy.PointAccumulator.__init__ | ( | self | ) |
| None mrmeshpy.PointAccumulator.__init__ | ( | self, | |
| PointAccumulator | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.PointAccumulator.addPoint | ( | self, | |
| Vector3d | pt ) |
| None mrmeshpy.PointAccumulator.addPoint | ( | self, | |
| Vector3d | pt, | ||
| float | weight ) |
| None mrmeshpy.PointAccumulator.addPoint | ( | self, | |
| Vector3f | pt ) |
| None mrmeshpy.PointAccumulator.addPoint | ( | self, | |
| Vector3f | pt, | ||
| float | weight ) |
| std_array_AffineXf_Vector3_double_4 mrmeshpy.PointAccumulator.get4BasicXfs | ( | self | ) |
returns 4 transformations, each maps (0,0,0) into point centroid, and maps vectors (1,0,0), (0,1,0), (0,0,1) into +/- first, +/- second, +/- third eigenvectors (forming positive reference frame) corresponding to ascending eigenvalues
| std_array_AffineXf_Vector3_float_4 mrmeshpy.PointAccumulator.get4BasicXfs3f | ( | self | ) |
| AffineXf3d mrmeshpy.PointAccumulator.getBasicXf | ( | self | ) |
returns the transformation that maps (0,0,0) into point centroid, and maps vectors (1,0,0), (0,1,0), (0,0,1) into first, second, third eigenvectors corresponding to ascending eigenvalues
| AffineXf3f mrmeshpy.PointAccumulator.getBasicXf3f | ( | self | ) |
| Line3d mrmeshpy.PointAccumulator.getBestLine | ( | self | ) |
computes the best approximating line from the accumulated points
| Line3f mrmeshpy.PointAccumulator.getBestLinef | ( | self | ) |
| Plane3d mrmeshpy.PointAccumulator.getBestPlane | ( | self | ) |
computes the best approximating plane from the accumulated points
| Plane3f mrmeshpy.PointAccumulator.getBestPlanef | ( | self | ) |
| bool mrmeshpy.PointAccumulator.getCenteredCovarianceEigen | ( | self, | |
| Vector3d | centroid, | ||
| Matrix3d | eigenvectors, | ||
| Vector3d | eigenvalues ) |
computes centroid and eigenvectors/eigenvalues of the covariance matrix of the accumulated points
| bool mrmeshpy.PointAccumulator.getCenteredCovarianceEigen | ( | self, | |
| Vector3f | centroid, | ||
| Matrix3f | eigenvectors, | ||
| Vector3f | eigenvalues ) |
|
static |
|
static |
| bool mrmeshpy.PointAccumulator.valid | ( | self | ) |