OGS
createMaterialIDsBasedSubMesh.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <memory>
7#include <string>
8#include <vector>
9
10namespace MeshLib
11{
12class Mesh;
13
14std::unique_ptr<MeshLib::Mesh> createMaterialIDsBasedSubMesh(
15 MeshLib::Mesh const& mesh, std::vector<int> const& material_ids,
16 std::string const& name_for_created_mesh);
17
18} // namespace MeshLib
std::unique_ptr< MeshLib::Mesh > createMaterialIDsBasedSubMesh(MeshLib::Mesh const &mesh, std::vector< int > const &material_ids, std::string const &name_for_created_mesh)