MeshLib
 
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
25
31
32} // namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:589
Definition MRCameraOrientationPlugin.h:7
tl::expected< T, E > Expected
Definition MRExpected.h:49
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
static constexpr Vector3 plusZ() noexcept
Definition MRMesh/MRVector3.h:35