10#include "MantidDataHandling/DllConfig.h"
19namespace DataHandling {
26 const std::string
name()
const override {
return "SaveSampleEnvironmentAndShape"; }
28 const std::string
summary()
const override {
29 return "The algorithm saves the environment and sample shape from the "
34 int version()
const override {
return 1; }
36 const std::vector<std::string>
seeAlso()
const override {
37 return {
"LoadSampleEnvironment",
"SetSampleMaterial",
"LoadSampleShape"};
40 const std::string
category()
const override {
return "DataHandling\\Instrument"; }
50 const std::vector<const Geometry::MeshObject *> &environmentPieces);
Base class from which all concrete algorithm classes should be derived.
Save the Shape of the sample and environment into a single binary .stl file.
std::vector< Kernel::V3D > m_vertices
std::vector< uint32_t > m_triangle
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Related algorithms.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
IObject : Interface for geometry objects.
const Mantid::Geometry::MeshObject & toMeshObject(const Mantid::Geometry::IObject &object)
Function to convert an IObject to a mesh, and throw if this can't be done.
Helper class which provides the Collimation Length for SANS instruments.