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) | |
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.
| 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.
| meshlib.PointPair.PointPair | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_PointPair_DefaultConstruct().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
|
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().
| 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().
| 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().
| 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().
| 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().
| meshlib.ICPPairData meshlib.PointPair.upcastToICPPairData | ( | ) |
Upcasts to the base class MR::ICPPairData. The result refers to this object.
Calls MR_PointPair_MutableUpcastTo_MR_ICPPairData().
| 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().