MeshLib Documentation
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
9{
12 float minNewVertDev = 0;
20 float offset = 0;
27 int posSelIters = 3;
29 UndirectedEdgeBitSet * outSharpEdges = nullptr;
30};
31
36MRMESH_API void sharpenMarchingCubesMesh( const MeshPart & ref, Mesh & vox, Vector<VoxelId, FaceId> & face2voxel,
37 const SharpenMarchingCubesMeshSettings & settings );
38
39} //namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::vector<T>-like container that requires specific indexing type,
Definition MRMesh/MRVector.h:20
Definition MRCameraOrientationPlugin.h:8
MRMESH_API void sharpenMarchingCubesMesh(const MeshPart &ref, Mesh &vox, Vector< VoxelId, FaceId > &face2voxel, const SharpenMarchingCubesMeshSettings &settings)
Definition MRMesh/MRMesh.h:23
Definition MRSharpenMarchingCubesMesh.h:9
UndirectedEdgeBitSet * outSharpEdges
if non-null then created sharp edges will be saved here
Definition MRSharpenMarchingCubesMesh.h:29
float maxOldVertPosCorrection
Definition MRSharpenMarchingCubesMesh.h:24
float offset
relative to reference mesh
Definition MRSharpenMarchingCubesMesh.h:20
float minNewVertDev
Definition MRSharpenMarchingCubesMesh.h:12
float maxNewRank2VertDev
Definition MRSharpenMarchingCubesMesh.h:15
float maxNewRank3VertDev
Definition MRSharpenMarchingCubesMesh.h:18
int posSelIters
Definition MRSharpenMarchingCubesMesh.h:27