16using VoxelPointPositioner = std::function<Vector3f(
const Vector3f&,
const Vector3f&,
float,
float,
float )>;
18struct MarchingCubesParams
45 enum class CachingMode
54 } cachingMode = CachingMode::Automatic;
60 MR_BIND_PREFER_UNLOCK_GIL_WHEN_USED_AS_PARAM
91class MarchingCubesByParts
116 std::unique_ptr<Impl> impl_;
#define MRVOXELS_API
Definition MRVoxelsFwd.h:14
unsafe MR.TriMesh finalize()
unsafe void addPart(MR.Const_SimpleVolume part)
unsafe MarchingCubesByParts(MR._ByValue_MarchingCubesByParts s)
Definition MRMarchingCubes.h:19
new unsafe ref MR.Vector3f origin
new unsafe ref bool lessInside
new unsafe MR.Std.Function_BoolFuncFromFloat cb
new unsafe MR.Std.Function_VoidFunc freeVolume
new unsafe ref int maxVertices
new unsafe MR.? Vector_MRVoxelId_MRFaceId outVoxelPerFaceMap
new unsafe MR.Std.Function_MRVector3fFuncFromConstMRVector3fRefConstMRVector3fRefFloatFloatFloat positioner
Definition MRCameraOrientationPlugin.h:8
MRMESH_API double volume(const MeshTopology &topology, const VertCoords &points, const FaceBitSet *region=nullptr)
MRVOXELS_API Expected< Mesh > marchingCubes(const SimpleVolume &volume, const MarchingCubesParams ¶ms={})
MRVOXELS_API Expected< TriMesh > marchingCubesAsTriMesh(const SimpleVolume &volume, const MarchingCubesParams ¶ms={})