https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: f474315c5b0f615dcb5c43d187b6db46969ba5e0 authored by Christoph Lehmann on 11 October 2023, 18:18:22 UTC
Merge branch 'fix-is-linear-output-off-by-one' into 'master'
Tip revision: f474315
createMaterialIDsBasedSubMesh.h
/**
 * \file
 *
 * \copyright
 * Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <memory>
#include <string>
#include <vector>

namespace MeshLib
{
class Mesh;

std::unique_ptr<MeshLib::Mesh> createMaterialIDsBasedSubMesh(
    MeshLib::Mesh const& mesh, std::vector<int> const& material_ids,
    std::string const& name_for_created_mesh);

}  // namespace MeshLib
back to top