Classes | |
struct | DistMapImproveDirectionParameters |
struct | ImproveDirectionParameters |
Typedefs | |
using | UndercutMetric = std::function<double( const FaceBitSet&, const Vector3f& upDir )> |
Functions | |
MRVOXELS_API void | fixUndercuts (Mesh &mesh, const Vector3f &upDirection, float voxelSize=0.0f, float bottomExtension=0.0f) |
MRVOXELS_API void | fixUndercuts (Mesh &mesh, const FaceBitSet &selectedArea, const Vector3f &upDirection, float voxelSize=0.0f, float bottomExtension=0.0f) |
MRVOXELS_API UndercutMetric | getUndercutAreaMetric (const Mesh &mesh) |
returns the metric that computes total area of undercut faces | |
MRVOXELS_API UndercutMetric | getUndercutAreaProjectionMetric (const Mesh &mesh) |
returns the metric that computes summed absolute area of undercut faces as visible if look from upDir | |
MRVOXELS_API void | findUndercuts (const Mesh &mesh, const Vector3f &upDirection, FaceBitSet &outUndercuts) |
Adds to. | |
MRVOXELS_API void | findUndercuts (const Mesh &mesh, const Vector3f &upDirection, VertBitSet &outUndercuts) |
Adds to. | |
MRVOXELS_API double | findUndercuts (const Mesh &mesh, const Vector3f &upDirection, FaceBitSet &outUndercuts, const UndercutMetric &metric) |
MRVOXELS_API double | scoreUndercuts (const Mesh &mesh, const Vector3f &upDirection, const Vector2i &resolution) |
MRVOXELS_API Vector3f | improveDirection (const Mesh &mesh, const ImproveDirectionParameters ¶ms, const UndercutMetric &metric) |
MRVOXELS_API Vector3f | distMapImproveDirection (const Mesh &mesh, const DistMapImproveDirectionParameters ¶ms) |
using MR::FixUndercuts::UndercutMetric = std::function<double( const FaceBitSet&, const Vector3f& upDir )> |
|
nodiscard |
MRVOXELS_API void MR::FixUndercuts::findUndercuts | ( | const Mesh & | mesh, |
const Vector3f & | upDirection, | ||
FaceBitSet & | outUndercuts ) |
Adds to.
outUndercuts | undercut faces |
|
nodiscard |
Adds to
outUndercuts | undercut faces Returns summary metric of undercut faces |
MRVOXELS_API void MR::FixUndercuts::findUndercuts | ( | const Mesh & | mesh, |
const Vector3f & | upDirection, | ||
VertBitSet & | outUndercuts ) |
Adds to.
outUndercuts | undercut vertices |
MRVOXELS_API void MR::FixUndercuts::fixUndercuts | ( | Mesh & | mesh, |
const FaceBitSet & | selectedArea, | ||
const Vector3f & | upDirection, | ||
float | voxelSize = 0.0f, | ||
float | bottomExtension = 0.0f ) |
MRVOXELS_API void MR::FixUndercuts::fixUndercuts | ( | Mesh & | mesh, |
const Vector3f & | upDirection, | ||
float | voxelSize = 0.0f, | ||
float | bottomExtension = 0.0f ) |
|
nodiscard |
returns the metric that computes total area of undercut faces
|
nodiscard |
returns the metric that computes summed absolute area of undercut faces as visible if look from upDir
|
nodiscard |
|
nodiscard |