MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.FreeFormBestFit Class Reference

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)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*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/2]

None mrmeshpy.FreeFormBestFit.__init__ ( self,
Box3d box,
Vector3i resolution = 'Vector3i::diagonal(2)' )
initialize the class, compute cached values and reserve space for matrices

◆ __init__() [2/2]

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

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.FreeFormBestFit._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ addOther()

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

◆ addPair() [1/2]

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

◆ addPair() [2/2]

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

◆ findBestDeformationReferenceGrid()

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

◆ getStabilizer()

float mrmeshpy.FreeFormBestFit.getStabilizer ( self)

◆ 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: