Mantid
|
#include <LoadSingleMesh.h>
Public Member Functions | |
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... | |
Protected Attributes | |
std::ifstream | m_file |
const std::string | m_filename |
Protected Attributes inherited from Mantid::DataHandling::MeshFileIO | |
ScaleUnits | m_scaleType |
std::vector< uint32_t > | m_triangle |
std::vector< Kernel::V3D > | m_vertices |
Additional Inherited Members | |
Protected Member Functions inherited from Mantid::DataHandling::MeshFileIO | |
MeshFileIO (ScaleUnits scaleType) | |
MeshFileIO (ScaleUnits scaleType, std::vector< uint32_t > triangles, std::vector< Kernel::V3D > vertices) | |
float | removeScale (double value) |
double | scaleValue (double val) |
void | setScaleType (const ScaleUnits scaleType) |
Definition at line 23 of file LoadSingleMesh.h.
Mantid::DataHandling::LoadSingleMesh::LoadSingleMesh | ( | std::string | filename, |
std::ios_base::openmode | mode, | ||
ScaleUnits | scaleType | ||
) |
Definition at line 11 of file LoadSingleMesh.cpp.
References Mantid::Kernel::Logger::error(), Mantid::API::g_log, m_file, and m_filename.
|
virtual |
Definition at line 19 of file LoadSingleMesh.cpp.
References m_file.
|
pure virtual |
|
protected |
Definition at line 31 of file LoadSingleMesh.h.
Referenced by Mantid::DataHandling::LoadOff::getOFFline(), LoadSingleMesh(), Mantid::DataHandling::LoadAsciiStl::readShape(), Mantid::DataHandling::LoadBinaryStl::readShape(), and ~LoadSingleMesh().
|
protected |
Definition at line 30 of file LoadSingleMesh.h.
Referenced by LoadSingleMesh(), Mantid::DataHandling::LoadAsciiStl::readSTLLine(), and Mantid::DataHandling::LoadAsciiStl::readSTLVertex().