OGS
GocadAsciiReader.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <memory>
13
#include <string>
14
#include <vector>
15
16
#include "
Applications/FileIO/GocadIO/GocadEnums.h
"
17
18
namespace
MeshLib
19
{
20
class
Mesh;
21
}
22
23
namespace
FileIO
24
{
25
namespace
Gocad
26
{
27
namespace
GocadAsciiReader
28
{
29
31
bool
readFile
(std::string
const
& file_name,
32
std::vector<std::unique_ptr<MeshLib::Mesh>>& meshes,
33
DataType
const
export_type =
DataType::ALL
);
34
35
}
// namespace GocadAsciiReader
36
}
// end namespace Gocad
37
}
// end namespace FileIO
GocadEnums.h
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:657
FileIO::Gocad::DataType
DataType
Definition
GocadEnums.h:20
FileIO::Gocad::DataType::ALL
@ ALL
FileIO
Definition
SHPImportDialog.h:19
MeshLib
Definition
ProjectData.h:41
Applications
FileIO
GocadIO
GocadAsciiReader.h
Generated by
1.10.0