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

Public Member Functions

 __init__ (self, *args, **kwargs)
IComputePointsToDistanceVolume computeVolume (self)
float invSigmaModifier (self)
float minWeight (self)
Const_func_bool_from_float progress (self)
VertColors ptColors (self)
float sigma (self)
bool sqrtAngleWeight (self)
VertColors vColors (self)
float voxelSize (self)

Static Protected Attributes

typing _offsetof_computeVolume = 72
typing _offsetof_invSigmaModifier = 8
typing _offsetof_minWeight = 4
typing _offsetof_progress = 40
typing _offsetof_ptColors = 24
typing _offsetof_sigma = 0
typing _offsetof_sqrtAngleWeight = 12
typing _offsetof_vColors = 32
typing _offsetof_voxelSize = 16

Detailed Description

Generated from:  MR::PointsToMeshParameters

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstPointsToMeshParameters.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstPointsToMeshParameters) -> None

2. __init__(self: meshlib.mrmeshpy.ConstPointsToMeshParameters, arg0: meshlib.mrmeshpy.ConstPointsToMeshParameters) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstPointsToMeshParameters, sigma: float, minWeight: float, invSigmaModifier: float, sqrtAngleWeight: bool, voxelSize: float, ptColors: meshlib.mrmeshpy.ConstVertColors, vColors: meshlib.mrmeshpy.VertColors, progress: meshlib.mrmeshpy.Const_func_bool_from_float, computeVolume: meshlib.mrmeshpy.IComputePointsToDistanceVolume) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstPointsToMeshParameters, : meshlib.mrmeshpy.ConstPointsToMeshParameters) -> None

Member Function Documentation

◆ computeVolume()

IComputePointsToDistanceVolume mrmeshpy.ConstPointsToMeshParameters.computeVolume ( self)
builds the intermediate volume, e.g. MR::Cuda::ComputePointsToDistanceVolume to build it on GPU;
if it is not set or cannot process this input, MR::ComputePointsToDistanceVolume is used

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

◆ invSigmaModifier()

float mrmeshpy.ConstPointsToMeshParameters.invSigmaModifier ( self)
coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2)
values: (0;inf)

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

◆ minWeight()

float mrmeshpy.ConstPointsToMeshParameters.minWeight ( self)
minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

◆ progress()

Const_func_bool_from_float mrmeshpy.ConstPointsToMeshParameters.progress ( self)
Progress callback

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

◆ ptColors()

VertColors mrmeshpy.ConstPointsToMeshParameters.ptColors ( self)
optional input: colors of input points

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

◆ sigma()

float mrmeshpy.ConstPointsToMeshParameters.sigma ( self)
it the distance of highest influence of a point;
the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

◆ sqrtAngleWeight()

bool mrmeshpy.ConstPointsToMeshParameters.sqrtAngleWeight ( self)
changes the way point angle affects weight, by default it is linearly increasing with dot product
if enabled - increasing as dot product^(0.5) (with respect to its sign)

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

◆ vColors()

VertColors mrmeshpy.ConstPointsToMeshParameters.vColors ( self)
optional output: averaged colors of mesh vertices

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

◆ voxelSize()

float mrmeshpy.ConstPointsToMeshParameters.voxelSize ( self)
Size of voxel in grid conversions;
The user is responsible for setting some positive value here

Reimplemented in mrmeshpy.PointsToMeshParameters, and mrmeshpy.PointsToMeshParameters.

Member Data Documentation

◆ _offsetof_computeVolume

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_computeVolume = 72
staticprotected

◆ _offsetof_invSigmaModifier

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_invSigmaModifier = 8
staticprotected

◆ _offsetof_minWeight

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_minWeight = 4
staticprotected

◆ _offsetof_progress

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_progress = 40
staticprotected

◆ _offsetof_ptColors

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_ptColors = 24
staticprotected

◆ _offsetof_sigma

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_sigma = 0
staticprotected

◆ _offsetof_sqrtAngleWeight

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_sqrtAngleWeight = 12
staticprotected

◆ _offsetof_vColors

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_vColors = 32
staticprotected

◆ _offsetof_voxelSize

typing mrmeshpy.ConstPointsToMeshParameters._offsetof_voxelSize = 16
staticprotected

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