Mantid
|
The class describes one dimension of multidimensional dataset representing an orthogonal dimension and linear axis. More...
#include <IMDDimension.h>
Public Member Functions | |
virtual coord_t | getBinWidth () const |
virtual const std::string & | getDimensionId () const =0 |
short name which identify the dimension among other dimension. More... | |
virtual bool | getIsIntegrated () const |
virtual coord_t | getMaximum () const =0 |
virtual const Geometry::MDFrame & | getMDFrame () const =0 |
virtual const Kernel::MDUnit & | getMDUnits () const =0 |
virtual coord_t | getMinimum () const =0 |
virtual std::string | getName () const =0 |
virtual size_t | getNBins () const =0 |
virtual size_t | getNBoundaries () const =0 |
virtual const Kernel::UnitLabel | getUnits () const =0 |
virtual coord_t | getX (size_t ind) const =0 |
bool | operator!= (const IMDDimension &) const |
bool | operator== (const IMDDimension &) const |
virtual void | setRange (size_t nBins, coord_t min, coord_t max)=0 |
Change the extents and number of bins. More... | |
virtual std::string | toXMLString () const =0 |
virtual | ~IMDDimension ()=default |
Destructor. More... | |
The class describes one dimension of multidimensional dataset representing an orthogonal dimension and linear axis.
Abstract type for a multi dimensional dimension. Gives a read-only layer to
the concrete implementation.
@author Owen Arnold, RAL ISIS @date 12/11/2010
Definition at line 39 of file IMDDimension.h.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Reimplemented in Mantid::API::MWDimension, and Mantid::Geometry::MDHistoDimension.
Definition at line 88 of file IMDDimension.h.
Referenced by export_IMDDimension().
|
pure virtual |
short name which identify the dimension among other dimension.
A dimension can be usually find by its ID and various various method exist to manipulate set of dimensions by their names.
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
Referenced by Mantid::MDAlgorithms::MDWSDescription::buildFromMDWS(), export_IMDDimension(), and Mantid::Geometry::StrictDimensionPolicy::operator()().
|
inlinevirtual |
Reimplemented in Mantid::API::MWDimension, and Mantid::API::MWXDimension.
Definition at line 91 of file IMDDimension.h.
Referenced by Mantid::Geometry::StrictDimensionPolicy::operator()(), and Mantid::Geometry::MDHistoDimension::toXMLString().
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
Referenced by Mantid::MDAlgorithms::MDWSDescription::buildFromMDWS(), Mantid::MDAlgorithms::ConvertToMD::buildTargetWSDescription(), and export_IMDDimension().
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
Referenced by Mantid::MDAlgorithms::MDWSDescription::buildFromMDWS(), Mantid::MDAlgorithms::ConvertToMD::buildTargetWSDescription(), and export_IMDDimension().
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
Referenced by Mantid::MDAlgorithms::MDWSDescription::buildFromMDWS(), export_IMDDimension(), getName(), and MantidQt::API::PlotAxis::titleFromDimension().
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
Referenced by Mantid::MDAlgorithms::MDWSDescription::buildFromMDWS(), Mantid::MDAlgorithms::ConvertToMD::buildTargetWSDescription(), and export_IMDDimension().
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
Referenced by export_IMDDimension().
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
Referenced by Mantid::MDAlgorithms::MDWSDescription::buildFromMDWS(), and MantidQt::API::PlotAxis::titleFromDimension().
|
pure virtual |
ind | :: index into the axis |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.
Referenced by export_IMDDimension().
|
inline |
Definition at line 94 of file IMDDimension.h.
|
inline |
Definition at line 93 of file IMDDimension.h.
|
pure virtual |
Change the extents and number of bins.
std::invalid_argument | If min is greater than max |
Implemented in Mantid::Geometry::MDHistoDimension, Mantid::API::MWDimension, and Mantid::API::MWXDimension.
|
pure virtual |
Implemented in Mantid::API::MWDimension, Mantid::API::MWXDimension, and Mantid::Geometry::MDHistoDimension.