9#include "MantidAPI/DllConfig.h"
36 virtual void setUnitCell(
const std::string &unitCellString) = 0;
39 virtual void setPeaks(
const std::vector<Kernel::V3D> &hkls,
double fwhm,
double height) = 0;
FunctionParameterDecorator.
virtual void setUnitCell(const std::string &unitCellString)=0
Set the function parameters according to the supplied unit cell.
virtual IPeakFunction_sptr getPeakFunction(size_t i) const =0
Returns the profile function stored for the i-th peak.
virtual size_t getPeakCount() const =0
Returns the number of peaks in the function.
virtual void setPeaks(const std::vector< Kernel::V3D > &hkls, double fwhm, double height)=0
Assign several peaks with the same fwhm/height parameters.
virtual void setProfileFunction(const std::string &profileFunction)=0
Sets the name of the profile function used for the reflections.
virtual void addPeak(const Kernel::V3D &hkl, double fwhm, double height)=0
Add a peak with the given parameters.
virtual void setLatticeSystem(const std::string &crystalSystem)=0
A string that names the crystal system.
virtual void clearPeaks()=0
Removes all peaks from the function.
virtual Kernel::V3D getPeakHKL(size_t i) const =0
Returns the Miller indices stored for the i-th peak.
std::shared_ptr< IPeakFunction > IPeakFunction_sptr
std::shared_ptr< IPawleyFunction > IPawleyFunction_sptr
Helper class which provides the Collimation Length for SANS instruments.