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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstPointsToMeshParameters arg0)
None __init__ (self, float sigma, float minWeight, float invSigmaModifier, bool sqrtAngleWeight, float voxelSize, ConstVertColors ptColors, VertColors vColors, Const_func_bool_from_float progress, IComputePointsToDistanceVolume computeVolume)
PointsToMeshParameters assign (self, ConstPointsToMeshParameters other)
IComputePointsToDistanceVolume computeVolume (self)
None computeVolume (self, IComputePointsToDistanceVolume arg1)
float invSigmaModifier (self)
None invSigmaModifier (self, float arg1)
float minWeight (self)
None minWeight (self, float arg1)
func_bool_from_float progress (self)
None progress (self, Const_func_bool_from_float arg1)
VertColors ptColors (self)
None ptColors (self, ConstVertColors arg1)
float sigma (self)
None sigma (self, float arg1)
bool sqrtAngleWeight (self)
None sqrtAngleWeight (self, bool arg1)
VertColors vColors (self)
None vColors (self, VertColors arg1)
float voxelSize (self)
None voxelSize (self, float arg1)
Public Member Functions inherited from mrmeshpy.ConstPointsToMeshParameters
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstPointsToMeshParameters
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__() [1/4]

None mrmeshpy.PointsToMeshParameters.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.PointsToMeshParameters.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.PointsToMeshParameters.__init__ ( self,
float sigma,
float minWeight,
float invSigmaModifier,
bool sqrtAngleWeight,
float voxelSize,
ConstVertColors ptColors,
VertColors vColors,
Const_func_bool_from_float progress,
IComputePointsToDistanceVolume computeVolume )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

PointsToMeshParameters mrmeshpy.PointsToMeshParameters.assign ( self,
ConstPointsToMeshParameters other )

◆ computeVolume() [1/2]

IComputePointsToDistanceVolume mrmeshpy.PointsToMeshParameters.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 from mrmeshpy.ConstPointsToMeshParameters.

◆ computeVolume() [2/2]

None mrmeshpy.PointsToMeshParameters.computeVolume ( self,
IComputePointsToDistanceVolume arg1 )
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 from mrmeshpy.ConstPointsToMeshParameters.

◆ invSigmaModifier() [1/2]

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

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ invSigmaModifier() [2/2]

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

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ minWeight() [1/2]

float mrmeshpy.PointsToMeshParameters.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 from mrmeshpy.ConstPointsToMeshParameters.

◆ minWeight() [2/2]

None mrmeshpy.PointsToMeshParameters.minWeight ( self,
float arg1 )
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 from mrmeshpy.ConstPointsToMeshParameters.

◆ progress() [1/2]

func_bool_from_float mrmeshpy.PointsToMeshParameters.progress ( self)
Progress callback

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ progress() [2/2]

None mrmeshpy.PointsToMeshParameters.progress ( self,
Const_func_bool_from_float arg1 )
Progress callback

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ ptColors() [1/2]

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

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ ptColors() [2/2]

None mrmeshpy.PointsToMeshParameters.ptColors ( self,
ConstVertColors arg1 )
optional input: colors of input points

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ sigma() [1/2]

float mrmeshpy.PointsToMeshParameters.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 from mrmeshpy.ConstPointsToMeshParameters.

◆ sigma() [2/2]

None mrmeshpy.PointsToMeshParameters.sigma ( self,
float arg1 )
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 from mrmeshpy.ConstPointsToMeshParameters.

◆ sqrtAngleWeight() [1/2]

bool mrmeshpy.PointsToMeshParameters.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 from mrmeshpy.ConstPointsToMeshParameters.

◆ sqrtAngleWeight() [2/2]

None mrmeshpy.PointsToMeshParameters.sqrtAngleWeight ( self,
bool arg1 )
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 from mrmeshpy.ConstPointsToMeshParameters.

◆ vColors() [1/2]

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

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ vColors() [2/2]

None mrmeshpy.PointsToMeshParameters.vColors ( self,
VertColors arg1 )
optional output: averaged colors of mesh vertices

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ voxelSize() [1/2]

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

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.

◆ voxelSize() [2/2]

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

Reimplemented from mrmeshpy.ConstPointsToMeshParameters.


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