Public Member Functions | |
| OutliersDetector (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| OutliersDetector () | |
| OutliersDetector (meshlib.OutliersDetector _other) | |
| meshlib.OutliersDetector | assignFromAnother (meshlib.OutliersDetector _other) |
| void | prepare (meshlib.PointCloud pc, float radius, meshlib.OutlierTypeMask mask, meshlib.std_function_bool_from_float progress) |
| void | setParams (meshlib.OutlierParams params) |
| meshlib.OutlierParams | getParams () |
| meshlib.VertBitSet | find (meshlib.OutlierTypeMask mask, meshlib.std_function_bool_from_float progress) |
| meshlib.std_vector_unsigned_char | getWeaklyConnectedStat () |
| 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) | |
A class for searching for outliers of points
The class caches the prepared search results, which allows to speed up the repeat search (while use same radius) Generated from class MR::OutliersDetector.
Instances created here own their C++ objects, see CppObject.
| meshlib.OutliersDetector.OutliersDetector | ( | 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.OutliersDetector.OutliersDetector | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_OutliersDetector_DefaultConstruct().
| meshlib.OutliersDetector.OutliersDetector | ( | meshlib.OutliersDetector | _other | ) |
Generated from constructor MR::OutliersDetector::OutliersDetector. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_OutliersDetector_ConstructFromAnother().
| meshlib.OutliersDetector meshlib.OutliersDetector.assignFromAnother | ( | meshlib.OutliersDetector | _other | ) |
Generated from method MR::OutliersDetector::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_OutliersDetector_AssignFromAnother().
| meshlib.VertBitSet meshlib.OutliersDetector.find | ( | meshlib.OutlierTypeMask | mask, |
| meshlib.std_function_bool_from_float | progress ) |
Make an outlier search based on preliminary data
| mask | mask of the types of outliers you are looking for Generated from method MR::OutliersDetector::find. |
Calls MR_OutliersDetector_find(). The C++ function returns expected<MR::VertBitSet, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| meshlib.OutlierParams meshlib.OutliersDetector.getParams | ( | ) |
Get search parameters Generated from method MR::OutliersDetector::getParams.
Calls MR_OutliersDetector_getParams().
| meshlib.std_vector_unsigned_char meshlib.OutliersDetector.getWeaklyConnectedStat | ( | ) |
Get statistics on the number of neighbors for each point Generated from method MR::OutliersDetector::getWeaklyConnectedStat.
Calls MR_OutliersDetector_getWeaklyConnectedStat().
| void meshlib.OutliersDetector.prepare | ( | meshlib.PointCloud | pc, |
| float | radius, | ||
| meshlib.OutlierTypeMask | mask, | ||
| meshlib.std_function_bool_from_float | progress ) |
Make a preliminary stage of outlier search. Caches the result
| pc | point cloud |
| radius | radius of the search for neighboring points for analysis |
| mask | mask of the types of outliers that are looking for |
| progress | progress callback function |
Calls MR_OutliersDetector_prepare(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| void meshlib.OutliersDetector.setParams | ( | meshlib.OutlierParams | params | ) |
Set search parameters Generated from method MR::OutliersDetector::setParams.
Calls MR_OutliersDetector_setParams().