Mantid
Loading...
Searching...
No Matches
PeakShapeEllipsoidFactory.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
9#include "PeakShapeFactory.h"
10
11namespace Mantid {
12namespace DataObjects {
13
16class MANTID_DATAOBJECTS_DLL PeakShapeEllipsoidFactory : public PeakShapeFactory {
17public:
18 // PeakShapeFactory interface
19
20 Mantid::Geometry::PeakShape *create(const std::string &source) const override;
21 void setSuccessor(std::shared_ptr<const PeakShapeFactory> successorFactory) override;
22
23private:
26};
27
28} // namespace DataObjects
29} // namespace Mantid
PeakShapeEllipsoidFactory : Create ellipsoid peak shapes.
PeakShapeFactory_const_sptr m_successor
Successor factory.
PeakShapeFactory : Factory for creating peak shapes.
PeakShape : Abstract type to describes the shape of a peak.
Definition: PeakShape.h:20
std::shared_ptr< const PeakShapeFactory > PeakShapeFactory_const_sptr
Helper typedef.
std::unique_ptr< T > create(const P &parent, const IndexArg &indexArg, const HistArg &histArg)
This is the create() method that all the other create() methods call.
Helper class which provides the Collimation Length for SANS instruments.