Public Member Functions | |
| RelaxParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| RelaxParams () | |
| RelaxParams (meshlib.RelaxParams _other) | |
| meshlib.RelaxParams | assignFromAnother (meshlib.RelaxParams _other) |
| int | iterations () |
| void | setIterations (int value) |
| java.lang.foreign.MemorySegment | region () |
| void | setRegion (meshlib.VertBitSet value) |
| float | force () |
| void | setForce (float value) |
| boolean | updateCaches () |
| void | setUpdateCaches (boolean value) |
| boolean | limitNearInitial () |
| void | setLimitNearInitial (boolean value) |
| float | maxInitialDist () |
| void | setMaxInitialDist (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) | |
Generated from class MR::RelaxParams. Derived classes: Direct: (non-virtual) MR::MeshRelaxParams MR::PointCloudRelaxParams Indirect: (non-virtual) MR::MeshApproxRelaxParams MR::MeshEqualizeTriAreasParams MR::PointCloudApproxRelaxParams
Instances created here own their C++ objects, see CppObject.
| meshlib.RelaxParams.RelaxParams | ( | 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.RelaxParams.RelaxParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_RelaxParams_DefaultConstruct().
| meshlib.RelaxParams.RelaxParams | ( | meshlib.RelaxParams | _other | ) |
Generated from constructor MR::RelaxParams::RelaxParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_RelaxParams_ConstructFromAnother().
| meshlib.RelaxParams meshlib.RelaxParams.assignFromAnother | ( | meshlib.RelaxParams | _other | ) |
Generated from method MR::RelaxParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_RelaxParams_AssignFromAnother().
| float meshlib.RelaxParams.force | ( | ) |
speed of relaxing, typical values (0.0, 0.5] Returns a pointer to a member variable of class MR::RelaxParams named force. The reference to this object might be preserved as the return value.
Calls MR_RelaxParams_Get_force().
| int meshlib.RelaxParams.iterations | ( | ) |
number of iterations Returns a pointer to a member variable of class MR::RelaxParams named iterations. The reference to this object might be preserved as the return value.
Calls MR_RelaxParams_Get_iterations().
| boolean meshlib.RelaxParams.limitNearInitial | ( | ) |
if true then maximal displacement of each point during denoising will be limited Returns a pointer to a member variable of class MR::RelaxParams named limitNearInitial. The reference to this object might be preserved as the return value.
Calls MR_RelaxParams_Get_limitNearInitial().
| float meshlib.RelaxParams.maxInitialDist | ( | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a pointer to a member variable of class MR::RelaxParams named maxInitialDist. The reference to this object might be preserved as the return value.
Calls MR_RelaxParams_Get_maxInitialDist().
| java.lang.foreign.MemorySegment meshlib.RelaxParams.region | ( | ) |
region to relax Returns a pointer to a member variable of class MR::RelaxParams named region. The reference to this object might be preserved as the return value.
Calls MR_RelaxParams_Get_region(). Some types are raw C types, see the C bindings for the details.
| void meshlib.RelaxParams.setForce | ( | float | value | ) |
speed of relaxing, typical values (0.0, 0.5] Modifies a member variable of class MR::RelaxParams named force.
Calls MR_RelaxParams_Set_force().
| void meshlib.RelaxParams.setIterations | ( | int | value | ) |
number of iterations Modifies a member variable of class MR::RelaxParams named iterations.
Calls MR_RelaxParams_Set_iterations().
| void meshlib.RelaxParams.setLimitNearInitial | ( | boolean | value | ) |
if true then maximal displacement of each point during denoising will be limited Modifies a member variable of class MR::RelaxParams named limitNearInitial.
Calls MR_RelaxParams_Set_limitNearInitial().
| void meshlib.RelaxParams.setMaxInitialDist | ( | float | value | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Modifies a member variable of class MR::RelaxParams named maxInitialDist.
Calls MR_RelaxParams_Set_maxInitialDist().
| void meshlib.RelaxParams.setRegion | ( | meshlib.VertBitSet | value | ) |
region to relax Modifies a member variable of class MR::RelaxParams named region. The reference to the parameter value might be preserved in this object in element region.
Calls MR_RelaxParams_Set_region().
| void meshlib.RelaxParams.setUpdateCaches | ( | boolean | value | ) |
in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient) Modifies a member variable of class MR::RelaxParams named updateCaches.
Calls MR_RelaxParams_Set_updateCaches().
| boolean meshlib.RelaxParams.updateCaches | ( | ) |
in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient) Returns a pointer to a member variable of class MR::RelaxParams named updateCaches. The reference to this object might be preserved as the return value.
Calls MR_RelaxParams_Get_updateCaches().