MeshLib Documentation
Loading...
Searching...
No Matches
MRCudaContoursDistanceMap.h
Go to the documentation of this file.
1#pragma once
2#include "exports.h"
3#include "MRMesh/MRPolyline.h"
5
6namespace MR { namespace Cuda
7{
8
10MRCUDA_API DistanceMap distanceMapFromContours( const MR::Polyline2& polyline, const ContourToDistanceMapParams& params );
11
13MRCUDA_API size_t distanceMapFromContoursHeapBytes( const MR::Polyline2& polyline, const ContourToDistanceMapParams& params );
14}}
Definition MRDistanceMap.h:24
MRCUDA_API DistanceMap distanceMapFromContours(const MR::Polyline2 &polyline, const ContourToDistanceMapParams &params)
Computes distance of 2d contours according to ContourToDistanceMapParams (works correctly only when w...
MRCUDA_API size_t distanceMapFromContoursHeapBytes(const MR::Polyline2 &polyline, const ContourToDistanceMapParams &params)
Computes memory consumption of distanceMapFromContours function.
Definition MRCameraOrientationPlugin.h:8
Structure with parameters to generate DistanceMap by Contours.
Definition MRDistanceMapParams.h:94