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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstUniformSamplingSettings arg0)
None __init__ (self, float distance, float minNormalDot, bool lexicographicalOrder, ConstVertCoords pNormals, Const_func_bool_from_float progress)
UniformSamplingSettings assign (self, ConstUniformSamplingSettings other)
float distance (self)
None distance (self, float arg1)
bool lexicographicalOrder (self)
None lexicographicalOrder (self, bool arg1)
float minNormalDot (self)
None minNormalDot (self, float arg1)
VertCoords pNormals (self)
None pNormals (self, ConstVertCoords arg1)
func_bool_from_float progress (self)
None progress (self, Const_func_bool_from_float arg1)
Public Member Functions inherited from mrmeshpy.ConstUniformSamplingSettings
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstUniformSamplingSettings
typing _offsetof_distance = 0
typing _offsetof_lexicographicalOrder = 8
typing _offsetof_minNormalDot = 4
typing _offsetof_pNormals = 16
typing _offsetof_progress = 24

Detailed Description

Generated from:  MR::UniformSamplingSettings

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.UniformSamplingSettings.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.UniformSamplingSettings.__init__ ( self,
ConstUniformSamplingSettings arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.UniformSamplingSettings.__init__ ( self,
float distance,
float minNormalDot,
bool lexicographicalOrder,
ConstVertCoords pNormals,
Const_func_bool_from_float progress )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

UniformSamplingSettings mrmeshpy.UniformSamplingSettings.assign ( self,
ConstUniformSamplingSettings other )

◆ distance() [1/2]

float mrmeshpy.UniformSamplingSettings.distance ( self)
minimal distance between samples

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ distance() [2/2]

None mrmeshpy.UniformSamplingSettings.distance ( self,
float arg1 )
minimal distance between samples

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ lexicographicalOrder() [1/2]

bool mrmeshpy.UniformSamplingSettings.lexicographicalOrder ( self)
if true process the points in lexicographical order, which gives tighter and more uniform samples;
if false process the points according to their ids, which is faster

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ lexicographicalOrder() [2/2]

None mrmeshpy.UniformSamplingSettings.lexicographicalOrder ( self,
bool arg1 )
if true process the points in lexicographical order, which gives tighter and more uniform samples;
if false process the points according to their ids, which is faster

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ minNormalDot() [1/2]

float mrmeshpy.UniformSamplingSettings.minNormalDot ( self)
if point cloud has normals then automatically decreases local distance to make sure that all points inside have absolute normal dot product not less than this value;
this is to make sampling denser in the regions of high curvature;
value <=0 means ignore normals;
value >=1 means select all points (practically useless)

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ minNormalDot() [2/2]

None mrmeshpy.UniformSamplingSettings.minNormalDot ( self,
float arg1 )
if point cloud has normals then automatically decreases local distance to make sure that all points inside have absolute normal dot product not less than this value;
this is to make sampling denser in the regions of high curvature;
value <=0 means ignore normals;
value >=1 means select all points (practically useless)

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ pNormals() [1/2]

VertCoords mrmeshpy.UniformSamplingSettings.pNormals ( self)
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ pNormals() [2/2]

None mrmeshpy.UniformSamplingSettings.pNormals ( self,
ConstVertCoords arg1 )
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ progress() [1/2]

func_bool_from_float mrmeshpy.UniformSamplingSettings.progress ( self)
to report progress and cancel processing

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.

◆ progress() [2/2]

None mrmeshpy.UniformSamplingSettings.progress ( self,
Const_func_bool_from_float arg1 )
to report progress and cancel processing

Reimplemented from mrmeshpy.ConstUniformSamplingSettings.


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