https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 9e59e7d8998bd1a82504b6e4aa5cf261387144ad authored by Dmitry Yu. Naumov on 20 July 2023, 10:53:06 UTC
Merge branch 'UpdateFixedTimeSteppingInPrj' into 'master'
Tip revision: 9e59e7d
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