MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / runShell

Function runShell

source/MRVoxels/MRWeightedPointsShell.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68template <typename T, typename F>
69Expected<Mesh> runShell( const T& meshOrCloud, const ParametersMetric& params, const F& buildDistanceField )
70{
71 auto bbox = meshOrCloud.getBoundingBox();
72 auto dfParams = getDistanceFieldParams( bbox, params );
73 auto mcParams = getMarchingCubesParams( bbox, params );
74 auto df = buildDistanceField( meshOrCloud, dfParams );
75 return marchingCubes( df, mcParams );
76}
77
78template <typename F>
79Expected<Mesh> runShell( const Mesh& mesh, const ParametersRegions& params, const F& buildDistanceField )

Callers 2

pointsShellFunction · 0.85
meshShellFunction · 0.85

Calls 7

getDistanceFieldParamsFunction · 0.85
getMarchingCubesParamsFunction · 0.85
marchingCubesFunction · 0.85
maxFunction · 0.85
getBoundingBoxMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected