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

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)

Detailed Description

Generated from class MR::InflateSettings.

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

Constructor & Destructor Documentation

◆ InflateSettings() [1/4]

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.

◆ InflateSettings() [2/4]

meshlib.InflateSettings.InflateSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_InflateSettings_DefaultConstruct().

◆ InflateSettings() [3/4]

meshlib.InflateSettings.InflateSettings ( float pressure,
int iterations,
boolean preSmooth,
boolean gradualPressureGrowth )

Constructs MR::InflateSettings elementwise.

Calls MR_InflateSettings_ConstructFrom().

◆ InflateSettings() [4/4]

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().

Member Function Documentation

◆ assignFromAnother()

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().

◆ gradualPressureGrowth()

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().

◆ iterations()

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().

◆ preSmooth()

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().

◆ pressure()

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().

◆ setGradualPressureGrowth()

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().

◆ setIterations()

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().

◆ setPreSmooth()

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().

◆ setPressure()

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().


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