Mantid
|
PeakShapeNone : No peak shape. More...
#include <NoShape.h>
Public Member Functions | |
std::string | algorithmName () const override |
Return the algorithn name. More... | |
int | algorithmVersion () const override |
Return the algorithm version. More... | |
NoShape * | clone () const override |
Clone. More... | |
Kernel::SpecialCoordinateSystem | frame () const override |
Get the coordinate frame. More... | |
boost::optional< double > | radius (RadiusType) const override |
Radius. More... | |
std::string | shapeName () const override |
Return the shape name. More... | |
std::string | toJSON () const override |
Serialize. More... | |
Public Member Functions inherited from Mantid::Geometry::PeakShape | |
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... | |
Static Public Member Functions | |
static const std::string | noShapeName () |
Return the shape name. More... | |
Additional Inherited Members | |
Public Types inherited from Mantid::Geometry::PeakShape | |
enum | RadiusType { Radius = 0 , OuterRadius = 1 , InnerRadius = 2 } |
For selecting different radius types. More... | |
PeakShapeNone : No peak shape.
Null Object. For unintegrated peaks.
|
overridevirtual |
Return the algorithn name.
Implements Mantid::Geometry::PeakShape.
Definition at line 33 of file NoShape.cpp.
|
overridevirtual |
Return the algorithm version.
Implements Mantid::Geometry::PeakShape.
Definition at line 35 of file NoShape.cpp.
|
overridevirtual |
Clone.
Clone object as deep copy.
Implements Mantid::Geometry::PeakShape.
Definition at line 31 of file NoShape.cpp.
|
overridevirtual |
Get the coordinate frame.
Implements Mantid::Geometry::PeakShape.
Definition at line 43 of file NoShape.cpp.
References Mantid::Kernel::None.
|
static |
|
inlineoverridevirtual |
|
overridevirtual |
Return the shape name.
Return the unique shape name associated with this type.
Implements Mantid::Geometry::PeakShape.
Definition at line 41 of file NoShape.cpp.
References noShapeName().
Referenced by toJSON().
|
overridevirtual |
Serialize.
Serialize to JSON object.
Implements Mantid::Geometry::PeakShape.
Definition at line 18 of file NoShape.cpp.
References shapeName().