Mantid
|
MDFrameFromMDWorkspace: Each dimension of the MDWorkspace contains an MDFrame. More...
#include <MDFramesToSpecialCoordinateSystem.h>
Public Member Functions | |
boost::optional< Mantid::Kernel::SpecialCoordinateSystem > | operator() (const Mantid::API::IMDWorkspace *workspace) const |
Get the Special Coordinate System based on the MDFrame information. More... | |
Private Member Functions | |
void | checkQCompatibility (Mantid::Kernel::SpecialCoordinateSystem specialCoordinateSystem, boost::optional< Mantid::Kernel::SpecialCoordinateSystem > qFrameType) const |
Make sure that the QFrame types are the same. More... | |
bool | isUnknownFrame (const Mantid::Geometry::IMDDimension_const_sptr &dimension) const |
MDFrameFromMDWorkspace: Each dimension of the MDWorkspace contains an MDFrame.
The acutal frame which is common to all dimensions is extracted.
Definition at line 20 of file MDFramesToSpecialCoordinateSystem.h.
|
private |
Make sure that the QFrame types are the same.
specialCoordinateSystem | the q frame type to test. |
qFrameType | the current q frame type |
Definition at line 76 of file MDFramesToSpecialCoordinateSystem.cpp.
Referenced by operator()().
|
private |
Definition at line 92 of file MDFramesToSpecialCoordinateSystem.cpp.
Referenced by operator()().
boost::optional< Mantid::Kernel::SpecialCoordinateSystem > Mantid::DataObjects::MDFramesToSpecialCoordinateSystem::operator() | ( | const Mantid::API::IMDWorkspace * | workspace | ) | const |
Get the Special Coordinate System based on the MDFrame information.
workspace | the workspace which is being queried |
Definition at line 20 of file MDFramesToSpecialCoordinateSystem.cpp.
References checkQCompatibility(), isUnknownFrame(), Mantid::Kernel::None, and workspace.