MeshLib Documentation
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{
9
12{
14 Vector3f axis{ Vector3f::plusZ() };
16 float layerHeight { 1.f };
18 float maxOverhangDistance { 1.f };
20 int hops = 0;
22 const AffineXf3f* xf = nullptr;
24};
25
31
32} // namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
MRMESH_API Expected< std::vector< FaceBitSet > > findOverhangs(const Mesh &mesh, const FindOverhangsSettings &settings)
Find face regions that might create overhangs.
parameters for MR::findOverhangs
Definition MRMeshOverhangs.h:12
Vector3f axis
base axis marking the up direction
Definition MRMeshOverhangs.h:14
ProgressCallback progressCb
Definition MRMeshOverhangs.h:23
const AffineXf3f * xf
mesh transform
Definition MRMeshOverhangs.h:22
float maxOverhangDistance
maximum allowed overhang distance within a layer
Definition MRMeshOverhangs.h:18
float layerHeight
height of a layer
Definition MRMeshOverhangs.h:16
int hops
number of hops used to smooth out the overhang regions (0 - disable smoothing)
Definition MRMeshOverhangs.h:20
Definition MRMesh/MRMesh.h:23