Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PointAccumulator > |
| static auto | construct_from_another (_other:&meshlib::PointAccumulator) -> meshlib::Owned< meshlib::PointAccumulator > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Class to accumulate points and make best line / plane approximation Generated from class MR::PointAccumulator.
Generated from class MR::PointAccumulator. Heap-allocated instances are held in Owned<PointAccumulator>.
| void meshlib::PointAccumulator::add_point_1_mr_vector3d | ( | pt:&meshlib::Vector3d | ) |
Generated from method MR::PointAccumulator::addPoint.
Calls MR_PointAccumulator_addPoint_1_MR_Vector3d().
| void meshlib::PointAccumulator::add_point_1_mr_vector3f | ( | pt:&meshlib::Vector3f | ) |
Generated from method MR::PointAccumulator::addPoint.
Calls MR_PointAccumulator_addPoint_1_MR_Vector3f().
| void meshlib::PointAccumulator::add_point_2_mr_vector3d | ( | pt:&meshlib::Vector3d | , |
| weight:f64 | ) |
Generated from method MR::PointAccumulator::addPoint.
Calls MR_PointAccumulator_addPoint_2_MR_Vector3d().
| void meshlib::PointAccumulator::add_point_2_mr_vector3f | ( | pt:&meshlib::Vector3f | , |
| weight:f32 | ) |
Generated from method MR::PointAccumulator::addPoint.
Calls MR_PointAccumulator_addPoint_2_MR_Vector3f().
| auto meshlib::PointAccumulator::assign_from_another | ( | _other:&meshlib::PointAccumulator | ) | -> &mut meshlib::PointAccumulator |
Generated from method MR::PointAccumulator::operator=.
Calls MR_PointAccumulator_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::PointAccumulator::PointAccumulator.
Calls MR_PointAccumulator_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PointAccumulator::get4_basic_xfs | ( | ) | const -> meshlib::std_array_MR_AffineXf3d_4 |
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().
| auto meshlib::PointAccumulator::get4_basic_xfs3f | ( | ) | const -> meshlib::std_array_MR_AffineXf3f_4 |
Generated from method MR::PointAccumulator::get4BasicXfs3f.
Calls MR_PointAccumulator_get4BasicXfs3f().
| auto meshlib::PointAccumulator::get_basic_xf | ( | ) | const -> meshlib::AffineXf3d |
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().
| auto meshlib::PointAccumulator::get_basic_xf3f | ( | ) | const -> meshlib::AffineXf3f |
Generated from method MR::PointAccumulator::getBasicXf3f.
Calls MR_PointAccumulator_getBasicXf3f().
| auto meshlib::PointAccumulator::get_best_line | ( | ) | const -> meshlib::Owned< meshlib::Line3d > |
computes the best approximating line from the accumulated points Generated from method MR::PointAccumulator::getBestLine.
Calls MR_PointAccumulator_getBestLine().
| auto meshlib::PointAccumulator::get_best_linef | ( | ) | const -> meshlib::Owned< meshlib::Line3f > |
Generated from method MR::PointAccumulator::getBestLinef.
Calls MR_PointAccumulator_getBestLinef().
| auto meshlib::PointAccumulator::get_best_plane | ( | ) | const -> meshlib::Owned< meshlib::Plane3d > |
computes the best approximating plane from the accumulated points Generated from method MR::PointAccumulator::getBestPlane.
Calls MR_PointAccumulator_getBestPlane().
| auto meshlib::PointAccumulator::get_best_planef | ( | ) | const -> meshlib::Owned< meshlib::Plane3f > |
Generated from method MR::PointAccumulator::getBestPlanef.
Calls MR_PointAccumulator_getBestPlanef().
| auto meshlib::PointAccumulator::get_centered_covariance_eigen_mr_vector3d | ( | centroid:&mut meshlib::Vector3d | , |
| eigenvectors:&mut meshlib::Matrix3d | , | ||
| eigenvalues:&mut meshlib::Vector3d | ) const -> bool |
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().
| auto meshlib::PointAccumulator::get_centered_covariance_eigen_mr_vector3f | ( | centroid:&mut meshlib::Vector3f | , |
| eigenvectors:&mut meshlib::Matrix3f | , | ||
| eigenvalues:&mut meshlib::Vector3f | ) const -> bool |
Generated from method MR::PointAccumulator::getCenteredCovarianceEigen.
Calls MR_PointAccumulator_getCenteredCovarianceEigen_MR_Vector3f().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointAccumulator_DefaultConstruct().
| auto meshlib::PointAccumulator::valid | ( | ) | const -> bool |
Generated from method MR::PointAccumulator::valid.
Calls MR_PointAccumulator_valid().