MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshOverhangs.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRVector3.h"
5#include "MRExpected.h"
6
7namespace MR
8{
11
12
15{
17 Vector3f axis{ Vector3f::plusZ() };
19 float layerHeight { 1.f };
21 float maxOverhangDistance { 1.f };
23 int hops = 0;
25 const AffineXf3f* xf = nullptr;
26 ProgressCallback progressCb;
27};
28
34
35}
Vector3f axis
base axis marking the up direction
Definition MRMeshOverhangs.h:17
ProgressCallback progressCb
Definition MRMeshOverhangs.h:26
const AffineXf3f * xf
mesh transform
Definition MRMeshOverhangs.h:25
tl::expected< T, E > Expected
Definition MRExpected.h:31
float maxOverhangDistance
maximum allowed overhang distance within a layer
Definition MRMeshOverhangs.h:21
float layerHeight
height of a layer
Definition MRMeshOverhangs.h:19
int hops
number of hops used to smooth out the overhang regions (0 - disable smoothing)
Definition MRMeshOverhangs.h:23
MRMESH_API Expected< std::vector< FaceBitSet > > findOverhangs(const Mesh &mesh, const FindOverhangsSettings &settings)
Find face regions that might create overhangs.
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
parameters for MR::findOverhangs
Definition MRMeshOverhangs.h:15
Definition MRMesh.h:23