MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MergeVolumePartSettings Struct Reference

Parameters' structure for MR::mergeVolumePart. More...

#include <MRVoxels/MRVoxelsConversionsByParts.h>

Public Types

using PreCutCallback = std::function<void( Mesh& mesh, float leftCutPosition, float rightCutPosition )>
 callback to process the generated mesh before the side cutting, e.g. fixing specific generation artifacts
using PostCutCallback = std::function<void( Mesh& )>
 callback to process the generated mesh after the side cutting, e.g. decimating
using PostMergeCallback = std::function<void( Mesh&, const PartMapping& )>

Public Attributes

PreCutCallback preCut = nullptr
PostCutCallback postCut = nullptr
PostMergeCallback postMerge = nullptr
PartMapping mapping = {}
 mapping with initialized maps required for the postMerge callback
Vector3f origin = {}
 origin (position of the (0;0;0) voxel) of the voxel volume part, usually specified for SimpleVolume

Detailed Description

Parameters' structure for MR::mergeVolumePart.

See also
mergeVolumePart

The documentation for this struct was generated from the following file: