This class provides an interface to a MaskWorkspace.
More...
#include <IMaskWorkspace.h>
|
| std::unique_ptr< IMaskWorkspace > | clone () const |
| | Returns a clone of the workspace.
|
| |
| virtual std::size_t | getNumberMasked () const =0 |
| | Total number of masked pixels.
|
| |
| virtual const std::string | id () const |
| | Return the workspace typeID.
|
| |
| | IMaskWorkspace ()=default |
| |
| virtual bool | isMasked (const detid_t detectorID) const =0 |
| | Check if a detector is masked.
|
| |
| virtual bool | isMasked (const std::set< detid_t > &detectorIDs) const =0 |
| | Check if all detectors in a set are masked.
|
| |
| IMaskWorkspace & | operator= (const IMaskWorkspace &)=delete |
| |
| virtual void | setMasked (const detid_t detectorID, const bool mask=true)=0 |
| | Set / remove mask of a detector.
|
| |
| virtual void | setMasked (const std::set< detid_t > &detectorIDs, const bool mask=true)=0 |
| | Set / remove masks of all detectors in a set.
|
| |
| virtual | ~IMaskWorkspace ()=default |
| |
This class provides an interface to a MaskWorkspace.
Definition at line 21 of file IMaskWorkspace.h.
◆ IMaskWorkspace() [1/2]
| Mantid::API::IMaskWorkspace::IMaskWorkspace |
( |
| ) |
|
|
default |
◆ ~IMaskWorkspace()
| virtual Mantid::API::IMaskWorkspace::~IMaskWorkspace |
( |
| ) |
|
|
virtualdefault |
◆ IMaskWorkspace() [2/2]
| Mantid::API::IMaskWorkspace::IMaskWorkspace |
( |
const IMaskWorkspace & |
other | ) |
|
|
inlineprotected |
Protected copy constructor. May be used by childs for cloning.
Definition at line 43 of file IMaskWorkspace.h.
◆ clone()
| std::unique_ptr< IMaskWorkspace > Mantid::API::IMaskWorkspace::clone |
( |
| ) |
const |
|
inline |
◆ doInterfaceClone()
| virtual IMaskWorkspace * Mantid::API::IMaskWorkspace::doInterfaceClone |
( |
| ) |
const |
|
protectedpure virtual |
◆ getNumberMasked()
| virtual std::size_t Mantid::API::IMaskWorkspace::getNumberMasked |
( |
| ) |
const |
|
pure virtual |
◆ id()
| virtual const std::string Mantid::API::IMaskWorkspace::id |
( |
| ) |
const |
|
inlinevirtual |
◆ isMasked() [1/2]
| virtual bool Mantid::API::IMaskWorkspace::isMasked |
( |
const detid_t |
detectorID | ) |
const |
|
pure virtual |
◆ isMasked() [2/2]
| virtual bool Mantid::API::IMaskWorkspace::isMasked |
( |
const std::set< detid_t > & |
detectorIDs | ) |
const |
|
pure virtual |
Check if all detectors in a set are masked.
◆ operator=()
◆ setMasked() [1/2]
| virtual void Mantid::API::IMaskWorkspace::setMasked |
( |
const detid_t |
detectorID, |
|
|
const bool |
mask = true |
|
) |
| |
|
pure virtual |
Set / remove mask of a detector.
◆ setMasked() [2/2]
| virtual void Mantid::API::IMaskWorkspace::setMasked |
( |
const std::set< detid_t > & |
detectorIDs, |
|
|
const bool |
mask = true |
|
) |
| |
|
pure virtual |
Set / remove masks of all detectors in a set.
The documentation for this class was generated from the following file: