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

Public Member Functions

None __init__ (self)
 
None __init__ (self, UniformSamplingSettings arg0)
 
None __init__ (self, float distance, float minNormalDot, bool lexicographicalOrder, VertCoords pNormals, func_bool_from_float progress)
 
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, VertCoords arg1)
 
func_bool_from_float progress (self)
 
None progress (self, func_bool_from_float arg1)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::UniformSamplingSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.UniformSamplingSettings.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.UniformSamplingSettings._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ distance() [1/2]

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

◆ distance() [2/2]

None mrmeshpy.UniformSamplingSettings.distance ( self,
float arg1 )

◆ 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

◆ lexicographicalOrder() [2/2]

None mrmeshpy.UniformSamplingSettings.lexicographicalOrder ( self,
bool arg1 )

◆ 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)

◆ minNormalDot() [2/2]

None mrmeshpy.UniformSamplingSettings.minNormalDot ( self,
float arg1 )

◆ 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

◆ pNormals() [2/2]

None mrmeshpy.UniformSamplingSettings.pNormals ( self,
VertCoords arg1 )

◆ progress() [1/2]

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

◆ progress() [2/2]

None mrmeshpy.UniformSamplingSettings.progress ( self,
func_bool_from_float arg1 )

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