#include "MRMeshFwd.h"
#include "MRVector3.h"
#include <functional>
Go to the source code of this file.
|
| namespace | MR |
| | only for bindings generation
|
|
| using | MR::FillTriangleMetric = std::function<double( VertId a, VertId b, VertId c )> |
| | args: three vertices of candidate triangle
|
| using | MR::FillEdgeMetric = std::function<double( VertId a, VertId b, VertId l, VertId r )> |
| using | MR::FillCombineMetric = std::function<double( double, double )> |
| | args: two metric weights to combine (usualy it is simple sum of them)
|
|
| double | MR::calcCombinedFillMetric (const Mesh &mesh, const FaceBitSet &filledRegion, const FillHoleMetric &metric) |
| | Computes combined metric after filling a hole.
|
| FillHoleMetric | MR::getCircumscribedMetric (const Mesh &mesh) |
| FillHoleMetric | MR::getPlaneFillMetric (const Mesh &mesh, EdgeId e) |
| FillHoleMetric | MR::getPlaneNormalizedFillMetric (const Mesh &mesh, EdgeId e) |
| FillHoleMetric | MR::getComplexStitchMetric (const Mesh &mesh) |
| FillHoleMetric | MR::getEdgeLengthFillMetric (const Mesh &mesh) |
| | Simple metric minimizing the sum of all edge lengths.
|
| FillHoleMetric | MR::getEdgeLengthStitchMetric (const Mesh &mesh) |
| FillHoleMetric | MR::getVerticalStitchMetric (const Mesh &mesh, const Vector3f &upDir) |
| FillHoleMetric | MR::getVerticalStitchMetricEdgeBased (const Mesh &mesh, const Vector3f &upDir) |
| FillHoleMetric | MR::getComplexFillMetric (const Mesh &mesh, EdgeId e) |
| FillHoleMetric | MR::getParallelPlaneFillMetric (const Mesh &mesh, EdgeId e, const Plane3f *plane=nullptr) |
| | This metric minimizes summary projection of new edges to plane normal, (try do produce edges parallel to plane)
|
| FillHoleMetric | MR::getMaxDihedralAngleMetric (const Mesh &mesh) |
| FillHoleMetric | MR::getUniversalMetric (const Mesh &mesh) |
| FillHoleMetric | MR::getMinTriAngleMetric (const Mesh &mesh) |
| | This metric maximizes the minimal angle among all faces in the triangulation.
|
| FillHoleMetric | MR::getMinAreaMetric (const Mesh &mesh) |