Mantid
Loading...
Searching...
No Matches
PeakTransformHKL.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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
12namespace Mantid {
13namespace Geometry {
18class MANTID_GEOMETRY_DLL PeakTransformHKL : public PeakTransform {
19public:
20 static std::string name() { return "HKL"; }
24 PeakTransformHKL(const std::string &xPlotLabel, const std::string &yPlotLabel);
26 PeakTransform_sptr clone() const override;
28 Mantid::Kernel::V3D transformPeak(const Mantid::Geometry::IPeak &peak) const override;
30 std::string getFriendlyName() const override { return name(); }
32 Mantid::Kernel::SpecialCoordinateSystem getCoordinateSystem() const override;
33};
34
37} // namespace Geometry
38} // namespace Mantid
Concrete PeakTransformFactory producing PeakTransforms of type provided by type argument.
Structure describing a single-crystal peak.
Definition: IPeak.h:26
Used to remap coordinates into a form consistent with an axis reordering.
std::string getFriendlyName() const override
Getter for a friendly name to describe the transform type.
Used to remap coordinates into a form consistent with an axis reordering.
Definition: PeakTransform.h:21
Class for 3D vectors.
Definition: V3D.h:34
std::shared_ptr< PeakTransform > PeakTransform_sptr
Typedef for a PeakTransform wrapped in a shared_pointer.
Definition: PeakTransform.h:59
SpecialCoordinateSystem
Special coordinate systems for Q3D.
Helper class which provides the Collimation Length for SANS instruments.