Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Mantid::DataHandling::LoadSingleMesh Class Referenceabstract

#include <LoadSingleMesh.h>

Inheritance diagram for Mantid::DataHandling::LoadSingleMesh:
Mantid::DataHandling::MeshFileIO Mantid::DataHandling::LoadOff Mantid::DataHandling::LoadStl Mantid::DataHandling::LoadAsciiStl Mantid::DataHandling::LoadBinaryStl

Public Member Functions

 LoadSingleMesh (std::string filename, std::ios_base::openmode mode, ScaleUnits scaleType)
 
virtual std::unique_ptr< Geometry::MeshObjectreadShape ()=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::MeshObjectrotate (std::shared_ptr< Geometry::MeshObject > environmentMesh, double xRotation, double yRotation, double zRotation)
 Rotates the environment by a generated matrix. More...
 
std::shared_ptr< Geometry::MeshObjecttranslate (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::V3Dm_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)
 

Detailed Description

Definition at line 23 of file LoadSingleMesh.h.

Constructor & Destructor Documentation

◆ LoadSingleMesh()

Mantid::DataHandling::LoadSingleMesh::LoadSingleMesh ( std::string  filename,
std::ios_base::openmode  mode,
ScaleUnits  scaleType 
)

◆ ~LoadSingleMesh()

Mantid::DataHandling::LoadSingleMesh::~LoadSingleMesh ( )
virtual

Definition at line 19 of file LoadSingleMesh.cpp.

References m_file.

Member Function Documentation

◆ readShape()

virtual std::unique_ptr< Geometry::MeshObject > Mantid::DataHandling::LoadSingleMesh::readShape ( )
pure virtual

Member Data Documentation

◆ m_file

std::ifstream Mantid::DataHandling::LoadSingleMesh::m_file
protected

◆ m_filename

const std::string Mantid::DataHandling::LoadSingleMesh::m_filename
protected

The documentation for this class was generated from the following files: