#include <LoadAsciiStl.h>
|
| LoadAsciiStl (std::string filename, ScaleUnits scaleType) |
|
| LoadAsciiStl (std::string filename, ScaleUnits scaleType, ReadMaterial::MaterialParameters params) |
|
std::unique_ptr< Geometry::MeshObject > | readShape () override |
|
Public Member Functions inherited from Mantid::DataHandling::LoadStl |
| LoadStl (std::string filename, std::ios_base::openmode mode, ScaleUnits scaleType) |
|
| LoadStl (std::string filename, std::ios_base::openmode mode, ScaleUnits scaleType, ReadMaterial::MaterialParameters params) |
|
virtual | ~LoadStl ()=default |
|
Public Member Functions inherited from Mantid::DataHandling::LoadSingleMesh |
| LoadSingleMesh (std::string filename, std::ios_base::openmode mode, ScaleUnits scaleType) |
|
virtual std::unique_ptr< Geometry::MeshObject > | readShape ()=0 |
|
virtual | ~LoadSingleMesh () |
|
Public Member Functions inherited from Mantid::DataHandling::MeshFileIO |
Kernel::V3D | createScaledV3D (double xVal, double yVal, double zVal) |
| scales a 3D point according the units defined in the MeshFileIO class More...
|
|
ScaleUnits | getScaleType () |
|
std::shared_ptr< Geometry::MeshObject > | rotate (std::shared_ptr< Geometry::MeshObject > environmentMesh, double xRotation, double yRotation, double zRotation) |
| Rotates the environment by a generated matrix. More...
|
|
std::shared_ptr< Geometry::MeshObject > | translate (std::shared_ptr< Geometry::MeshObject > environmentMesh, const std::vector< double > &translationVector) |
| translates the environment by a provided matrix More...
|
|
|
static bool | isAsciiSTL (const std::string &filename) |
|
Definition at line 23 of file LoadAsciiStl.h.
◆ LoadAsciiStl() [1/2]
Mantid::DataHandling::LoadAsciiStl::LoadAsciiStl |
( |
std::string |
filename, |
|
|
ScaleUnits |
scaleType |
|
) |
| |
|
inline |
◆ LoadAsciiStl() [2/2]
◆ isAsciiSTL()
bool Mantid::DataHandling::LoadAsciiStl::isAsciiSTL |
( |
const std::string & |
filename | ) |
|
|
static |
◆ readShape()
Implements Mantid::DataHandling::LoadSingleMesh.
Definition at line 25 of file LoadAsciiStl.cpp.
References Mantid::DataHandling::LoadStl::areEqualVertices(), Mantid::DataHandling::ReadMaterial::buildMaterial(), Mantid::DataHandling::LoadStl::changeToVector(), Mantid::DataHandling::LoadSingleMesh::m_file, m_lineNumber, Mantid::DataHandling::LoadStl::m_params, Mantid::DataHandling::LoadStl::m_setMaterial, Mantid::DataHandling::MeshFileIO::m_triangle, Mantid::DataHandling::MeshFileIO::m_vertices, readSTLTriangle(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), and Mantid::DataHandling::LoadStl::vertexSet.
◆ readSTLLine()
bool Mantid::DataHandling::LoadAsciiStl::readSTLLine |
( |
std::ifstream & |
file, |
|
|
std::string const & |
type |
|
) |
| |
|
private |
◆ readSTLTriangle()
◆ readSTLVertex()
bool Mantid::DataHandling::LoadAsciiStl::readSTLVertex |
( |
std::ifstream & |
file, |
|
|
Kernel::V3D & |
vertex |
|
) |
| |
|
private |
◆ m_lineNumber
int Mantid::DataHandling::LoadAsciiStl::m_lineNumber = 0 |
|
private |
The documentation for this class was generated from the following files: