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

Public Member Functions

 RigidXfRansacParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 RigidXfRansacParams ()
 RigidXfRansacParams (float inlierDistance, int maxIterations, float confidence, float edgeLengthRatio, int seed, meshlib.VertCoords overlapSrcPoints, meshlib.PointCloud overlapTgtCloud, meshlib.VertCoords overlapTgtPoints, meshlib.PointCloud overlapSrcCloud)
 RigidXfRansacParams (meshlib.RigidXfRansacParams _other)
meshlib.RigidXfRansacParams assignFromAnother (meshlib.RigidXfRansacParams _other)
float inlierDistance ()
void setInlierDistance (float value)
int maxIterations ()
void setMaxIterations (int value)
float confidence ()
void setConfidence (float value)
float edgeLengthRatio ()
void setEdgeLengthRatio (float value)
int seed ()
void setSeed (int value)
java.lang.foreign.MemorySegment overlapSrcPoints ()
void setOverlapSrcPoints (meshlib.VertCoords value)
java.lang.foreign.MemorySegment overlapTgtCloud ()
void setOverlapTgtCloud (meshlib.PointCloud value)
java.lang.foreign.MemorySegment overlapTgtPoints ()
void setOverlapTgtPoints (meshlib.VertCoords value)
java.lang.foreign.MemorySegment overlapSrcCloud ()
void setOverlapSrcCloud (meshlib.PointCloud 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::RigidXfRansacParams.

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

Constructor & Destructor Documentation

◆ RigidXfRansacParams() [1/4]

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

◆ RigidXfRansacParams() [2/4]

meshlib.RigidXfRansacParams.RigidXfRansacParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_RigidXfRansacParams_DefaultConstruct().

◆ RigidXfRansacParams() [3/4]

meshlib.RigidXfRansacParams.RigidXfRansacParams ( float inlierDistance,
int maxIterations,
float confidence,
float edgeLengthRatio,
int seed,
meshlib.VertCoords overlapSrcPoints,
meshlib.PointCloud overlapTgtCloud,
meshlib.VertCoords overlapTgtPoints,
meshlib.PointCloud overlapSrcCloud )

Constructs MR::RigidXfRansacParams elementwise. The reference to the parameter seed might be preserved in the constructed object. The reference to the parameter overlapSrcPoints might be preserved in the constructed object. The reference to the parameter overlapTgtCloud might be preserved in the constructed object. The reference to the parameter overlapTgtPoints might be preserved in the constructed object. The reference to the parameter overlapSrcCloud might be preserved in the constructed object.

Calls MR_RigidXfRansacParams_ConstructFrom().

◆ RigidXfRansacParams() [4/4]

meshlib.RigidXfRansacParams.RigidXfRansacParams ( meshlib.RigidXfRansacParams _other)

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

Calls MR_RigidXfRansacParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.RigidXfRansacParams meshlib.RigidXfRansacParams.assignFromAnother ( meshlib.RigidXfRansacParams _other)

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

Calls MR_RigidXfRansacParams_AssignFromAnother().

◆ confidence()

float meshlib.RigidXfRansacParams.confidence ( )

the search stops earlier when the probability to have tested at least one sample of three inliers reaches this value Returns a pointer to a member variable of class MR::RigidXfRansacParams named confidence. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_confidence().

◆ edgeLengthRatio()

float meshlib.RigidXfRansacParams.edgeLengthRatio ( )

a sample is skipped without fitting if the distances between its source points and between its target points differ more than this ratio, since a rigid motion keeps distances Returns a pointer to a member variable of class MR::RigidXfRansacParams named edgeLengthRatio. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_edgeLengthRatio().

◆ inlierDistance()

float meshlib.RigidXfRansacParams.inlierDistance ( )

a match is an inlier of a transformation if it maps the source point within this distance from the target point Returns a pointer to a member variable of class MR::RigidXfRansacParams named inlierDistance. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_inlierDistance().

◆ maxIterations()

int meshlib.RigidXfRansacParams.maxIterations ( )

the maximal number of random samples of three matches to test Returns a pointer to a member variable of class MR::RigidXfRansacParams named maxIterations. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_maxIterations().

◆ overlapSrcCloud()

java.lang.foreign.MemorySegment meshlib.RigidXfRansacParams.overlapSrcCloud ( )

Returns a pointer to a member variable of class MR::RigidXfRansacParams named overlapSrcCloud. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_overlapSrcCloud(). Some types are raw C types, see the C bindings for the details.

◆ overlapSrcPoints()

java.lang.foreign.MemorySegment meshlib.RigidXfRansacParams.overlapSrcPoints ( )

if both are set, a transformation is scored by how many of these source points it moves within inlierDistance of some point of the target cloud, instead of by the number of its inlier matches; this finds the transformation even when only a few matches are correct, at the cost of a closest point search per point Returns a pointer to a member variable of class MR::RigidXfRansacParams named overlapSrcPoints. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_overlapSrcPoints(). Some types are raw C types, see the C bindings for the details.

◆ overlapTgtCloud()

java.lang.foreign.MemorySegment meshlib.RigidXfRansacParams.overlapTgtCloud ( )

Returns a pointer to a member variable of class MR::RigidXfRansacParams named overlapTgtCloud. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_overlapTgtCloud(). Some types are raw C types, see the C bindings for the details.

◆ overlapTgtPoints()

java.lang.foreign.MemorySegment meshlib.RigidXfRansacParams.overlapTgtPoints ( )

if both are set, the score also counts how many of these target points the inverse transformation moves within inlierDistance of some point of the source cloud; can be set alone or together with the pair above Returns a pointer to a member variable of class MR::RigidXfRansacParams named overlapTgtPoints. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_overlapTgtPoints(). Some types are raw C types, see the C bindings for the details.

◆ seed()

int meshlib.RigidXfRansacParams.seed ( )

seed of pseudo-random sampling; the result depends on it but not on the number of threads Returns a pointer to a member variable of class MR::RigidXfRansacParams named seed. The reference to this object might be preserved as the return value.

Calls MR_RigidXfRansacParams_Get_seed().

◆ setConfidence()

void meshlib.RigidXfRansacParams.setConfidence ( float value)

the search stops earlier when the probability to have tested at least one sample of three inliers reaches this value Modifies a member variable of class MR::RigidXfRansacParams named confidence.

Calls MR_RigidXfRansacParams_Set_confidence().

◆ setEdgeLengthRatio()

void meshlib.RigidXfRansacParams.setEdgeLengthRatio ( float value)

a sample is skipped without fitting if the distances between its source points and between its target points differ more than this ratio, since a rigid motion keeps distances Modifies a member variable of class MR::RigidXfRansacParams named edgeLengthRatio.

Calls MR_RigidXfRansacParams_Set_edgeLengthRatio().

◆ setInlierDistance()

void meshlib.RigidXfRansacParams.setInlierDistance ( float value)

a match is an inlier of a transformation if it maps the source point within this distance from the target point Modifies a member variable of class MR::RigidXfRansacParams named inlierDistance.

Calls MR_RigidXfRansacParams_Set_inlierDistance().

◆ setMaxIterations()

void meshlib.RigidXfRansacParams.setMaxIterations ( int value)

the maximal number of random samples of three matches to test Modifies a member variable of class MR::RigidXfRansacParams named maxIterations.

Calls MR_RigidXfRansacParams_Set_maxIterations().

◆ setOverlapSrcCloud()

void meshlib.RigidXfRansacParams.setOverlapSrcCloud ( meshlib.PointCloud value)

Modifies a member variable of class MR::RigidXfRansacParams named overlapSrcCloud. The reference to the parameter value might be preserved in this object in element overlapSrcCloud.

Calls MR_RigidXfRansacParams_Set_overlapSrcCloud().

◆ setOverlapSrcPoints()

void meshlib.RigidXfRansacParams.setOverlapSrcPoints ( meshlib.VertCoords value)

if both are set, a transformation is scored by how many of these source points it moves within inlierDistance of some point of the target cloud, instead of by the number of its inlier matches; this finds the transformation even when only a few matches are correct, at the cost of a closest point search per point Modifies a member variable of class MR::RigidXfRansacParams named overlapSrcPoints. The reference to the parameter value might be preserved in this object in element overlapSrcPoints.

Calls MR_RigidXfRansacParams_Set_overlapSrcPoints().

◆ setOverlapTgtCloud()

void meshlib.RigidXfRansacParams.setOverlapTgtCloud ( meshlib.PointCloud value)

Modifies a member variable of class MR::RigidXfRansacParams named overlapTgtCloud. The reference to the parameter value might be preserved in this object in element overlapTgtCloud.

Calls MR_RigidXfRansacParams_Set_overlapTgtCloud().

◆ setOverlapTgtPoints()

void meshlib.RigidXfRansacParams.setOverlapTgtPoints ( meshlib.VertCoords value)

if both are set, the score also counts how many of these target points the inverse transformation moves within inlierDistance of some point of the source cloud; can be set alone or together with the pair above Modifies a member variable of class MR::RigidXfRansacParams named overlapTgtPoints. The reference to the parameter value might be preserved in this object in element overlapTgtPoints.

Calls MR_RigidXfRansacParams_Set_overlapTgtPoints().

◆ setSeed()

void meshlib.RigidXfRansacParams.setSeed ( int value)

seed of pseudo-random sampling; the result depends on it but not on the number of threads Modifies a member variable of class MR::RigidXfRansacParams named seed. The reference to the parameter value might be preserved in this object in element seed.

Calls MR_RigidXfRansacParams_Set_seed().


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