21 return m_unit->getUnitLabel();
33 return *this->
m_unit == otherUnit;
49 const auto &
tmp =
dynamic_cast<const QLab &
>(frame);
51 }
catch (std::bad_cast &) {
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
MDFrame : The coordinate frame for a dimension, or set of dimensions in a multidimensional workspace.
QLab : Q in the lab frame MDFrame.
bool setMDUnit(const Mantid::Kernel::MDUnit &newUnit) override
std::string name() const override
const std::unique_ptr< const Mantid::Kernel::MDUnit > m_unit
Fixed to be inverse angstroms.
Mantid::Kernel::UnitLabel getUnitLabel() const override
bool isSameType(const MDFrame &frame) const override
const Mantid::Kernel::MDUnit & getMDUnit() const override
bool canConvertTo(const Mantid::Kernel::MDUnit &otherUnit) const override
bool isQ() const override
Mantid::Kernel::SpecialCoordinateSystem equivalientSpecialCoordinateSystem() const override
static const std::string QLabName
QLab * clone() const override
MDUnit : Unit type for multidimensional data types.
A base-class for the a class that is able to return unit labels in different representations.
SpecialCoordinateSystem
Special coordinate systems for Q3D.
Helper class which provides the Collimation Length for SANS instruments.