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.h
"
11
#include "
MantidKernel/V3D.h
"
12
13
#include <functional>
14
#include <unordered_set>
15
16
namespace
Mantid
{
17
18
namespace
Geometry {
19
class
MeshObject;
20
}
21
namespace
DataHandling {
22
23
class
MANTID_DATAHANDLING_DLL
LoadOff
:
public
LoadSingleMesh
{
24
public
:
25
LoadOff
(
const
std::string &filename,
ScaleUnits
scaleType);
26
std::unique_ptr<Geometry::MeshObject> readShape()
override
;
27
28
private
:
29
std::unique_ptr<Geometry::MeshObject> readOFFMeshObject();
30
bool
getOFFline(std::string &line);
31
void
readOFFVertices();
32
void
readOFFTriangles();
33
34
uint32_t
m_nVertices
;
35
uint32_t
m_nTriangles
;
36
};
37
}
// namespace DataHandling
38
}
// namespace Mantid
LoadSingleMesh.h
Logger.h
ReadMaterial.h
V3D.h
Mantid::DataHandling::LoadOff
Definition:
LoadOff.h:23
Mantid::DataHandling::LoadOff::m_nTriangles
uint32_t m_nTriangles
Definition:
LoadOff.h:35
Mantid::DataHandling::LoadOff::m_nVertices
uint32_t m_nVertices
Definition:
LoadOff.h:34
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 on Tue Jan 3 2023 11:57:39 for Mantid by
1.9.5