10#include <boost/python/class.hpp>
11#include <boost/python/register_ptr_to_python.hpp>
21 class_<IMDEventWorkspace, bases<IMDWorkspace, MultipleExperimentInfos>, boost::noncopyable>(
"IMDEventWorkspace",
23 .def(
"getNPoints", &IMDEventWorkspace::getNPoints, arg(
"self"),
24 "Returns the total number of points (events) in this "
25 ":class:`~mantid.api.Workspace`")
27 .def(
"getNumDims", &IMDEventWorkspace::getNumDims, arg(
"self"),
28 "Returns the number of dimensions in this "
29 ":class:`~mantid.api.Workspace`")
33 "Returns the :class:`~mantid.api.BoxController` used in this "
34 ":class:`~mantid.api.Workspace`")
36 "Sets the visual normalization of"
37 " the :class:`~mantid.api.Workspace`.")
39 (arg(
"self"), arg(
"normalization")),
40 "For :class:`~mantid.api.IMDEventWorkspace` s sets"
41 " the visual normalization of dervied "
42 ":class:`~mantid.api.IMDHistoWorkspace` s.");
#define GET_POINTER_SPECIALIZATION(TYPE)
void export_IMDEventWorkspace()
Abstract base class for multi-dimension event workspaces (MDEventWorkspace).
virtual Mantid::API::BoxController_sptr getBoxController()=0
virtual void setDisplayNormalizationHisto(Mantid::API::MDNormalization preferredNormalizationHisto)=0
Preferred visual normalizaiton method for any histo workspaces created from this.
virtual void setDisplayNormalization(Mantid::API::MDNormalization preferredNormalization)=0
Preferred visual normalization method.
std::shared_ptr< BoxController > BoxController_sptr
Shared ptr to BoxController.
Encapsulates the registration required for an interface type T that sits on top of a Kernel::DataItem...