|
Mantid
|
Public Member Functions | |
| coord_t | getBinWidth () const override |
| Return the bin width taking into account if the stored values are actually bin centres or not. | |
| const std::string & | getDimensionId () const override |
| short name which identify the dimension among other dimension. | |
| bool | getIsIntegrated () const override |
| if the dimension is integrated (e.g. have single bin) | |
| coord_t | getMaximum () const override |
| const Geometry::MDFrame & | getMDFrame () const override |
| const Kernel::MDUnit & | getMDUnits () const override |
| coord_t | getMinimum () const override |
| std::string | getName () const override |
| the name of the dimennlsion as can be displayed along the axis | |
| size_t | getNBins () const override |
| number of bins dimension have (an integrated has one). | |
| size_t | getNBoundaries () const override |
| number of bin boundaries (axis points) | |
| const Kernel::UnitLabel | getUnits () const override |
| coord_t | getX (size_t ind) const override |
| Get coordinate for index;. | |
| MWDimension (const Axis *axis, std::string dimensionId) | |
| void | setRange (size_t, coord_t, coord_t) override |
| Change the extents and number of bins. | |
| std::string | toXMLString () const override |
Public Member Functions inherited from Mantid::Geometry::IMDDimension | |
| bool | operator!= (const IMDDimension &) const |
| bool | operator== (const IMDDimension &) const |
| virtual | ~IMDDimension ()=default |
| Destructor. | |
Private Attributes | |
| const Axis & | m_axis |
| const std::string | m_dimensionId |
| const Geometry::MDFrame_const_uptr | m_frame |
| const bool | m_haveEdges |
Definition at line 1494 of file MatrixWorkspace.cpp.
|
inline |
Definition at line 1496 of file MatrixWorkspace.cpp.
|
inlineoverridevirtual |
Return the bin width taking into account if the stored values are actually bin centres or not.
Reimplemented from Mantid::Geometry::IMDDimension.
Definition at line 1552 of file MatrixWorkspace.cpp.
References getMaximum(), getMinimum(), getNBins(), and m_haveEdges.
|
inlineoverridevirtual |
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.
Implements Mantid::Geometry::IMDDimension.
Definition at line 1516 of file MatrixWorkspace.cpp.
References m_dimensionId.
|
inlineoverridevirtual |
if the dimension is integrated (e.g. have single bin)
Reimplemented from Mantid::Geometry::IMDDimension.
Definition at line 1519 of file MatrixWorkspace.cpp.
References Mantid::API::Axis::length(), and m_axis.
|
inlineoverridevirtual |
Implements Mantid::Geometry::IMDDimension.
Definition at line 1525 of file MatrixWorkspace.cpp.
References Mantid::API::Axis::getMax(), and m_axis.
Referenced by getBinWidth().
|
inlineoverridevirtual |
Implements Mantid::Geometry::IMDDimension.
Definition at line 1561 of file MatrixWorkspace.cpp.
References m_frame.
|
inlineoverridevirtual |
Implements Mantid::Geometry::IMDDimension.
Definition at line 1560 of file MatrixWorkspace.cpp.
References m_frame.
|
inlineoverridevirtual |
Implements Mantid::Geometry::IMDDimension.
Definition at line 1522 of file MatrixWorkspace.cpp.
References Mantid::API::Axis::getMin(), and m_axis.
Referenced by getBinWidth().
|
inlineoverridevirtual |
the name of the dimennlsion as can be displayed along the axis
Implements Mantid::Geometry::IMDDimension.
Definition at line 1502 of file MatrixWorkspace.cpp.
References m_axis, Mantid::API::Axis::title(), and Mantid::API::Axis::unit().
|
inlineoverridevirtual |
number of bins dimension have (an integrated has one).
A axis directed along dimension would have getNBins+1 axis points.
Implements Mantid::Geometry::IMDDimension.
Definition at line 1529 of file MatrixWorkspace.cpp.
References Mantid::API::Axis::length(), m_axis, and m_haveEdges.
Referenced by getBinWidth().
|
inlineoverridevirtual |
number of bin boundaries (axis points)
Implements Mantid::Geometry::IMDDimension.
Definition at line 1537 of file MatrixWorkspace.cpp.
References Mantid::API::Axis::length(), and m_axis.
|
inlineoverridevirtual |
Implements Mantid::Geometry::IMDDimension.
Definition at line 1511 of file MatrixWorkspace.cpp.
References m_axis, and Mantid::API::Axis::unit().
|
inlineoverridevirtual |
Get coordinate for index;.
Implements Mantid::Geometry::IMDDimension.
Definition at line 1545 of file MatrixWorkspace.cpp.
References m_axis.
Change the extents and number of bins.
Implements Mantid::Geometry::IMDDimension.
Definition at line 1540 of file MatrixWorkspace.cpp.
|
inlineoverridevirtual |
Implements Mantid::Geometry::IMDDimension.
Definition at line 1558 of file MatrixWorkspace.cpp.
|
private |
Definition at line 1564 of file MatrixWorkspace.cpp.
Referenced by getIsIntegrated(), getMaximum(), getMinimum(), getName(), getNBins(), getNBoundaries(), getUnits(), and getX().
|
private |
Definition at line 1565 of file MatrixWorkspace.cpp.
Referenced by getDimensionId().
|
private |
Definition at line 1567 of file MatrixWorkspace.cpp.
Referenced by getMDFrame(), and getMDUnits().
|
private |
Definition at line 1566 of file MatrixWorkspace.cpp.
Referenced by getBinWidth(), and getNBins().