15 #ifndef BORNAGAIN_CORE_DETECTOR_SPHERICALDETECTOR_H
16 #define BORNAGAIN_CORE_DETECTOR_SPHERICALDETECTOR_H
39 double alpha_min,
double alpha_max);
57 std::string
axisName(
size_t index)
const override;
Defines interface IDetector2D.
Beam defined by wavelength, direction and intensity.
Abstract 2D detector interface.
Visitor interface to visit ISample objects.
Interface for a function that maps [0,1]x[0,1] to the kvectors in a pixel.
A spherical detector with axes and resolution function.
void accept(INodeVisitor *visitor) const override
Calls the INodeVisitor's visit method.
std::string axisName(size_t index) const override
Returns the name for the axis with given index.
size_t indexOfSpecular(const Beam &beam) const override
Returns index of pixel that contains the specular wavevector.
IPixel * createPixel(size_t index) const override
Creates an IPixel for the given OutputData object and index.
Axes::Units defaultAxesUnits() const override
return default axes units
A pixel in a SphericalDetector.