Go to the source code of this file.
Classes | |
struct | MR::MergeVolumePartSettings |
Parameters' structure for MR::mergeVolumePart. More... | |
struct | MR::VolumeToMeshByPartsSettings |
Parameters' structure for MR::volumeToMeshByParts. More... | |
Namespaces | |
namespace | MR |
Typedefs | |
template<typename Volume > | |
using | MR::VolumePartBuilder = std::function<Expected<Volume> ( int begin, int end, std::optional<Vector3i>& offset )> |
Functions | |
template<typename Volume > | |
Expected< void > | MR::mergeVolumePart (Mesh &mesh, std::vector< EdgePath > &cutContours, Volume &&volume, float leftCutPosition, float rightCutPosition, const MergeVolumePartSettings &settings={}) |
Merge one mesh with another generated from a voxel volume part. | |
template<typename Volume > | |
Expected< Mesh > | MR::volumeToMeshByParts (const VolumePartBuilder< Volume > &builder, const Vector3i &dimensions, const Vector3f &voxelSize, const VolumeToMeshByPartsSettings &settings={}, const MergeVolumePartSettings &mergeSettings={}) |
converts a voxel volume into a mesh without full memory loading | |