OGS
VoxelGridFromLayeredMeshes.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <array>
14#include <memory>
15#include <utility>
16#include <vector>
17
18namespace MeshLib
19{
20class Mesh;
21}
22
23namespace MathLib
24{
25class Point3d;
26}
27
29{
30
44std::unique_ptr<MeshLib::Mesh> createVoxelFromLayeredMesh(
45 std::pair<MathLib::Point3d, MathLib::Point3d>& extent,
46 std::vector<MeshLib::Mesh const*> const& layers,
47 std::array<double, 3> const cellsize,
48 bool const dilate);
49} // namespace MeshToolsLib::MeshGenerators::VoxelFromLayeredMeshes
std::unique_ptr< MeshLib::Mesh > createVoxelFromLayeredMesh(std::pair< MathLib::Point3d, MathLib::Point3d > &extent, std::vector< MeshLib::Mesh const * > const &layers, std::array< double, 3 > const cellsize, bool const dilate)