OGS
GocadAsciiReader.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
10
#include "
Applications/FileIO/GocadIO/GocadEnums.h
"
11
12
namespace
MeshLib
13
{
14
class
Mesh
;
15
}
16
17
namespace
FileIO
18
{
19
namespace
Gocad
20
{
21
namespace
GocadAsciiReader
22
{
23
25
bool
readFile
(std::string
const
& file_name,
26
std::vector<std::unique_ptr<MeshLib::Mesh>>& meshes,
27
DataType
const
export_type =
DataType::ALL
);
28
29
}
// namespace GocadAsciiReader
30
}
// end namespace Gocad
31
}
// end namespace FileIO
GocadEnums.h
MeshLib::Mesh
Definition
Mesh.h:34
FileIO::Gocad::GocadAsciiReader
Definition
GocadAsciiReader.cpp:23
FileIO::Gocad::GocadAsciiReader::readFile
bool readFile(std::string const &file_name, std::vector< std::unique_ptr< MeshLib::Mesh > > &meshes, DataType const export_type)
Reads the specified file and writes data into internal mesh vector.
Definition
GocadAsciiReader.cpp:651
FileIO::Gocad
Definition
Applications/FileIO/GocadIO/CoordinateSystem.cpp:15
FileIO::Gocad::DataType
DataType
Definition
GocadEnums.h:13
FileIO::Gocad::DataType::ALL
@ ALL
Definition
GocadEnums.h:19
FileIO
Definition
SHPImportDialog.h:8
MeshLib
Definition
ProjectData.h:30
Applications
FileIO
GocadIO
GocadAsciiReader.h
Generated by
1.14.0