Mantid
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Mantid::Geometry::QLab Class Reference

QLab : Q in the lab frame MDFrame. More...

#include <QLab.h>

Inheritance diagram for Mantid::Geometry::QLab:
Mantid::Geometry::MDFrame

Public Member Functions

bool canConvertTo (const Mantid::Kernel::MDUnit &otherUnit) const override
 
QLabclone () const override
 
Mantid::Kernel::SpecialCoordinateSystem equivalientSpecialCoordinateSystem () const override
 
const Mantid::Kernel::MDUnitgetMDUnit () const override
 
Mantid::Kernel::UnitLabel getUnitLabel () const override
 
bool isQ () const override
 
bool isSameType (const MDFrame &frame) const override
 
std::string name () const override
 
 QLab ()
 Constructor. More...
 
bool setMDUnit (const Mantid::Kernel::MDUnit &newUnit) override
 
- Public Member Functions inherited from Mantid::Geometry::MDFrame
virtual bool canConvertTo (const Mantid::Kernel::MDUnit &otherUnit) const =0
 
virtual MDFrameclone () const =0
 
virtual Mantid::Kernel::SpecialCoordinateSystem equivalientSpecialCoordinateSystem () const =0
 
virtual const Mantid::Kernel::MDUnitgetMDUnit () const =0
 
virtual Mantid::Kernel::UnitLabel getUnitLabel () const =0
 
virtual bool isQ () const =0
 
virtual bool isSameType (const MDFrame &frame) const =0
 
virtual std::string name () const =0
 
virtual bool setMDUnit (const Mantid::Kernel::MDUnit &newUnit)=0
 
virtual ~MDFrame ()=default
 

Static Public Attributes

static const std::string QLabName = "QLab"
 

Private Attributes

const std::unique_ptr< const Mantid::Kernel::MDUnitm_unit
 Fixed to be inverse angstroms. More...
 

Detailed Description

QLab : Q in the lab frame MDFrame.

Definition at line 21 of file QLab.h.

Constructor & Destructor Documentation

◆ QLab()

Mantid::Geometry::QLab::QLab ( )

Constructor.

Definition at line 15 of file QLab.cpp.

Referenced by clone().

Member Function Documentation

◆ canConvertTo()

bool Mantid::Geometry::QLab::canConvertTo ( const Mantid::Kernel::MDUnit otherUnit) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 28 of file QLab.cpp.

References m_unit.

◆ clone()

QLab * Mantid::Geometry::QLab::clone ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 38 of file QLab.cpp.

References QLab().

◆ equivalientSpecialCoordinateSystem()

Mantid::Kernel::SpecialCoordinateSystem Mantid::Geometry::QLab::equivalientSpecialCoordinateSystem ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 40 of file QLab.cpp.

References Mantid::Kernel::QLab.

◆ getMDUnit()

const Kernel::MDUnit & Mantid::Geometry::QLab::getMDUnit ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 24 of file QLab.cpp.

References m_unit.

◆ getUnitLabel()

Kernel::UnitLabel Mantid::Geometry::QLab::getUnitLabel ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 19 of file QLab.cpp.

References m_unit.

◆ isQ()

bool Mantid::Geometry::QLab::isQ ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 44 of file QLab.cpp.

◆ isSameType()

bool Mantid::Geometry::QLab::isSameType ( const MDFrame frame) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 46 of file QLab.cpp.

References isSameType(), tmp, and UNUSED_ARG.

Referenced by isSameType().

◆ name()

std::string Mantid::Geometry::QLab::name ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 36 of file QLab.cpp.

References QLabName.

◆ setMDUnit()

bool Mantid::Geometry::QLab::setMDUnit ( const Mantid::Kernel::MDUnit newUnit)
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 26 of file QLab.cpp.

Member Data Documentation

◆ m_unit

const std::unique_ptr<const Mantid::Kernel::MDUnit> Mantid::Geometry::QLab::m_unit
private

Fixed to be inverse angstroms.

Definition at line 39 of file QLab.h.

Referenced by canConvertTo(), getMDUnit(), and getUnitLabel().

◆ QLabName

const std::string Mantid::Geometry::QLab::QLabName = "QLab"
static

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