MeshLib C# Docs
Loading...
Searching...
No Matches
MR.FreeFormBestFit Class Reference

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. This is the non-const half of the class. More...

+ Inheritance diagram for MR.FreeFormBestFit:

Public Member Functions

unsafe FreeFormBestFit (MR._ByValue_FreeFormBestFit _other)
 Generated from constructor MR.FreeFormBestFit.FreeFormBestFit.
 
 FreeFormBestFit (Const_FreeFormBestFit _other)
 Generated from constructor MR.FreeFormBestFit.FreeFormBestFit.
 
 FreeFormBestFit (FreeFormBestFit _other)
 Generated from constructor MR.FreeFormBestFit.FreeFormBestFit.
 
unsafe FreeFormBestFit (in MR.Box3d box, MR.Vector3i? resolution=null)
 initialize the class, compute cached values and reserve space for matrices Generated from constructor MR.FreeFormBestFit.FreeFormBestFit. Parameter resolution defaults to Vector3i.diagonal(2).
 
unsafe MR.FreeFormBestFit assign (MR._ByValue_FreeFormBestFit _other)
 Generated from method MR.FreeFormBestFit.operator=.
 
unsafe void addPair (in MR.Vector3d src, in MR.Vector3d tgt, double? w=null)
 add pair of source and target point to accumulator Generated from method MR.FreeFormBestFit.addPair. Parameter w defaults to 1.0.
 
unsafe void addPair (in MR.Vector3f src, in MR.Vector3f tgt, float? w=null)
 Generated from method MR.FreeFormBestFit.addPair. Parameter w defaults to 1.0f.
 
unsafe void addOther (MR.Const_FreeFormBestFit other)
 adds other instance of FreeFormBestFit if it has same ref grid Generated from method MR.FreeFormBestFit.addOther.
 
unsafe void setStabilizer (double stabilizer)
 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.
 
unsafe MR.Std.Vector_MRVector3f findBestDeformationReferenceGrid ()
 finds best grid points positions to align source points to target points Generated from method MR.FreeFormBestFit.findBestDeformationReferenceGrid.
 

Static Public Member Functions

static unsafe implicit operator FreeFormBestFit (in MR.Box3d box)
 initialize the class, compute cached values and reserve space for matrices Generated from constructor MR.FreeFormBestFit.FreeFormBestFit. Parameter resolution defaults to Vector3i.diagonal(2).
 

Detailed Description

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. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ FreeFormBestFit() [1/4]

unsafe MR.FreeFormBestFit.FreeFormBestFit ( MR._ByValue_FreeFormBestFit _other)
inline

Generated from constructor MR.FreeFormBestFit.FreeFormBestFit.

◆ FreeFormBestFit() [2/4]

MR.FreeFormBestFit.FreeFormBestFit ( Const_FreeFormBestFit _other)
inline

Generated from constructor MR.FreeFormBestFit.FreeFormBestFit.

◆ FreeFormBestFit() [3/4]

MR.FreeFormBestFit.FreeFormBestFit ( FreeFormBestFit _other)
inline

Generated from constructor MR.FreeFormBestFit.FreeFormBestFit.

◆ FreeFormBestFit() [4/4]

unsafe MR.FreeFormBestFit.FreeFormBestFit ( in MR.Box3d box,
MR.Vector3i? resolution = null )
inline

initialize the class, compute cached values and reserve space for matrices Generated from constructor MR.FreeFormBestFit.FreeFormBestFit. Parameter resolution defaults to Vector3i.diagonal(2).

Member Function Documentation

◆ addOther()

unsafe void MR.FreeFormBestFit.addOther ( MR.Const_FreeFormBestFit other)
inline

adds other instance of FreeFormBestFit if it has same ref grid Generated from method MR.FreeFormBestFit.addOther.

◆ addPair() [1/2]

unsafe void MR.FreeFormBestFit.addPair ( in MR.Vector3d src,
in MR.Vector3d tgt,
double? w = null )
inline

add pair of source and target point to accumulator Generated from method MR.FreeFormBestFit.addPair. Parameter w defaults to 1.0.

◆ addPair() [2/2]

unsafe void MR.FreeFormBestFit.addPair ( in MR.Vector3f src,
in MR.Vector3f tgt,
float? w = null )
inline

Generated from method MR.FreeFormBestFit.addPair. Parameter w defaults to 1.0f.

◆ assign()

unsafe MR.FreeFormBestFit MR.FreeFormBestFit.assign ( MR._ByValue_FreeFormBestFit _other)
inline

Generated from method MR.FreeFormBestFit.operator=.

◆ findBestDeformationReferenceGrid()

unsafe MR.Std.Vector_MRVector3f MR.FreeFormBestFit.findBestDeformationReferenceGrid ( )
inline

finds best grid points positions to align source points to target points Generated from method MR.FreeFormBestFit.findBestDeformationReferenceGrid.

◆ operator FreeFormBestFit()

static unsafe implicit MR.FreeFormBestFit.operator FreeFormBestFit ( in MR.Box3d box)
inlinestatic

initialize the class, compute cached values and reserve space for matrices Generated from constructor MR.FreeFormBestFit.FreeFormBestFit. Parameter resolution defaults to Vector3i.diagonal(2).

◆ setStabilizer()

unsafe void MR.FreeFormBestFit.setStabilizer ( double stabilizer)
inline

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.


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