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

Public Member Functions

None __init__ (self)
 
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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
InflateSettings operator (*args, **kwargs)
 
InflateSettings operator (*args, **kwargs)
 

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__() [1/3]

None mrmeshpy.InflateSettings.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.InflateSettings.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ gradualPressureGrowth() [1/2]

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

◆ gradualPressureGrowth() [2/2]

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

◆ iterations() [1/2]

int 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 mrmeshpy.InflateSettings.iterations ( self,
int arg1 )

◆ operator() [1/2]

InflateSettings mrmeshpy.InflateSettings.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

InflateSettings mrmeshpy.InflateSettings.operator ( * args,
** kwargs )
static

◆ preSmooth() [1/2]

bool 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 mrmeshpy.InflateSettings.preSmooth ( self,
bool arg1 )

◆ pressure() [1/2]

float 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 mrmeshpy.InflateSettings.pressure ( self,
float arg1 )

Member Data Documentation

◆ _offsetof_gradualPressureGrowth

typing mrmeshpy.InflateSettings._offsetof_gradualPressureGrowth = 9
staticprotected

◆ _offsetof_iterations

typing mrmeshpy.InflateSettings._offsetof_iterations = 4
staticprotected

◆ _offsetof_preSmooth

typing mrmeshpy.InflateSettings._offsetof_preSmooth = 8
staticprotected

◆ _offsetof_pressure

typing mrmeshpy.InflateSettings._offsetof_pressure = 0
staticprotected

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