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) |
Generated from: MR::UniformSamplingSettings
None meshlib.mrmeshpy.UniformSamplingSettings.__init__ | ( | self | ) |
Implicit default constructor.
None meshlib.mrmeshpy.UniformSamplingSettings.__init__ | ( | self, | |
UniformSamplingSettings | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.UniformSamplingSettings.__init__ | ( | self, | |
float | distance, | ||
float | minNormalDot, | ||
bool | lexicographicalOrder, | ||
VertCoords | pNormals, | ||
func_bool_from_float | progress ) |
Implicit aggregate constructor.
float meshlib.mrmeshpy.UniformSamplingSettings.distance | ( | self | ) |
minimal distance between samples
None meshlib.mrmeshpy.UniformSamplingSettings.distance | ( | self, | |
float | arg1 ) |
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
None meshlib.mrmeshpy.UniformSamplingSettings.lexicographicalOrder | ( | self, | |
bool | arg1 ) |
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)
None meshlib.mrmeshpy.UniformSamplingSettings.minNormalDot | ( | self, | |
float | arg1 ) |
VertCoords meshlib.mrmeshpy.UniformSamplingSettings.pNormals | ( | self | ) |
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself
None meshlib.mrmeshpy.UniformSamplingSettings.pNormals | ( | self, | |
VertCoords | arg1 ) |
func_bool_from_float meshlib.mrmeshpy.UniformSamplingSettings.progress | ( | self | ) |
to report progress and cancel processing
None meshlib.mrmeshpy.UniformSamplingSettings.progress | ( | self, | |
func_bool_from_float | arg1 ) |