MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.PointPair:

Public Member Functions

 PointPair (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PointPair ()
 PointPair (meshlib.PointPair _other)
meshlib.PointPair assignFromAnother (meshlib.PointPair _other)
meshlib.VertId srcVertId ()
void setSrcVertId (meshlib.VertId value)
meshlib.VertId tgtCloseVert ()
void setTgtCloseVert (meshlib.VertId value)
float normalsAngleCos ()
void setNormalsAngleCos (float value)
boolean tgtOnBd ()
void setTgtOnBd (boolean value)
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)
meshlib.ICPPairData upcastToICPPairData ()
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 ()

Static Public Member Functions

static meshlib.PointPair staticDowncastFromICPPairData (meshlib.ICPPairData object)

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

Stores a pair of points: one samples on the source and the closest to it on the target Generated from class MR::PointPair. Base classes: Direct: (non-virtual) MR::ICPPairData

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

Constructor & Destructor Documentation

◆ PointPair() [1/3]

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

◆ PointPair() [2/3]

meshlib.PointPair.PointPair ( )

Constructs an empty (default-constructed) instance.

Calls MR_PointPair_DefaultConstruct().

◆ PointPair() [3/3]

meshlib.PointPair.PointPair ( meshlib.PointPair _other)

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

Calls MR_PointPair_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PointPair meshlib.PointPair.assignFromAnother ( meshlib.PointPair _other)

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

Calls MR_PointPair_AssignFromAnother().

◆ distSq()

float meshlib.PointPair.distSq ( )

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

Calls MR_PointPair_Get_distSq().

◆ normalsAngleCos()

float meshlib.PointPair.normalsAngleCos ( )

cosine between normals in source and target points Returns a pointer to a member variable of class MR::PointPair named normalsAngleCos. The reference to this object might be preserved as the return value.

Calls MR_PointPair_Get_normalsAngleCos().

◆ setDistSq()

void meshlib.PointPair.setDistSq ( float value)

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

Calls MR_PointPair_Set_distSq().

◆ setNormalsAngleCos()

void meshlib.PointPair.setNormalsAngleCos ( float value)

cosine between normals in source and target points Modifies a member variable of class MR::PointPair named normalsAngleCos.

Calls MR_PointPair_Set_normalsAngleCos().

◆ setSrcNorm()

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

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

Calls MR_PointPair_Set_srcNorm().

◆ setSrcPoint()

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

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

Calls MR_PointPair_Set_srcPoint().

◆ setSrcVertId()

void meshlib.PointPair.setSrcVertId ( meshlib.VertId value)

id of the source point: a vertex of the source object, or a point of the denser cloud in case of grid sampling of a mesh with big triangles (see ICP.sampleFltPoints) Modifies a member variable of class MR::PointPair named srcVertId. The reference to the parameter value might be preserved in this object in element srcVertId.

Calls MR_PointPair_Set_srcVertId().

◆ setTgtCloseVert()

void meshlib.PointPair.setTgtCloseVert ( meshlib.VertId value)

for point clouds it is the closest vertex on target, for meshes it is the closest vertex of the triangle with the closest point on target Modifies a member variable of class MR::PointPair named tgtCloseVert. The reference to the parameter value might be preserved in this object in element tgtCloseVert.

Calls MR_PointPair_Set_tgtCloseVert().

◆ setTgtNorm()

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

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

Calls MR_PointPair_Set_tgtNorm().

◆ setTgtOnBd()

void meshlib.PointPair.setTgtOnBd ( boolean value)

true if if the closest point on target is located on the boundary (only for meshes) Modifies a member variable of class MR::PointPair named tgtOnBd.

Calls MR_PointPair_Set_tgtOnBd().

◆ setTgtPoint()

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

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

Calls MR_PointPair_Set_tgtPoint().

◆ setWeight()

void meshlib.PointPair.setWeight ( float value)

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

Calls MR_PointPair_Set_weight().

◆ srcNorm()

meshlib.Vector3f meshlib.PointPair.srcNorm ( )

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

Calls MR_PointPair_Get_srcNorm().

◆ srcPoint()

meshlib.Vector3f meshlib.PointPair.srcPoint ( )

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

Calls MR_PointPair_Get_srcPoint().

◆ srcVertId()

meshlib.VertId meshlib.PointPair.srcVertId ( )

id of the source point: a vertex of the source object, or a point of the denser cloud in case of grid sampling of a mesh with big triangles (see ICP.sampleFltPoints) Returns a pointer to a member variable of class MR::PointPair named srcVertId. The reference to this object might be preserved as the return value.

Calls MR_PointPair_Get_srcVertId().

◆ staticDowncastFromICPPairData()

meshlib.PointPair meshlib.PointPair.staticDowncastFromICPPairData ( meshlib.ICPPairData object)
static

Static downcast from the base class MR::ICPPairData. Undefined behavior if the object isn't actually a PointPair. The result refers to object.

Calls MR_PointPair_MutableStaticDowncastFrom_MR_ICPPairData().

◆ tgtCloseVert()

meshlib.VertId meshlib.PointPair.tgtCloseVert ( )

for point clouds it is the closest vertex on target, for meshes it is the closest vertex of the triangle with the closest point on target Returns a pointer to a member variable of class MR::PointPair named tgtCloseVert. The reference to this object might be preserved as the return value.

Calls MR_PointPair_Get_tgtCloseVert().

◆ tgtNorm()

meshlib.Vector3f meshlib.PointPair.tgtNorm ( )

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

Calls MR_PointPair_Get_tgtNorm().

◆ tgtOnBd()

boolean meshlib.PointPair.tgtOnBd ( )

true if if the closest point on target is located on the boundary (only for meshes) Returns a pointer to a member variable of class MR::PointPair named tgtOnBd. The reference to this object might be preserved as the return value.

Calls MR_PointPair_Get_tgtOnBd().

◆ tgtPoint()

meshlib.Vector3f meshlib.PointPair.tgtPoint ( )

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

Calls MR_PointPair_Get_tgtPoint().

◆ upcastToICPPairData()

meshlib.ICPPairData meshlib.PointPair.upcastToICPPairData ( )

Upcasts to the base class MR::ICPPairData. The result refers to this object.

Calls MR_PointPair_MutableUpcastTo_MR_ICPPairData().

◆ weight()

float meshlib.PointPair.weight ( )

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

Calls MR_PointPair_Get_weight().


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