swh:1:snp:6088ab52ef49920e01e3f334cdf4d5d6c8a822b9
Raw File
Tip revision: d2411660f275bbc469428cbc643274f740aa03a9 authored by Tom Fischer on 05 September 2021, 20:09:32 UTC
Merge branch 'MoveGetNodeToTemplateElement' into 'master'
Tip revision: d241166
GocadAsciiReader.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2021, 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>

#include "Applications/FileIO/GocadIO/GocadEnums.h"

namespace MeshLib
{
    class Mesh;
}

namespace FileIO
{
namespace Gocad
{
namespace GocadAsciiReader
{

/// Reads the specified file and writes data into internal mesh vector
bool readFile(std::string const& file_name,
              std::vector<std::unique_ptr<MeshLib::Mesh>>& meshes,
              DataType const export_type = DataType::ALL);

}  // namespace GocadAsciiReader
}  // end namespace Gocad
}  // end namespace FileIO
back to top