MeshLib C++ Docs
Loading...
Searching...
No Matches
MRWeightedPointsShell.h File Reference
#include "MRVoxelsFwd.h"
#include "MRDistanceVolumeParams.h"
#include "MRMesh/MRExpected.h"
#include "MRMesh/MRProgressCallback.h"
#include "MRMesh/MRClosestWeightedPoint.h"
#include "MRMesh/MRBitSet.h"
#include "MRPch/MRBindingMacros.h"

Go to the source code of this file.

Classes

struct  MR::WeightedPointsToDistanceVolumeParams
 
struct  MR::WeightedPointsShellParametersBase
 
struct  MR::WeightedPointsShellParametersMetric
 
struct  MR::WeightedPointsShellParametersRegions
 
struct  MR::WeightedPointsShellParametersRegions::Region
 

Namespaces

namespace  MR
 

Functions

MRVOXELS_API FunctionVolume MR::weightedPointsToDistanceFunctionVolume (const PointCloud &cloud, const WeightedPointsToDistanceVolumeParams &params)
 makes FunctionVolume representing minimal distance to weighted points
 
MRVOXELS_API FunctionVolume MR::weightedMeshToDistanceFunctionVolume (const Mesh &mesh, const WeightedPointsToDistanceVolumeParams &params)
 makes FunctionVolume representing minimal distance to mesh with weighted vertices
 
MR_BIND_IGNORE MRVOXELS_API Expected< MeshMR::weightedPointsShell (const PointCloud &cloud, const WeightedPointsShellParametersMetric &params)
 
MRVOXELS_API Expected< MeshMR::weightedPointsShell (const PointCloud &cloud, const VertScalars &pointWeights, const WeightedPointsShellParametersMetric &params)
 
MR_BIND_IGNORE MRVOXELS_API Expected< MeshMR::weightedMeshShell (const Mesh &mesh, const WeightedPointsShellParametersMetric &params)
 
MRVOXELS_API Expected< MeshMR::weightedMeshShell (const Mesh &mesh, const VertScalars &vertWeights, const WeightedPointsShellParametersMetric &params)
 
MRVOXELS_API VertScalars MR::calculateShellWeightsFromRegions (const Mesh &mesh, const std::vector< WeightedPointsShellParametersRegions::Region > &regions, float interpolationDist)
 interpolate set of regions and assign weight to each vertex of the mesh
 
MRVOXELS_API Expected< MeshMR::weightedMeshShell (const Mesh &mesh, const WeightedPointsShellParametersRegions &params)
 this overload supports linear interpolation between the regions with different weight