Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::FreeFormBestFit) -> &mut meshlib::FreeFormBestFit |
| void | add_pair_mr_vector3d (src:&meshlib::Vector3d, tgt:&meshlib::Vector3d, w:Option< f64 >) |
| void | add_pair_mr_vector3f (src:&meshlib::Vector3f, tgt:&meshlib::Vector3f, w:Option< f32 >) |
| void | add_other (other:&meshlib::FreeFormBestFit) |
| void | set_stabilizer (stabilizer:f64) |
| auto | get_stabilizer () const -> f64 |
| auto | find_best_deformation_reference_grid () -> meshlib::Owned< meshlib::std_vector_MR_Vector3f > |
Static Public Member Functions | |
| static auto | construct_from_another (_other:&meshlib::FreeFormBestFit) -> meshlib::Owned< meshlib::FreeFormBestFit > |
| static auto | construct (box:&meshlib::Box3d, resolution:Option<&meshlib::Vector3i >) -> meshlib::Owned< meshlib::FreeFormBestFit > |
| 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 source and target points for free form alignment Calculates best Free Form transform to fit given source->target deformation origin ref grid as box corners ( resolution parameter specifies how to divide box ) Generated from class MR::FreeFormBestFit.
Generated from class MR::FreeFormBestFit. Heap-allocated instances are held in Owned<FreeFormBestFit>.
| void meshlib::FreeFormBestFit::add_other | ( | other:&meshlib::FreeFormBestFit | ) |
adds other instance of FreeFormBestFit if it has same ref grid Generated from method MR::FreeFormBestFit::addOther.
Calls MR_FreeFormBestFit_addOther().
| void meshlib::FreeFormBestFit::add_pair_mr_vector3d | ( | src:&meshlib::Vector3d | , |
| tgt:&meshlib::Vector3d | , | ||
| w:Option< f64 > | ) |
add pair of source and target point to accumulator Generated from method MR::FreeFormBestFit::addPair.
Calls MR_FreeFormBestFit_addPair_MR_Vector3d().
| void meshlib::FreeFormBestFit::add_pair_mr_vector3f | ( | src:&meshlib::Vector3f | , |
| tgt:&meshlib::Vector3f | , | ||
| w:Option< f32 > | ) |
Generated from method MR::FreeFormBestFit::addPair.
Calls MR_FreeFormBestFit_addPair_MR_Vector3f().
| auto meshlib::FreeFormBestFit::assign_from_another | ( | _other:&meshlib::FreeFormBestFit | ) | -> &mut meshlib::FreeFormBestFit |
Generated from method MR::FreeFormBestFit::operator=.
Calls MR_FreeFormBestFit_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
initialize the class, compute cached values and reserve space for matrices Generated from constructor MR::FreeFormBestFit::FreeFormBestFit.
Calls MR_FreeFormBestFit_Construct(). The reference to the parameter box might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object.
|
static |
Generated from constructor MR::FreeFormBestFit::FreeFormBestFit.
Calls MR_FreeFormBestFit_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::FreeFormBestFit::find_best_deformation_reference_grid | ( | ) | -> meshlib::Owned< meshlib::std_vector_MR_Vector3f > |
finds best grid points positions to align source points to target points Generated from method MR::FreeFormBestFit::findBestDeformationReferenceGrid.
Calls MR_FreeFormBestFit_findBestDeformationReferenceGrid().
| auto meshlib::FreeFormBestFit::get_stabilizer | ( | ) | const -> f64 |
Generated from method MR::FreeFormBestFit::getStabilizer.
Calls MR_FreeFormBestFit_getStabilizer().
| void meshlib::FreeFormBestFit::set_stabilizer | ( | stabilizer:f64 | ) |
stabilizer adds additional weights to keep result grid closer to origins recommended values (0;1], but it can be higher Generated from method MR::FreeFormBestFit::setStabilizer.
Calls MR_FreeFormBestFit_setStabilizer().