MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.InflateSettings Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, InflateSettings arg0)
 
None __init__ (self, float pressure, int iterations, bool preSmooth, bool gradualPressureGrowth)
 
bool gradualPressureGrowth (self)
 
None gradualPressureGrowth (self, bool arg1)
 
int iterations (self)
 
None iterations (self, int arg1)
 
bool preSmooth (self)
 
None preSmooth (self, bool arg1)
 
float pressure (self)
 
None pressure (self, float arg1)
 

Detailed Description

Generated from:  MR::InflateSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.InflateSettings.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.InflateSettings.__init__ ( self,
InflateSettings arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.InflateSettings.__init__ ( self,
float pressure,
int iterations,
bool preSmooth,
bool gradualPressureGrowth )
Implicit aggregate constructor.

Member Function Documentation

◆ gradualPressureGrowth() [1/2]

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

◆ gradualPressureGrowth() [2/2]

None meshlib.mrmeshpy.InflateSettings.gradualPressureGrowth ( self,
bool arg1 )

◆ iterations() [1/2]

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

◆ iterations() [2/2]

None meshlib.mrmeshpy.InflateSettings.iterations ( self,
int arg1 )

◆ preSmooth() [1/2]

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

◆ preSmooth() [2/2]

None meshlib.mrmeshpy.InflateSettings.preSmooth ( self,
bool arg1 )

◆ pressure() [1/2]

float meshlib.mrmeshpy.InflateSettings.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

◆ pressure() [2/2]

None meshlib.mrmeshpy.InflateSettings.pressure ( self,
float arg1 )

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