MeshLib C Docs
Loading...
Searching...
No Matches
MRFillContourByGraphCut.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9typedef struct MR_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
10typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
11typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
12typedef struct MR_std_function_float_from_MR_EdgeId MR_std_function_float_from_MR_EdgeId; // Defined in `#include <MRCMisc/std_function_float_from_MR_EdgeId.h>`.
13typedef struct MR_std_vector_MR_EdgeId MR_std_vector_MR_EdgeId; // Defined in `#include <MRCMisc/std_vector_MR_EdgeId.h>`.
14typedef struct MR_std_vector_std_vector_MR_EdgeId MR_std_vector_std_vector_MR_EdgeId; // Defined in `#include <MRCMisc/std_vector_std_vector_MR_EdgeId.h>`.
15
16
30
44
59
60#ifdef __cplusplus
61} // extern "C"
62#endif
struct MR_std_vector_std_vector_MR_EdgeId MR_std_vector_std_vector_MR_EdgeId
Definition MR2DContoursTriangulation.h:19
struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:16
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTreeBase.h:25
struct MR_std_vector_MR_EdgeId MR_std_vector_MR_EdgeId
Definition MRContoursStitch.h:11
struct MR_std_function_float_from_MR_EdgeId MR_std_function_float_from_MR_EdgeId
Definition MREdgeMetric.h:12
MRC_API MR_FaceBitSet * MR_segmentByGraphCut(const MR_MeshTopology *topology, const MR_FaceBitSet *source, const MR_FaceBitSet *sink, const MR_std_function_float_from_MR_EdgeId *metric, const MR_std_function_bool_from_float *progress)
Finds segment that divide mesh on source and sink (source included, sink excluded),...
MRC_API MR_FaceBitSet * MR_fillContourLeftByGraphCut_std_vector_MR_EdgeId(const MR_MeshTopology *topology, const MR_std_vector_MR_EdgeId *contour, const MR_std_function_float_from_MR_EdgeId *metric, const MR_std_function_bool_from_float *progress)
Fills region located to the left from given contour, by minimizing the sum of metric over the boundar...
MRC_API MR_FaceBitSet * MR_fillContourLeftByGraphCut_std_vector_std_vector_MR_EdgeId(const MR_MeshTopology *topology, const MR_std_vector_std_vector_MR_EdgeId *contours, const MR_std_function_float_from_MR_EdgeId *metric, const MR_std_function_bool_from_float *progress)
Fills region located to the left from given contours, by minimizing the sum of metric over the bounda...
#define MRC_API
Definition exports.h:11