MeshLib Documentation
Loading...
Searching...
No Matches
MRCudaMeshDistanceMap.h
Go to the documentation of this file.
1#pragma once
2#include "exports.h"
4#include "MRMesh/MRMesh.h"
5
6namespace MR
7{
8namespace Cuda
9{
13 ProgressCallback cb = {}, std::vector<MR::MeshTriPoint>* outSamples = nullptr );
14
16MRCUDA_API size_t computeDistanceMapHeapBytes( const MR::Mesh& mesh, const MR::MeshToDistanceMapParams& params, bool needOutSamples = false );
17}
18}
Definition MRDistanceMap.h:24
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
MRCUDA_API DistanceMap computeDistanceMap(const MR::Mesh &mesh, const MR::MeshToDistanceMapParams &params, ProgressCallback cb={}, std::vector< MR::MeshTriPoint > *outSamples=nullptr)
MRCUDA_API size_t computeDistanceMapHeapBytes(const MR::Mesh &mesh, const MR::MeshToDistanceMapParams &params, bool needOutSamples=false)
Computes memory consumption of computeDistanceMap function.
Definition MRCameraOrientationPlugin.h:8
Definition MRDistanceMapParams.h:17
Definition MRMesh/MRMesh.h:23