Mantid
|
#include <LoadStl.h>
Public Member Functions | |
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... | |
Protected Member Functions | |
bool | areEqualVertices (Kernel::V3D const &v1, Kernel::V3D const &v2) const |
void | changeToVector () |
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) |
Protected Attributes | |
ReadMaterial::MaterialParameters | m_params |
bool | m_setMaterial |
std::unordered_set< std::pair< Kernel::V3D, uint32_t >, HashV3DPair, V3DTrueComparator > | vertexSet |
Protected Attributes inherited from Mantid::DataHandling::LoadSingleMesh | |
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 |
|
inline |
|
inline |
|
virtualdefault |
|
protected |
Definition at line 15 of file LoadStl.cpp.
References Mantid::Kernel::V3D::norm().
Referenced by Mantid::DataHandling::LoadAsciiStl::readShape().
|
protected |
Definition at line 21 of file LoadStl.cpp.
References Mantid::DataHandling::MeshFileIO::m_vertices, and vertexSet.
Referenced by Mantid::DataHandling::LoadAsciiStl::readShape(), and Mantid::DataHandling::LoadBinaryStl::readShape().
|
protected |
Definition at line 61 of file LoadStl.h.
Referenced by Mantid::DataHandling::LoadAsciiStl::readShape(), and Mantid::DataHandling::LoadBinaryStl::readShape().
|
protected |
Definition at line 60 of file LoadStl.h.
Referenced by Mantid::DataHandling::LoadAsciiStl::readShape(), and Mantid::DataHandling::LoadBinaryStl::readShape().
|
protected |
Definition at line 62 of file LoadStl.h.
Referenced by changeToVector(), Mantid::DataHandling::LoadAsciiStl::readShape(), and Mantid::DataHandling::LoadBinaryStl::readTriangle().