Public Member Functions | |
| None | __init__ (self, ConstBox3d box, ConstVector3i resolution='MR::Vector3< int >::diagonal(2)') |
| None | __init__ (self, ConstFreeFormBestFit arg0) |
| None | addOther (self, ConstFreeFormBestFit other) |
| None | addPair (self, ConstVector3d src, ConstVector3d tgt, float w=1.0) |
| None | addPair (self, ConstVector3f src, ConstVector3f tgt, float w=1.0) |
| FreeFormBestFit | assign (self, ConstFreeFormBestFit other) |
| std_vector_Vector3_float | findBestDeformationReferenceGrid (self) |
| None | setStabilizer (self, float stabilizer) |
| Public Member Functions inherited from mrmeshpy.ConstFreeFormBestFit | |
| __init__ (self, *args, **kwargs) | |
| float | getStabilizer (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
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 )
|
static |
| None mrmeshpy.FreeFormBestFit.__init__ | ( | self, | |
| ConstBox3d | box, | ||
| ConstVector3i | resolution = 'MR::Vector3<int>::diagonal(2)' ) |
initialize the class, compute cached values and reserve space for matrices
| None mrmeshpy.FreeFormBestFit.__init__ | ( | self, | |
| ConstFreeFormBestFit | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.FreeFormBestFit.addOther | ( | self, | |
| ConstFreeFormBestFit | other ) |
adds other instance of FreeFormBestFit if it has same ref grid
| None mrmeshpy.FreeFormBestFit.addPair | ( | self, | |
| ConstVector3d | src, | ||
| ConstVector3d | tgt, | ||
| float | w = 1.0 ) |
add pair of source and target point to accumulator
| None mrmeshpy.FreeFormBestFit.addPair | ( | self, | |
| ConstVector3f | src, | ||
| ConstVector3f | tgt, | ||
| float | w = 1.0 ) |
| FreeFormBestFit mrmeshpy.FreeFormBestFit.assign | ( | self, | |
| ConstFreeFormBestFit | other ) |
| std_vector_Vector3_float mrmeshpy.FreeFormBestFit.findBestDeformationReferenceGrid | ( | self | ) |
finds best grid points positions to align source points to target points
| None 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