MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.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)
 

Detailed Description

Generated from:  MR::UniformSamplingSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ distance() [1/2]

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

◆ distance() [2/2]

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

◆ lexicographicalOrder() [1/2]

bool meshlib.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 meshlib.mrmeshpy.UniformSamplingSettings.lexicographicalOrder ( self,
bool arg1 )

◆ minNormalDot() [1/2]

float meshlib.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 meshlib.mrmeshpy.UniformSamplingSettings.minNormalDot ( self,
float arg1 )

◆ pNormals() [1/2]

VertCoords meshlib.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 meshlib.mrmeshpy.UniformSamplingSettings.pNormals ( self,
VertCoords arg1 )

◆ progress() [1/2]

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

◆ progress() [2/2]

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

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