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

Classes

class  DistanceVolumeCreationParams
 
class  ParametersBase
 
class  ParametersMetric
 
class  ParametersRegions
 

Static Public Member Functions

VertScalars calculateShellWeightsFromRegions (Mesh mesh, std_vector_WeightedShell_ParametersRegions_Region regions, float interpolationDist)
 
Mesh meshShell (Mesh mesh, VertScalars vertWeights, WeightedShell.ParametersMetric params)
 
Mesh meshShell (Mesh mesh, WeightedShell.ParametersRegions params)
 
Mesh meshShell (Mesh mesh, WeightedShell.ParametersRegions params, func_VoxelsVolume_std_function_float___cdecl_Vector3_int_const_from_Mesh_WeightedShell_DistanceVolumeCreationParams volumeBuilder)
 
FunctionVolume meshToDistanceVolume (Mesh mesh, WeightedShell.DistanceVolumeCreationParams params)
 
Mesh pointsShell (PointCloud cloud, VertScalars pointWeights, WeightedShell.ParametersMetric params)
 
FunctionVolume pointsToDistanceVolume (PointCloud cloud, WeightedShell.DistanceVolumeCreationParams params)
 

Detailed Description

This is a namespace.

Member Function Documentation

◆ calculateShellWeightsFromRegions()

VertScalars mrmeshpy.WeightedShell.calculateShellWeightsFromRegions ( Mesh mesh,
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 ( Mesh mesh,
VertScalars vertWeights,
WeightedShell.ParametersMetric 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 ( Mesh mesh,
WeightedShell.ParametersRegions 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 ( Mesh mesh,
WeightedShell.DistanceVolumeCreationParams params )
static
makes FunctionVolume representing minimal distance to mesh with weighted vertices

◆ pointsShell()

Mesh mrmeshpy.WeightedShell.pointsShell ( PointCloud cloud,
VertScalars pointWeights,
WeightedShell.ParametersMetric 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 ( PointCloud cloud,
WeightedShell.DistanceVolumeCreationParams params )
static
makes FunctionVolume representing minimal distance to weighted points

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