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

Public Member Functions

 ICPPairData (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ICPPairData ()
 ICPPairData (meshlib.Vector3f srcPoint, meshlib.Vector3f srcNorm, meshlib.Vector3f tgtPoint, meshlib.Vector3f tgtNorm, float distSq, float weight)
 ICPPairData (meshlib.ICPPairData _other)
meshlib.ICPPairData assignFromAnother (meshlib.ICPPairData _other)
meshlib.Vector3f srcPoint ()
void setSrcPoint (meshlib.Vector3f value)
meshlib.Vector3f srcNorm ()
void setSrcNorm (meshlib.Vector3f value)
meshlib.Vector3f tgtPoint ()
void setTgtPoint (meshlib.Vector3f value)
meshlib.Vector3f tgtNorm ()
void setTgtNorm (meshlib.Vector3f value)
float distSq ()
void setDistSq (float value)
float weight ()
void setWeight (float value)
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

Generated from class MR::ICPPairData. Derived classes: Direct: (non-virtual) MR::ICPGroupPair MR::PointPair

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

Constructor & Destructor Documentation

◆ ICPPairData() [1/4]

meshlib.ICPPairData.ICPPairData ( 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.

◆ ICPPairData() [2/4]

meshlib.ICPPairData.ICPPairData ( )

Constructs an empty (default-constructed) instance.

Calls MR_ICPPairData_DefaultConstruct().

◆ ICPPairData() [3/4]

meshlib.ICPPairData.ICPPairData ( meshlib.Vector3f srcPoint,
meshlib.Vector3f srcNorm,
meshlib.Vector3f tgtPoint,
meshlib.Vector3f tgtNorm,
float distSq,
float weight )

Constructs MR::ICPPairData elementwise. The reference to the parameter srcPoint might be preserved in the constructed object. The reference to the parameter srcNorm might be preserved in the constructed object. The reference to the parameter tgtPoint might be preserved in the constructed object. The reference to the parameter tgtNorm might be preserved in the constructed object.

Calls MR_ICPPairData_ConstructFrom().

◆ ICPPairData() [4/4]

meshlib.ICPPairData.ICPPairData ( meshlib.ICPPairData _other)

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

Calls MR_ICPPairData_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ICPPairData meshlib.ICPPairData.assignFromAnother ( meshlib.ICPPairData _other)

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

Calls MR_ICPPairData_AssignFromAnother().

◆ distSq()

float meshlib.ICPPairData.distSq ( )

squared distance between source and target points Returns a pointer to a member variable of class MR::ICPPairData named distSq. The reference to this object might be preserved as the return value.

Calls MR_ICPPairData_Get_distSq().

◆ setDistSq()

void meshlib.ICPPairData.setDistSq ( float value)

squared distance between source and target points Modifies a member variable of class MR::ICPPairData named distSq.

Calls MR_ICPPairData_Set_distSq().

◆ setSrcNorm()

void meshlib.ICPPairData.setSrcNorm ( meshlib.Vector3f value)

normal in source point after transforming in world space Modifies a member variable of class MR::ICPPairData named srcNorm. The reference to the parameter value might be preserved in this object in element srcNorm.

Calls MR_ICPPairData_Set_srcNorm().

◆ setSrcPoint()

void meshlib.ICPPairData.setSrcPoint ( meshlib.Vector3f value)

coordinates of the source point after transforming in world space Modifies a member variable of class MR::ICPPairData named srcPoint. The reference to the parameter value might be preserved in this object in element srcPoint.

Calls MR_ICPPairData_Set_srcPoint().

◆ setTgtNorm()

void meshlib.ICPPairData.setTgtNorm ( meshlib.Vector3f value)

normal in the target point after transforming in world space Modifies a member variable of class MR::ICPPairData named tgtNorm. The reference to the parameter value might be preserved in this object in element tgtNorm.

Calls MR_ICPPairData_Set_tgtNorm().

◆ setTgtPoint()

void meshlib.ICPPairData.setTgtPoint ( meshlib.Vector3f value)

coordinates of the closest point on target after transforming in world space Modifies a member variable of class MR::ICPPairData named tgtPoint. The reference to the parameter value might be preserved in this object in element tgtPoint.

Calls MR_ICPPairData_Set_tgtPoint().

◆ setWeight()

void meshlib.ICPPairData.setWeight ( float value)

weight of the pair (to prioritize over other pairs) Modifies a member variable of class MR::ICPPairData named weight.

Calls MR_ICPPairData_Set_weight().

◆ srcNorm()

meshlib.Vector3f meshlib.ICPPairData.srcNorm ( )

normal in source point after transforming in world space Returns a pointer to a member variable of class MR::ICPPairData named srcNorm. The reference to this object might be preserved as the return value.

Calls MR_ICPPairData_Get_srcNorm().

◆ srcPoint()

meshlib.Vector3f meshlib.ICPPairData.srcPoint ( )

coordinates of the source point after transforming in world space Returns a pointer to a member variable of class MR::ICPPairData named srcPoint. The reference to this object might be preserved as the return value.

Calls MR_ICPPairData_Get_srcPoint().

◆ tgtNorm()

meshlib.Vector3f meshlib.ICPPairData.tgtNorm ( )

normal in the target point after transforming in world space Returns a pointer to a member variable of class MR::ICPPairData named tgtNorm. The reference to this object might be preserved as the return value.

Calls MR_ICPPairData_Get_tgtNorm().

◆ tgtPoint()

meshlib.Vector3f meshlib.ICPPairData.tgtPoint ( )

coordinates of the closest point on target after transforming in world space Returns a pointer to a member variable of class MR::ICPPairData named tgtPoint. The reference to this object might be preserved as the return value.

Calls MR_ICPPairData_Get_tgtPoint().

◆ weight()

float meshlib.ICPPairData.weight ( )

weight of the pair (to prioritize over other pairs) Returns a pointer to a member variable of class MR::ICPPairData named weight. The reference to this object might be preserved as the return value.

Calls MR_ICPPairData_Get_weight().


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