MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.WeightedShell Class Reference

Classes

class  ConstDistanceVolumeCreationParams
class  ConstParametersBase
class  ConstParametersMetric
class  ConstParametersRegions
class  DistanceVolumeCreationParams
class  ParametersBase
class  ParametersMetric
class  ParametersRegions

Static Public Member Functions

VertScalars calculateShellWeightsFromRegions (ConstMesh mesh, Const_std_vector_WeightedShell_ParametersRegions_Region regions, float interpolationDist)
Mesh meshShell (ConstMesh mesh, ConstVertScalars vertWeights, WeightedShell.ConstParametersMetric params)
Mesh meshShell (ConstMesh mesh, WeightedShell.ConstParametersRegions params)
Mesh meshShell (ConstMesh mesh, WeightedShell.ConstParametersRegions params, Const_func_VoxelsVolume_std_function_float_Vector3_int_const_from_Mesh_WeightedShell_DistanceVolumeCreationParams volumeBuilder)
FunctionVolume meshToDistanceVolume (ConstMesh mesh, WeightedShell.ConstDistanceVolumeCreationParams params)
Mesh pointsShell (ConstPointCloud cloud, ConstVertScalars pointWeights, WeightedShell.ConstParametersMetric params)
FunctionVolume pointsToDistanceVolume (ConstPointCloud cloud, WeightedShell.ConstDistanceVolumeCreationParams params)

Detailed Description

This is a namespace.

Member Function Documentation

◆ calculateShellWeightsFromRegions()

VertScalars mrmeshpy.WeightedShell.calculateShellWeightsFromRegions ( ConstMesh mesh,
Const_std_vector_WeightedShell_ParametersRegions_Region regions,
float interpolationDist )
static
interpolate set of regions and assign weight to each vertex of the mesh

◆ meshShell() [1/3]

Mesh mrmeshpy.WeightedShell.meshShell ( ConstMesh mesh,
ConstVertScalars vertWeights,
WeightedShell.ConstParametersMetric params )
static
consider a mesh where each vertex has additive weight (taken from vertWeights and not from params), and this weight is linearly interpolated in mesh triangles,
and the distance to a point is considered equal to (euclidean distance - weight),
constructs iso-surface of such distance field corresponding to params.offset value using marching cubes

◆ meshShell() [2/3]

Mesh mrmeshpy.WeightedShell.meshShell ( ConstMesh mesh,
WeightedShell.ConstParametersRegions params )
static
this overload supports linear interpolation between the regions with different weight

◆ meshShell() [3/3]

this overload allows to control how distance volume is build during the offset

◆ meshToDistanceVolume()

FunctionVolume mrmeshpy.WeightedShell.meshToDistanceVolume ( ConstMesh mesh,
WeightedShell.ConstDistanceVolumeCreationParams params )
static
makes FunctionVolume representing minimal distance to mesh with weighted vertices

◆ pointsShell()

Mesh mrmeshpy.WeightedShell.pointsShell ( ConstPointCloud cloud,
ConstVertScalars pointWeights,
WeightedShell.ConstParametersMetric params )
static
consider a point cloud where each point has additive weight (taken from pointWeights and not from params),
and the distance to a point is considered equal to (euclidean distance - weight),
constructs iso-surface of such distance field corresponding to params.offset value using marching cubes

◆ pointsToDistanceVolume()

FunctionVolume mrmeshpy.WeightedShell.pointsToDistanceVolume ( ConstPointCloud cloud,
WeightedShell.ConstDistanceVolumeCreationParams params )
static
makes FunctionVolume representing minimal distance to weighted points

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