|
Mantid
|
PeakShape : Abstract type to describes the shape of a peak. More...
#include <PeakShape.h>
Public Types | |
| enum | RadiusType { Radius = 0 , OuterRadius = 1 , InnerRadius = 2 } |
| For selecting different radius types. More... | |
Public Member Functions | |
| virtual std::string | algorithmName () const =0 |
| Algorithm. More... | |
| virtual int | algorithmVersion () const =0 |
| Algorithm Version. More... | |
| virtual PeakShape * | clone () const =0 |
| Deep copy this. More... | |
| virtual Mantid::Kernel::SpecialCoordinateSystem | frame () const =0 |
| Coordinte frame used upon creation. More... | |
| virtual boost::optional< double > | radius (RadiusType type) const =0 |
| Radius. More... | |
| virtual std::string | shapeName () const =0 |
| Shape name. More... | |
| virtual std::string | toJSON () const =0 |
| Serialize. More... | |
| virtual | ~PeakShape ()=default |
| Destructor. More... | |
PeakShape : Abstract type to describes the shape of a peak.
Definition at line 20 of file PeakShape.h.
For selecting different radius types.
| Enumerator | |
|---|---|
| Radius | |
| OuterRadius | |
| InnerRadius | |
Definition at line 35 of file PeakShape.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Algorithm.
Implemented in Mantid::DataObjects::NoShape, and Mantid::DataObjects::PeakShapeBase.
Referenced by export_PeakShape().
|
pure virtual |
Algorithm Version.
Implemented in Mantid::DataObjects::NoShape, and Mantid::DataObjects::PeakShapeBase.
Referenced by export_PeakShape().
|
pure virtual |
Deep copy this.
Implemented in Mantid::DataObjects::NoShape, Mantid::DataObjects::PeakShapeEllipsoid, and Mantid::DataObjects::PeakShapeSpherical.
|
pure virtual |
Coordinte frame used upon creation.
Implemented in Mantid::DataObjects::NoShape, and Mantid::DataObjects::PeakShapeBase.
|
pure virtual |
Radius.
Implemented in Mantid::DataObjects::PeakShapeEllipsoid, Mantid::DataObjects::PeakShapeSpherical, and Mantid::DataObjects::NoShape.
|
pure virtual |
Shape name.
Implemented in Mantid::DataObjects::NoShape, Mantid::DataObjects::PeakShapeEllipsoid, and Mantid::DataObjects::PeakShapeSpherical.
Referenced by Mantid::DataObjects::PeakShapeBase::buildCommon(), and export_PeakShape().
|
pure virtual |
Serialize.
Implemented in Mantid::DataObjects::NoShape, Mantid::DataObjects::PeakShapeEllipsoid, and Mantid::DataObjects::PeakShapeSpherical.
Referenced by export_PeakShape(), Mantid::DataObjects::LeanElasticPeaksWorkspace::saveNexus(), and Mantid::DataObjects::PeaksWorkspace::saveNexus().