MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstInflateSettings Class Reference
Inheritance diagram for mrmeshpy.ConstInflateSettings:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool gradualPressureGrowth (self)
int iterations (self)
bool preSmooth (self)
float pressure (self)

Static Protected Attributes

typing _offsetof_gradualPressureGrowth = 9
typing _offsetof_iterations = 4
typing _offsetof_preSmooth = 8
typing _offsetof_pressure = 0

Detailed Description

Generated from:  MR::InflateSettings

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstInflateSettings.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstInflateSettings) -> None

2. __init__(self: meshlib.mrmeshpy.ConstInflateSettings, arg0: meshlib.mrmeshpy.ConstInflateSettings) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstInflateSettings, pressure: float, iterations: int, preSmooth: bool, gradualPressureGrowth: bool) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstInflateSettings, : meshlib.mrmeshpy.ConstInflateSettings) -> None

Member Function Documentation

◆ gradualPressureGrowth()

bool mrmeshpy.ConstInflateSettings.gradualPressureGrowth ( self)
whether to increase the pressure gradually during the iterations (recommended for best quality)

Reimplemented in mrmeshpy.InflateSettings, and mrmeshpy.InflateSettings.

◆ iterations()

int mrmeshpy.ConstInflateSettings.iterations ( self)
the number of internal iterations (>=1);
larger number of iterations makes the performance slower, but the quality better

Reimplemented in mrmeshpy.InflateSettings, and mrmeshpy.InflateSettings.

◆ preSmooth()

bool mrmeshpy.ConstInflateSettings.preSmooth ( self)
smooths the area before starting inflation;
please set to false only if the region is known to be already smooth

Reimplemented in mrmeshpy.InflateSettings, and mrmeshpy.InflateSettings.

◆ pressure()

float mrmeshpy.ConstInflateSettings.pressure ( self)
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

Reimplemented in mrmeshpy.InflateSettings, and mrmeshpy.InflateSettings.

Member Data Documentation

◆ _offsetof_gradualPressureGrowth

typing mrmeshpy.ConstInflateSettings._offsetof_gradualPressureGrowth = 9
staticprotected

◆ _offsetof_iterations

typing mrmeshpy.ConstInflateSettings._offsetof_iterations = 4
staticprotected

◆ _offsetof_preSmooth

typing mrmeshpy.ConstInflateSettings._offsetof_preSmooth = 8
staticprotected

◆ _offsetof_pressure

typing mrmeshpy.ConstInflateSettings._offsetof_pressure = 0
staticprotected

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