Mantid
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Mantid::Geometry::PeakShape Class Referenceabstract

PeakShape : Abstract type to describes the shape of a peak. More...

#include <PeakShape.h>

Inheritance diagram for Mantid::Geometry::PeakShape:
Mantid::DataObjects::NoShape Mantid::DataObjects::PeakShapeBase Mantid::DataObjects::PeakShapeEllipsoid Mantid::DataObjects::PeakShapeSpherical

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 PeakShapeclone () 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...
 

Detailed Description

PeakShape : Abstract type to describes the shape of a peak.

Definition at line 20 of file PeakShape.h.

Member Enumeration Documentation

◆ RadiusType

For selecting different radius types.

Enumerator
Radius 
OuterRadius 
InnerRadius 

Definition at line 35 of file PeakShape.h.

Constructor & Destructor Documentation

◆ ~PeakShape()

virtual Mantid::Geometry::PeakShape::~PeakShape ( )
virtualdefault

Destructor.

Member Function Documentation

◆ algorithmName()

virtual std::string Mantid::Geometry::PeakShape::algorithmName ( ) const
pure virtual

◆ algorithmVersion()

virtual int Mantid::Geometry::PeakShape::algorithmVersion ( ) const
pure virtual

Algorithm Version.

Implemented in Mantid::DataObjects::NoShape, and Mantid::DataObjects::PeakShapeBase.

Referenced by export_PeakShape().

◆ clone()

virtual PeakShape * Mantid::Geometry::PeakShape::clone ( ) const
pure virtual

◆ frame()

virtual Mantid::Kernel::SpecialCoordinateSystem Mantid::Geometry::PeakShape::frame ( ) const
pure virtual

Coordinte frame used upon creation.

Implemented in Mantid::DataObjects::NoShape, and Mantid::DataObjects::PeakShapeBase.

◆ radius()

virtual boost::optional< double > Mantid::Geometry::PeakShape::radius ( RadiusType  type) const
pure virtual

◆ shapeName()

virtual std::string Mantid::Geometry::PeakShape::shapeName ( ) const
pure virtual

◆ toJSON()

virtual std::string Mantid::Geometry::PeakShape::toJSON ( ) const
pure virtual

The documentation for this class was generated from the following file: