21namespace DataHandling {
26 :
LoadStl(
std::move(filename),
std::ios_base::in, scaleType) {}
28 :
LoadStl(
std::move(filename),
std::ios_base::in, scaleType,
std::move(params)) {}
29 std::unique_ptr<Geometry::MeshObject> readShape()
override;
30 static bool isAsciiSTL(
const std::string &filename);
35 bool readSTLVertex(std::ifstream &file,
Kernel::V3D &vertex);
36 bool readSTLLine(std::ifstream &file, std::string
const &type);
LoadAsciiStl(std::string filename, ScaleUnits scaleType, ReadMaterial::MaterialParameters params)
LoadAsciiStl(std::string filename, ScaleUnits scaleType)
Helper class which provides the Collimation Length for SANS instruments.
This struct contains the parameters for constructing a material, and gives them a default value for e...