Public Member Functions | |
None | __init__ (self, Box3d box, Vector3i resolution='Vector3i::diagonal(2)') |
None | __init__ (self, FreeFormBestFit arg0) |
None | addOther (self, FreeFormBestFit other) |
None | addPair (self, Vector3d src, Vector3d tgt, float w=1.0) |
None | addPair (self, Vector3f src, Vector3f tgt, float w=1.0) |
std_vector_Vector3_float | findBestDeformationReferenceGrid (self) |
float | getStabilizer (self) |
None | setStabilizer (self, float stabilizer) |
Generated from: MR::FreeFormBestFit 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 )
None meshlib.mrmeshpy.FreeFormBestFit.__init__ | ( | self, | |
Box3d | box, | ||
Vector3i | resolution = 'Vector3i::diagonal(2)' ) |
initialize the class, compute cached values and reserve space for matrices
None meshlib.mrmeshpy.FreeFormBestFit.__init__ | ( | self, | |
FreeFormBestFit | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.FreeFormBestFit.addOther | ( | self, | |
FreeFormBestFit | other ) |
adds other instance of FreeFormBestFit if it has same ref grid
add pair of source and target point to accumulator
std_vector_Vector3_float meshlib.mrmeshpy.FreeFormBestFit.findBestDeformationReferenceGrid | ( | self | ) |
finds best grid points positions to align source points to target points
float meshlib.mrmeshpy.FreeFormBestFit.getStabilizer | ( | self | ) |
None meshlib.mrmeshpy.FreeFormBestFit.setStabilizer | ( | self, | |
float | stabilizer ) |
stabilizer adds additional weights to keep result grid closer to origins recommended values (0;1], but it can be higher