Mantid
Loading...
Searching...
No Matches
Framework
DataHandling
inc
MantidDataHandling
LoadOff.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2019 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
#include "
MantidDataHandling/LoadSingleMesh.h
"
9
#include "
MantidDataHandling/ReadMaterial.h
"
10
#include "
MantidKernel/Logger_fwd.h
"
11
12
#include <functional>
13
#include <unordered_set>
14
15
namespace
Mantid
{
16
17
namespace
Geometry {
18
class
MeshObject;
19
}
20
namespace
DataHandling {
21
22
class
MANTID_DATAHANDLING_DLL
LoadOff
:
public
LoadSingleMesh
{
23
public
:
24
LoadOff
(
const
std::string &filename,
ScaleUnits
scaleType);
25
std::unique_ptr<Geometry::MeshObject> readShape()
override
;
26
27
private
:
28
std::unique_ptr<Geometry::MeshObject> readOFFMeshObject();
29
bool
getOFFline(std::string &line);
30
void
readOFFVertices();
31
void
readOFFTriangles();
32
33
uint32_t
m_nVertices
;
34
uint32_t
m_nTriangles
;
35
};
36
}
// namespace DataHandling
37
}
// namespace Mantid
LoadSingleMesh.h
Logger_fwd.h
ReadMaterial.h
Mantid::DataHandling::LoadOff
Definition
LoadOff.h:22
Mantid::DataHandling::LoadOff::m_nTriangles
uint32_t m_nTriangles
Definition
LoadOff.h:34
Mantid::DataHandling::LoadOff::m_nVertices
uint32_t m_nVertices
Definition
LoadOff.h:33
Mantid::DataHandling::LoadSingleMesh
Definition
LoadSingleMesh.h:23
Mantid::DataHandling::ScaleUnits
ScaleUnits
Definition
MeshFileIO.h:21
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8