Mantid
Loading...
Searching...
No Matches
SetMDFrame.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
11#include "MantidMDAlgorithms/DllConfig.h"
12
13namespace Mantid {
14namespace MDAlgorithms {
15
20class MANTID_MDALGORITHMS_DLL SetMDFrame final : public API::Algorithm {
21public:
22 static const std::string mdFrameSpecifier;
23
24 const std::string name() const override;
25 int version() const override;
26 const std::string category() const override;
27 const std::string summary() const override;
28 std::map<std::string, std::string> validateInputs() override;
29
30private:
31 void init() override;
32 void exec() override;
33 Mantid::Geometry::MDFrame_uptr createMDFrame(const std::string &frameSelection,
34 const Mantid::Geometry::MDFrame &oldFrame) const;
35};
36
37} // namespace MDAlgorithms
38} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
MDFrame : The coordinate frame for a dimension, or set of dimensions in a multidimensional workspace.
Definition: MDFrame.h:22
SetMDFrame : This algorithm changes the MDFrame stored alongside the dimension of MDWorkspaes....
Definition: SetMDFrame.h:20
static const std::string mdFrameSpecifier
Definition: SetMDFrame.h:22
std::unique_ptr< MDFrame > MDFrame_uptr
Definition: MDFrame.h:36
Helper class which provides the Collimation Length for SANS instruments.