Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| float | distance (self) |
| bool | lexicographicalOrder (self) |
| float | minNormalDot (self) |
| VertCoords | pNormals (self) |
| Const_func_bool_from_float | progress (self) |
Static Protected Attributes | |
| typing | _offsetof_distance = 0 |
| typing | _offsetof_lexicographicalOrder = 8 |
| typing | _offsetof_minNormalDot = 4 |
| typing | _offsetof_pNormals = 16 |
| typing | _offsetof_progress = 24 |
Generated from: MR::UniformSamplingSettings
| mrmeshpy.ConstUniformSamplingSettings.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstUniformSamplingSettings) -> None 2. __init__(self: meshlib.mrmeshpy.ConstUniformSamplingSettings, arg0: meshlib.mrmeshpy.ConstUniformSamplingSettings) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstUniformSamplingSettings, distance: float, minNormalDot: float, lexicographicalOrder: bool, pNormals: meshlib.mrmeshpy.ConstVertCoords, progress: meshlib.mrmeshpy.Const_func_bool_from_float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstUniformSamplingSettings, : meshlib.mrmeshpy.ConstUniformSamplingSettings) -> None
| float mrmeshpy.ConstUniformSamplingSettings.distance | ( | self | ) |
minimal distance between samples
Reimplemented in mrmeshpy.UniformSamplingSettings, and mrmeshpy.UniformSamplingSettings.
| bool mrmeshpy.ConstUniformSamplingSettings.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 in mrmeshpy.UniformSamplingSettings, and mrmeshpy.UniformSamplingSettings.
| float mrmeshpy.ConstUniformSamplingSettings.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 in mrmeshpy.UniformSamplingSettings, and mrmeshpy.UniformSamplingSettings.
| VertCoords mrmeshpy.ConstUniformSamplingSettings.pNormals | ( | self | ) |
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself
Reimplemented in mrmeshpy.UniformSamplingSettings, and mrmeshpy.UniformSamplingSettings.
| Const_func_bool_from_float mrmeshpy.ConstUniformSamplingSettings.progress | ( | self | ) |
to report progress and cancel processing
Reimplemented in mrmeshpy.UniformSamplingSettings, and mrmeshpy.UniformSamplingSettings.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |