39 const VertCoords & tgtPoints,
const VertBitSet & tgtVerts,
float sigma,
const ProgressCallback & cb = {} );
#define MRVOXELS_API
Definition MRVoxelsFwd.h:13
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
MRVOXELS_API Expected< VertColors > calcAvgColors(const PointCloud &cloud, const VertColors &colors, const VertCoords &tgtPoints, const VertBitSet &tgtVerts, float sigma, const ProgressCallback &cb={})
MRVOXELS_API FunctionVolume pointsToDistanceFunctionVolume(const PointCloud &cloud, const PointsToDistanceVolumeParams ¶ms)
makes FunctionVolume representing signed distances to points with normals
MRVOXELS_API Expected< SimpleVolume > pointsToDistanceVolume(const PointCloud &cloud, const PointsToDistanceVolumeParams ¶ms)
makes SimpleVolume filled with signed distances to points with normals
tl::expected< T, E > Expected
Definition MRExpected.h:58
Definition MRDistanceVolumeParams.h:10
Definition MRMesh/MRPointCloud.h:16
Definition MRPointsToDistanceVolume.h:12
float sigma
Definition MRPointsToDistanceVolume.h:15
const VertNormals * ptNormals
optional input: if this pointer is set then function will use these normals instead of ones present i...
Definition MRPointsToDistanceVolume.h:21
float minWeight
minimum sum of influence weights from surrounding points for a voxel to get a value,...
Definition MRPointsToDistanceVolume.h:18