MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSharpenMarchingCubesMesh.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4
5namespace MR
6{
7
8struct SharpenMarchingCubesMeshSettings
9{
12 float minNewVertDev = 0;
15 float maxNewRank2VertDev = 0;
18 float maxNewRank3VertDev = 0;
20 float offset = 0;
27 int posSelIters = 3;
29 UndirectedEdgeBitSet * outSharpEdges = nullptr;
30};
31
37 const SharpenMarchingCubesMeshSettings & settings );
38
39} //namespace MR
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMesh/MRMesh.h:23
Definition MRSharpenMarchingCubesMesh.h:9
new unsafe ref float minNewVertDev
new unsafe ref float maxOldVertPosCorrection
new unsafe MR.? UndirectedEdgeBitSet outSharpEdges
new unsafe ref float maxNewRank2VertDev
new unsafe ref float maxNewRank3VertDev
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:19
Definition MRCameraOrientationPlugin.h:8
MRMESH_API void sharpenMarchingCubesMesh(const MeshPart &ref, Mesh &vox, Vector< VoxelId, FaceId > &face2voxel, const SharpenMarchingCubesMeshSettings &settings)