11#include "MRPch/MRBindingMacros.h"
47 MR_BIND_PREFER_UNLOCK_GIL_WHEN_USED_AS_PARAM
101 const Mesh& mesh,
const std::vector<ParametersRegions::Region>& regions,
float interpolationDist );
#define MRVOXELS_API
Definition MRVoxels/MRVoxelsFwd.h:13
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:663
Definition MRWeightedPointsShell.h:14
MRVOXELS_API FunctionVolume pointsToDistanceVolume(const PointCloud &cloud, const DistanceVolumeCreationParams ¶ms)
makes FunctionVolume representing minimal distance to weighted points
MR_BIND_IGNORE MRVOXELS_API Expected< Mesh > pointsShell(const PointCloud &cloud, const ParametersMetric ¶ms)
MRVOXELS_API FunctionVolume meshToDistanceVolume(const Mesh &mesh, const DistanceVolumeCreationParams ¶ms)
makes FunctionVolume representing minimal distance to mesh with weighted vertices
MRVOXELS_API VertScalars calculateShellWeightsFromRegions(const Mesh &mesh, const std::vector< ParametersRegions::Region > ®ions, float interpolationDist)
interpolate set of regions and assign weight to each vertex of the mesh
MR_BIND_IGNORE MRVOXELS_API Expected< Mesh > meshShell(const Mesh &mesh, const ParametersMetric ¶ms)
std::function< FunctionVolume(const Mesh &, const DistanceVolumeCreationParams &)> meshToDistanceVolumeT
Definition MRWeightedPointsShell.h:28
tl::expected< T, E > Expected
Definition MRExpected.h:25
Definition MRClosestWeightedPoint.h:98
Definition MRClosestWeightedPoint.h:75
Definition MRDistanceVolumeParams.h:10
Definition MRMesh/MRMesh.h:22
Definition MRMesh/MRPointCloud.h:16
Definition MRWeightedPointsShell.h:17
DistanceVolumeParams vol
Definition MRWeightedPointsShell.h:18
DistanceFromWeightedPointsComputeParams dist
Definition MRWeightedPointsShell.h:20
Definition MRWeightedPointsShell.h:31
float numLayers
number of voxels to compute near the offset (should be left default unless used for debugging)
Definition MRWeightedPointsShell.h:40
ProgressCallback progress
Progress callback.
Definition MRWeightedPointsShell.h:43
float offset
build iso-surface of minimal distance to points corresponding to this value
Definition MRWeightedPointsShell.h:33
float voxelSize
Definition MRWeightedPointsShell.h:37
Definition MRWeightedPointsShell.h:51
DistanceFromWeightedPointsParams dist
parameters of distance finding
Definition MRWeightedPointsShell.h:53
Definition MRWeightedPointsShell.h:59
VertBitSet verts
Definition MRWeightedPointsShell.h:60
float weight
Definition MRWeightedPointsShell.h:61
Definition MRWeightedPointsShell.h:57
float interpolationDist
Definition MRWeightedPointsShell.h:70
bool bidirectionalMode
Definition MRWeightedPointsShell.h:74
std::vector< Region > regions
Definition MRWeightedPointsShell.h:66