Mantid
|
#include <ImageInfoModelMD.h>
Public Member Functions | |
ImageInfoModel::ImageInfo | info (const double x, const double y, const double signal, const QMap< QString, QString > &extraValues) const override |
Creates a list with information about the coordinates in the workspace. More... | |
Public Member Functions inherited from MantidQt::MantidWidgets::ImageInfoModel | |
virtual ImageInfoModel::ImageInfo | info (const double x, const double y, const double signal, const QMap< QString, QString > &extraValues) const =0 |
Creates information about the point at the given coordinates in the workspace. More... | |
virtual | ~ImageInfoModel ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from MantidQt::MantidWidgets::ImageInfoModel | |
static const QString | defaultFormat (const double x) |
static const QString | defaultFormat (const int x) |
Static Public Attributes inherited from MantidQt::MantidWidgets::ImageInfoModel | |
static constexpr auto | DecimalFormat = 'f' |
Default float format. More... | |
static constexpr auto | FourDigitPrecision = 4 |
Default float precision. More... | |
static const QString | MissingValue = QString("-") |
MissingValue identifier. More... | |
static constexpr auto | UnsetValue = std::numeric_limits<double>::max() |
Value to indicate that a MissingValue should be shown. More... | |
Definition at line 17 of file ImageInfoModelMD.h.
|
overridevirtual |
Creates a list with information about the coordinates in the workspace.
Creates information about the point at the given coordinates in the workspace.
x | x data coordinate |
y | y data coordinate |
signal | the signal value at x, y |
extraValues | extra values to be displayed in the image info table |
x | x data coordinate |
y | y data coordinate |
signal | the signal value at x, y |
extraValues | extra values to be displayed in the image info table |
Implements MantidQt::MantidWidgets::ImageInfoModel.
Definition at line 14 of file ImageInfoModelMD.cpp.
References MantidQt::MantidWidgets::ImageInfoModel::defaultFormat(), info(), MantidQt::MantidWidgets::ImageInfoModel::ImageInfo::m_names, MantidQt::MantidWidgets::ImageInfoModel::ImageInfo::m_values, MantidQt::MantidWidgets::ImageInfoModel::MissingValue, MantidQt::MantidWidgets::ImageInfoModel::ImageInfo::setValue(), MantidQt::MantidWidgets::ImageInfoModel::UnsetValue, value, Mantid::Geometry::x, and Mantid::Geometry::y.
Referenced by info().