9#include "MRPch/MRBindingMacros.h"
50 MR_BIND_PREFER_UNLOCK_GIL_WHEN_USED_AS_PARAM
100 const Mesh& mesh,
const std::vector<WeightedPointsShellParametersRegions::Region>& regions,
float interpolationDist );
#define MRVOXELS_API
Definition MRVoxels/MRVoxelsFwd.h:13
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:641
tl::expected< T, E > Expected
Definition MRExpected.h:59
MR_BIND_IGNORE MRVOXELS_API Expected< Mesh > weightedMeshShell(const Mesh &mesh, const WeightedPointsShellParametersMetric ¶ms)
MRVOXELS_API FunctionVolume weightedMeshToDistanceFunctionVolume(const Mesh &mesh, const WeightedPointsToDistanceVolumeParams ¶ms)
makes FunctionVolume representing minimal distance to mesh with weighted vertices
MRVOXELS_API FunctionVolume weightedPointsToDistanceFunctionVolume(const PointCloud &cloud, const WeightedPointsToDistanceVolumeParams ¶ms)
makes FunctionVolume representing minimal distance to weighted points
MR_BIND_IGNORE MRVOXELS_API Expected< Mesh > weightedPointsShell(const PointCloud &cloud, const WeightedPointsShellParametersMetric ¶ms)
MRVOXELS_API VertScalars calculateShellWeightsFromRegions(const Mesh &mesh, const std::vector< WeightedPointsShellParametersRegions::Region > ®ions, float interpolationDist)
interpolate set of regions and assign weight to each vertex of the mesh
Definition MRClosestWeightedPoint.h:56
Definition MRClosestWeightedPoint.h:38
Definition MRDistanceVolumeParams.h:10
Definition MRMesh/MRMesh.h:22
Definition MRMesh/MRPointCloud.h:16
Definition MRWeightedPointsShell.h:32
float offset
build iso-surface of minimal distance to points corresponding to this value
Definition MRWeightedPointsShell.h:34
bool signDistanceByNormal
Definition MRWeightedPointsShell.h:43
ProgressCallback progress
Progress callback.
Definition MRWeightedPointsShell.h:46
float voxelSize
Definition MRWeightedPointsShell.h:38
Definition MRWeightedPointsShell.h:54
DistanceFromWeightedPointsParams dist
parameters of distance finding
Definition MRWeightedPointsShell.h:56
Definition MRWeightedPointsShell.h:62
float weight
Definition MRWeightedPointsShell.h:64
VertBitSet verts
Definition MRWeightedPointsShell.h:63
Definition MRWeightedPointsShell.h:60
float interpolationDist
Definition MRWeightedPointsShell.h:73
std::vector< Region > regions
Definition MRWeightedPointsShell.h:69
Definition MRWeightedPointsShell.h:15
DistanceFromWeightedPointsComputeParams dist
Definition MRWeightedPointsShell.h:18
DistanceVolumeParams vol
Definition MRWeightedPointsShell.h:16
bool signDistanceByNormal
Definition MRWeightedPointsShell.h:22