Public Member Functions | |
| InflateSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| InflateSettings () | |
| InflateSettings (float pressure, int iterations, boolean preSmooth, boolean gradualPressureGrowth) | |
| InflateSettings (meshlib.InflateSettings _other) | |
| meshlib.InflateSettings | assignFromAnother (meshlib.InflateSettings _other) |
| float | pressure () |
| void | setPressure (float value) |
| int | iterations () |
| void | setIterations (int value) |
| boolean | preSmooth () |
| void | setPreSmooth (boolean value) |
| boolean | gradualPressureGrowth () |
| void | setGradualPressureGrowth (boolean 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::InflateSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.InflateSettings.InflateSettings | ( | 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.InflateSettings.InflateSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_InflateSettings_DefaultConstruct().
| meshlib.InflateSettings.InflateSettings | ( | float | pressure, |
| int | iterations, | ||
| boolean | preSmooth, | ||
| boolean | gradualPressureGrowth ) |
Constructs MR::InflateSettings elementwise.
Calls MR_InflateSettings_ConstructFrom().
| meshlib.InflateSettings.InflateSettings | ( | meshlib.InflateSettings | _other | ) |
Generated from constructor MR::InflateSettings::InflateSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_InflateSettings_ConstructFromAnother().
| meshlib.InflateSettings meshlib.InflateSettings.assignFromAnother | ( | meshlib.InflateSettings | _other | ) |
Generated from method MR::InflateSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_InflateSettings_AssignFromAnother().
| boolean meshlib.InflateSettings.gradualPressureGrowth | ( | ) |
whether to increase the pressure gradually during the iterations (recommended for best quality) Returns a pointer to a member variable of class MR::InflateSettings named gradualPressureGrowth. The reference to this object might be preserved as the return value.
Calls MR_InflateSettings_Get_gradualPressureGrowth().
| int meshlib.InflateSettings.iterations | ( | ) |
the number of internal iterations (>=1); larger number of iterations makes the performance slower, but the quality better Returns a pointer to a member variable of class MR::InflateSettings named iterations. The reference to this object might be preserved as the return value.
Calls MR_InflateSettings_Get_iterations().
| boolean meshlib.InflateSettings.preSmooth | ( | ) |
smooths the area before starting inflation; please set to false only if the region is known to be already smooth Returns a pointer to a member variable of class MR::InflateSettings named preSmooth. The reference to this object might be preserved as the return value.
Calls MR_InflateSettings_Get_preSmooth().
| float meshlib.InflateSettings.pressure | ( | ) |
the amount of pressure applied to mesh region: positive pressure moves the vertices outside, negative - inside; please specify a value by magnitude about the region diagonal Returns a pointer to a member variable of class MR::InflateSettings named pressure. The reference to this object might be preserved as the return value.
Calls MR_InflateSettings_Get_pressure().
| void meshlib.InflateSettings.setGradualPressureGrowth | ( | boolean | value | ) |
whether to increase the pressure gradually during the iterations (recommended for best quality) Modifies a member variable of class MR::InflateSettings named gradualPressureGrowth.
Calls MR_InflateSettings_Set_gradualPressureGrowth().
| void meshlib.InflateSettings.setIterations | ( | int | value | ) |
the number of internal iterations (>=1); larger number of iterations makes the performance slower, but the quality better Modifies a member variable of class MR::InflateSettings named iterations.
Calls MR_InflateSettings_Set_iterations().
| void meshlib.InflateSettings.setPreSmooth | ( | boolean | value | ) |
smooths the area before starting inflation; please set to false only if the region is known to be already smooth Modifies a member variable of class MR::InflateSettings named preSmooth.
Calls MR_InflateSettings_Set_preSmooth().
| void meshlib.InflateSettings.setPressure | ( | float | value | ) |
the amount of pressure applied to mesh region: positive pressure moves the vertices outside, negative - inside; please specify a value by magnitude about the region diagonal Modifies a member variable of class MR::InflateSettings named pressure.
Calls MR_InflateSettings_Set_pressure().