Static Public Member Functions | |
| static meshlib.MeshApproxRelaxParams | staticDowncastFromRelaxParams (meshlib.RelaxParams object) |
| static meshlib.MeshApproxRelaxParams | staticDowncastFromMeshRelaxParams (meshlib.MeshRelaxParams 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) | |
Generated from class MR::MeshApproxRelaxParams. Base classes: Direct: (non-virtual) MR::MeshRelaxParams Indirect: (non-virtual) MR::RelaxParams
Instances created here own their C++ objects, see CppObject.
| meshlib.MeshApproxRelaxParams.MeshApproxRelaxParams | ( | 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.MeshApproxRelaxParams.MeshApproxRelaxParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MeshApproxRelaxParams_DefaultConstruct().
| meshlib.MeshApproxRelaxParams.MeshApproxRelaxParams | ( | meshlib.MeshApproxRelaxParams | _other | ) |
Generated from constructor MR::MeshApproxRelaxParams::MeshApproxRelaxParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshApproxRelaxParams_ConstructFromAnother().
| meshlib.MeshApproxRelaxParams meshlib.MeshApproxRelaxParams.assignFromAnother | ( | meshlib.MeshApproxRelaxParams | _other | ) |
Generated from method MR::MeshApproxRelaxParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshApproxRelaxParams_AssignFromAnother().
| float meshlib.MeshApproxRelaxParams.force | ( | ) |
speed of relaxing, typical values (0.0, 0.5] Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named force. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_force().
| boolean meshlib.MeshApproxRelaxParams.hardSmoothTetrahedrons | ( | ) |
move all region vertices with exactly three neighbor vertices in the center of the neighbors Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named hardSmoothTetrahedrons. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_hardSmoothTetrahedrons().
| int meshlib.MeshApproxRelaxParams.iterations | ( | ) |
number of iterations Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named iterations. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_iterations().
| boolean meshlib.MeshApproxRelaxParams.limitNearInitial | ( | ) |
if true then maximal displacement of each point during denoising will be limited Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named limitNearInitial. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_limitNearInitial().
| float meshlib.MeshApproxRelaxParams.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::MeshApproxRelaxParams named maxInitialDist. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_maxInitialDist().
| java.lang.foreign.MemorySegment meshlib.MeshApproxRelaxParams.region | ( | ) |
region to relax Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named region. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_region(). Some types are raw C types, see the C bindings for the details.
| void meshlib.MeshApproxRelaxParams.setForce | ( | float | value | ) |
speed of relaxing, typical values (0.0, 0.5] Modifies a member variable of class MR::MeshApproxRelaxParams named force.
Calls MR_MeshApproxRelaxParams_Set_force().
| void meshlib.MeshApproxRelaxParams.setHardSmoothTetrahedrons | ( | boolean | value | ) |
move all region vertices with exactly three neighbor vertices in the center of the neighbors Modifies a member variable of class MR::MeshApproxRelaxParams named hardSmoothTetrahedrons.
Calls MR_MeshApproxRelaxParams_Set_hardSmoothTetrahedrons().
| void meshlib.MeshApproxRelaxParams.setIterations | ( | int | value | ) |
number of iterations Modifies a member variable of class MR::MeshApproxRelaxParams named iterations.
Calls MR_MeshApproxRelaxParams_Set_iterations().
| void meshlib.MeshApproxRelaxParams.setLimitNearInitial | ( | boolean | value | ) |
if true then maximal displacement of each point during denoising will be limited Modifies a member variable of class MR::MeshApproxRelaxParams named limitNearInitial.
Calls MR_MeshApproxRelaxParams_Set_limitNearInitial().
| void meshlib.MeshApproxRelaxParams.setMaxInitialDist | ( | float | value | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Modifies a member variable of class MR::MeshApproxRelaxParams named maxInitialDist.
Calls MR_MeshApproxRelaxParams_Set_maxInitialDist().
| void meshlib.MeshApproxRelaxParams.setRegion | ( | meshlib.VertBitSet | value | ) |
region to relax Modifies a member variable of class MR::MeshApproxRelaxParams named region. The reference to the parameter value might be preserved in this object in element region.
Calls MR_MeshApproxRelaxParams_Set_region().
| void meshlib.MeshApproxRelaxParams.setSurfaceDilateRadius | ( | float | value | ) |
radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area) Modifies a member variable of class MR::MeshApproxRelaxParams named surfaceDilateRadius.
Calls MR_MeshApproxRelaxParams_Set_surfaceDilateRadius().
| void meshlib.MeshApproxRelaxParams.setType | ( | meshlib.RelaxApproxType | value | ) |
Modifies a member variable of class MR::MeshApproxRelaxParams named type. The reference to the parameter value might be preserved in this object in element type.
Calls MR_MeshApproxRelaxParams_Set_type().
| void meshlib.MeshApproxRelaxParams.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::MeshApproxRelaxParams named updateCaches.
Calls MR_MeshApproxRelaxParams_Set_updateCaches().
| void meshlib.MeshApproxRelaxParams.setWeights | ( | meshlib.VertScalars | value | ) |
weight for each vertex. By default, all the vertices have equal weights. Modifies a member variable of class MR::MeshApproxRelaxParams named weights. The reference to the parameter value might be preserved in this object in element weights.
Calls MR_MeshApproxRelaxParams_Set_weights().
|
static |
Static downcast from the base class MR::MeshRelaxParams. Undefined behavior if the object isn't actually a MeshApproxRelaxParams. The result refers to object.
Calls MR_MeshApproxRelaxParams_MutableStaticDowncastFrom_MR_MeshRelaxParams().
|
static |
Static downcast from the base class MR::RelaxParams. Undefined behavior if the object isn't actually a MeshApproxRelaxParams. The result refers to object.
Calls MR_MeshApproxRelaxParams_MutableStaticDowncastFrom_MR_RelaxParams().
| float meshlib.MeshApproxRelaxParams.surfaceDilateRadius | ( | ) |
radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area) Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named surfaceDilateRadius. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_surfaceDilateRadius().
| meshlib.RelaxApproxType meshlib.MeshApproxRelaxParams.type | ( | ) |
Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named type. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_type().
| meshlib.MeshRelaxParams meshlib.MeshApproxRelaxParams.upcastToMeshRelaxParams | ( | ) |
Upcasts to the base class MR::MeshRelaxParams. The result refers to this object.
Calls MR_MeshApproxRelaxParams_MutableUpcastTo_MR_MeshRelaxParams().
| meshlib.RelaxParams meshlib.MeshApproxRelaxParams.upcastToRelaxParams | ( | ) |
Upcasts to the base class MR::RelaxParams. The result refers to this object.
Calls MR_MeshApproxRelaxParams_MutableUpcastTo_MR_RelaxParams().
| boolean meshlib.MeshApproxRelaxParams.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::MeshApproxRelaxParams named updateCaches. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_updateCaches().
| java.lang.foreign.MemorySegment meshlib.MeshApproxRelaxParams.weights | ( | ) |
weight for each vertex. By default, all the vertices have equal weights. Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named weights. The reference to this object might be preserved as the return value.
Calls MR_MeshApproxRelaxParams_Get_weights(). Some types are raw C types, see the C bindings for the details.