|
Mantid
|
#include <WeightingStrategy.h>
Public Member Functions | |
| ParabolicWeighting (const double cutOff) | |
| Constructor. More... | |
| double | weightAt (const double &adjX, const double &ix, const double &adjY, const double &iy) override |
| Calculate the weight at distance from epicenter using parabolic scaling. More... | |
| double | weightAt (const Mantid::Kernel::V3D &) override |
| Implementation doesn't make sense on this type. More... | |
Public Member Functions inherited from Mantid::Algorithms::WeightingStrategy | |
| virtual double | weightAt (const double &adjX, const double &ix, const double &adjY, const double &iy)=0 |
| Calculate the weight at distance from epicenter. More... | |
| virtual double | weightAt (const Mantid::Kernel::V3D &distance)=0 |
| Calculate the weight at distance from epicenter. More... | |
| WeightingStrategy () | |
| Constructor. More... | |
| WeightingStrategy (const double cutOff) | |
| Constructor. More... | |
| virtual | ~WeightingStrategy ()=default |
| Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Mantid::Algorithms::WeightingStrategy | |
| double | m_cutOff |
| Cutoff member. More... | |
Definition at line 75 of file WeightingStrategy.h.
| Mantid::Algorithms::ParabolicWeighting::ParabolicWeighting | ( | const double | cutOff | ) |
Constructor.
| cutOff | : distance cutOff |
Definition at line 84 of file WeightingStrategy.cpp.
|
overridevirtual |
Calculate the weight at distance from epicenter using parabolic scaling.
| adjX | : The number of Y (vertical) adjacent pixels to average together |
| ix | : current index x |
| adjY | : The number of X (vertical) adjacent pixels to average together |
| iy | : current index y |
Implements Mantid::Algorithms::WeightingStrategy.
Definition at line 103 of file WeightingStrategy.cpp.
|
overridevirtual |
Implementation doesn't make sense on this type.
| distance | : |
Implements Mantid::Algorithms::WeightingStrategy.
Definition at line 91 of file WeightingStrategy.cpp.
References Mantid::Algorithms::WeightingStrategy::m_cutOff, Mantid::Kernel::V3D::X(), and Mantid::Kernel::V3D::Y().