MeshLib C++ Docs
Loading...
Searching...
No Matches
MRVoxelPath.h File Reference
#include "MRVoxelsFwd.h"
#include "MRMesh/MRFlagOperators.h"
#include "MRMesh/MRProgressCallback.h"
#include <functional>

Go to the source code of this file.

Classes

class  MR::VoxelMetricParameters
 Parameters for building metric function.
 

Namespaces

namespace  MR
 

Functions

MRVOXELS_API VoxelsMetric MR::voxelsExponentMetric (const VdbVolume &voxels, const VoxelMetricParameters &parameters, float modifier=-1.0f)
 e^(modifier*(dens1+dens2))
 
MRVOXELS_API VoxelsMetric MR::voxelsSumDiffsMetric (const VdbVolume &voxels, const VoxelMetricParameters &parameters)
 sum of dense differences with start and stop voxels
 
MRVOXELS_API std::vector< size_t > MR::buildSmallestMetricPath (const VdbVolume &voxels, const VoxelsMetric &metric, size_t start, size_t finish, ProgressCallback cb={})
 builds shortest path in given metric from start to finish voxels; if no path can be found then empty path is returned