MeshLib C# Docs
Loading...
Searching...
No Matches
MR.WeightedShell Class Reference

Static Public Member Functions

static unsafe MR.FunctionVolume pointsToDistanceVolume (MR.Const_PointCloud cloud, MR.WeightedShell.Const_DistanceVolumeCreationParams params_)
 makes FunctionVolume representing minimal distance to weighted points Generated from function MR.WeightedShell.pointsToDistanceVolume.
 
static unsafe MR.FunctionVolume meshToDistanceVolume (MR.Const_Mesh mesh, MR.WeightedShell.Const_DistanceVolumeCreationParams params_)
 makes FunctionVolume representing minimal distance to mesh with weighted vertices Generated from function MR.WeightedShell.meshToDistanceVolume.
 
static unsafe MR.Mesh pointsShell (MR.Const_PointCloud cloud, MR.Const_VertScalars pointWeights, MR.WeightedShell.Const_ParametersMetric params_)
 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 Generated from function MR.WeightedShell.pointsShell.
 
static unsafe MR.Mesh meshShell (MR.Const_Mesh mesh, MR.Const_VertScalars vertWeights, MR.WeightedShell.Const_ParametersMetric params_)
 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 Generated from function MR.WeightedShell.meshShell.
 
static unsafe MR.VertScalars calculateShellWeightsFromRegions (MR.Const_Mesh mesh, MR.Std.Const_Vector_MRWeightedShellParametersRegionsRegion regions, float interpolationDist)
 interpolate set of regions and assign weight to each vertex of the mesh Generated from function MR.WeightedShell.calculateShellWeightsFromRegions.
 
static unsafe MR.Mesh meshShell (MR.Const_Mesh mesh, MR.WeightedShell.Const_ParametersRegions params_)
 this overload supports linear interpolation between the regions with different weight Generated from function MR.WeightedShell.meshShell.
 
static unsafe MR.Mesh meshShell (MR.Const_Mesh mesh, MR.WeightedShell.Const_ParametersRegions params_, MR.Std._ByValue_Function_MRFunctionVolumeFuncFromConstMRMeshRefConstMRWeightedShellDistanceVolumeCreationParamsRef volumeBuilder)
 this overload allows to control how distance volume is build during the offset Generated from function MR.WeightedShell.meshShell.
 

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