MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.FreeFormBestFit Class Reference
Inheritance diagram for mrmeshpy.FreeFormBestFit:

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)

Detailed Description

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 )

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.FreeFormBestFit.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None mrmeshpy.FreeFormBestFit.__init__ ( self,
ConstFreeFormBestFit arg0 )
Implicit copy constructor.

Member Function Documentation

◆ addOther()

None mrmeshpy.FreeFormBestFit.addOther ( self,
ConstFreeFormBestFit other )
adds other instance of FreeFormBestFit if it has same ref grid

◆ addPair() [1/2]

None mrmeshpy.FreeFormBestFit.addPair ( self,
ConstVector3d src,
ConstVector3d tgt,
float w = 1.0 )
add pair of source and target point to accumulator

◆ addPair() [2/2]

None mrmeshpy.FreeFormBestFit.addPair ( self,
ConstVector3f src,
ConstVector3f tgt,
float w = 1.0 )

◆ assign()

FreeFormBestFit mrmeshpy.FreeFormBestFit.assign ( self,
ConstFreeFormBestFit other )

◆ findBestDeformationReferenceGrid()

std_vector_Vector3_float mrmeshpy.FreeFormBestFit.findBestDeformationReferenceGrid ( self)
finds best grid points positions to align source points to target points

◆ setStabilizer()

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

The documentation for this class was generated from the following file: