MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.FreeFormBestFit Class Reference
Inheritance diagram for meshlib.FreeFormBestFit:

Public Member Functions

 FreeFormBestFit (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 FreeFormBestFit (meshlib.FreeFormBestFit _other)
 FreeFormBestFit (meshlib.Box3d box, meshlib.Vector3i resolution)
meshlib.FreeFormBestFit assignFromAnother (meshlib.FreeFormBestFit _other)
void addPair (meshlib.Vector3d src, meshlib.Vector3d tgt, java.lang.Double w)
void addPair (meshlib.Vector3f src, meshlib.Vector3f tgt, java.lang.Float w)
void addOther (meshlib.FreeFormBestFit other)
void setStabilizer (double stabilizer)
double getStabilizer ()
meshlib.std_vector_MR_Vector3f findBestDeformationReferenceGrid ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

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.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ FreeFormBestFit() [1/3]

meshlib.FreeFormBestFit.FreeFormBestFit ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ FreeFormBestFit() [2/3]

meshlib.FreeFormBestFit.FreeFormBestFit ( meshlib.FreeFormBestFit _other)

Generated from constructor MR::FreeFormBestFit::FreeFormBestFit. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_FreeFormBestFit_ConstructFromAnother().

◆ FreeFormBestFit() [3/3]

meshlib.FreeFormBestFit.FreeFormBestFit ( meshlib.Box3d box,
meshlib.Vector3i resolution )

initialize the class, compute cached values and reserve space for matrices Generated from constructor MR::FreeFormBestFit::FreeFormBestFit. The reference to the parameter box might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object.

Calls MR_FreeFormBestFit_Construct().

Member Function Documentation

◆ addOther()

void meshlib.FreeFormBestFit.addOther ( meshlib.FreeFormBestFit other)

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

Calls MR_FreeFormBestFit_addOther().

◆ addPair() [1/2]

void meshlib.FreeFormBestFit.addPair ( meshlib.Vector3d src,
meshlib.Vector3d tgt,
java.lang.Double w )

add pair of source and target point to accumulator Generated from method MR::FreeFormBestFit::addPair.

Calls MR_FreeFormBestFit_addPair_MR_Vector3d().

◆ addPair() [2/2]

void meshlib.FreeFormBestFit.addPair ( meshlib.Vector3f src,
meshlib.Vector3f tgt,
java.lang.Float w )

Generated from method MR::FreeFormBestFit::addPair.

Calls MR_FreeFormBestFit_addPair_MR_Vector3f().

◆ assignFromAnother()

meshlib.FreeFormBestFit meshlib.FreeFormBestFit.assignFromAnother ( meshlib.FreeFormBestFit _other)

Generated from method MR::FreeFormBestFit::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_FreeFormBestFit_AssignFromAnother().

◆ findBestDeformationReferenceGrid()

meshlib.std_vector_MR_Vector3f meshlib.FreeFormBestFit.findBestDeformationReferenceGrid ( )

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

Calls MR_FreeFormBestFit_findBestDeformationReferenceGrid().

◆ getStabilizer()

double meshlib.FreeFormBestFit.getStabilizer ( )

Generated from method MR::FreeFormBestFit::getStabilizer.

Calls MR_FreeFormBestFit_getStabilizer().

◆ setStabilizer()

void meshlib.FreeFormBestFit.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.

Calls MR_FreeFormBestFit_setStabilizer().


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