Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Class to accumulate points and make best line / plane approximation Generated from class MR::PointAccumulator.
Instances created here own their C++ objects, see CppObject.
| meshlib.PointAccumulator.PointAccumulator | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.PointAccumulator.PointAccumulator | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_PointAccumulator_DefaultConstruct().
| meshlib.PointAccumulator.PointAccumulator | ( | meshlib.PointAccumulator | _other | ) |
Generated from constructor MR::PointAccumulator::PointAccumulator. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_PointAccumulator_ConstructFromAnother().
| void meshlib.PointAccumulator.addPoint | ( | meshlib.Vector3d | pt | ) |
Generated from method MR::PointAccumulator::addPoint.
Calls MR_PointAccumulator_addPoint_1_MR_Vector3d().
| void meshlib.PointAccumulator.addPoint | ( | meshlib.Vector3d | pt, |
| double | weight ) |
Generated from method MR::PointAccumulator::addPoint.
Calls MR_PointAccumulator_addPoint_2_MR_Vector3d().
| void meshlib.PointAccumulator.addPoint | ( | meshlib.Vector3f | pt | ) |
Generated from method MR::PointAccumulator::addPoint.
Calls MR_PointAccumulator_addPoint_1_MR_Vector3f().
| void meshlib.PointAccumulator.addPoint | ( | meshlib.Vector3f | pt, |
| float | weight ) |
Generated from method MR::PointAccumulator::addPoint.
Calls MR_PointAccumulator_addPoint_2_MR_Vector3f().
| meshlib.PointAccumulator meshlib.PointAccumulator.assignFromAnother | ( | meshlib.PointAccumulator | _other | ) |
Generated from method MR::PointAccumulator::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_PointAccumulator_AssignFromAnother().
| meshlib.std_array_MR_AffineXf3d_4 meshlib.PointAccumulator.get4BasicXfs | ( | ) |
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 Generated from method MR::PointAccumulator::get4BasicXfs.
Calls MR_PointAccumulator_get4BasicXfs().
| meshlib.std_array_MR_AffineXf3f_4 meshlib.PointAccumulator.get4BasicXfs3f | ( | ) |
Generated from method MR::PointAccumulator::get4BasicXfs3f.
Calls MR_PointAccumulator_get4BasicXfs3f().
| meshlib.AffineXf3d meshlib.PointAccumulator.getBasicXf | ( | ) |
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 Generated from method MR::PointAccumulator::getBasicXf.
Calls MR_PointAccumulator_getBasicXf().
| meshlib.AffineXf3f meshlib.PointAccumulator.getBasicXf3f | ( | ) |
Generated from method MR::PointAccumulator::getBasicXf3f.
Calls MR_PointAccumulator_getBasicXf3f().
| meshlib.Line3d meshlib.PointAccumulator.getBestLine | ( | ) |
computes the best approximating line from the accumulated points Generated from method MR::PointAccumulator::getBestLine.
Calls MR_PointAccumulator_getBestLine().
| meshlib.Line3f meshlib.PointAccumulator.getBestLinef | ( | ) |
Generated from method MR::PointAccumulator::getBestLinef.
Calls MR_PointAccumulator_getBestLinef().
| meshlib.Plane3d meshlib.PointAccumulator.getBestPlane | ( | ) |
computes the best approximating plane from the accumulated points Generated from method MR::PointAccumulator::getBestPlane.
Calls MR_PointAccumulator_getBestPlane().
| meshlib.Plane3f meshlib.PointAccumulator.getBestPlanef | ( | ) |
Generated from method MR::PointAccumulator::getBestPlanef.
Calls MR_PointAccumulator_getBestPlanef().
| boolean meshlib.PointAccumulator.getCenteredCovarianceEigen | ( | meshlib.Vector3d | centroid, |
| meshlib.Matrix3d | eigenvectors, | ||
| meshlib.Vector3d | eigenvalues ) |
computes centroid and eigenvectors/eigenvalues of the covariance matrix of the accumulated points Generated from method MR::PointAccumulator::getCenteredCovarianceEigen.
Calls MR_PointAccumulator_getCenteredCovarianceEigen_MR_Vector3d().
| boolean meshlib.PointAccumulator.getCenteredCovarianceEigen | ( | meshlib.Vector3f | centroid, |
| meshlib.Matrix3f | eigenvectors, | ||
| meshlib.Vector3f | eigenvalues ) |
Generated from method MR::PointAccumulator::getCenteredCovarianceEigen.
Calls MR_PointAccumulator_getCenteredCovarianceEigen_MR_Vector3f().
| boolean meshlib.PointAccumulator.valid | ( | ) |
Generated from method MR::PointAccumulator::valid.
Calls MR_PointAccumulator_valid().