15 #ifndef BORNAGAIN_CORE_DETECTOR_RECTANGULARPIXEL_H
16 #define BORNAGAIN_CORE_DETECTOR_RECTANGULARPIXEL_H
Defines pure virtual interface IPixel (has no cpp file)
Interface for a function that maps [0,1]x[0,1] to the kvectors in a pixel.
A pixel in a RectangularDetector.
kvector_t getK(double x, double y, double wavelength) const override
kvector_t getPosition(double x, double y) const
double getSolidAngle() const override
kvector_t normalizeLength(const kvector_t direction, double length) const
RectangularPixel * clone() const override
double calculateSolidAngle() const
RectangularPixel(kvector_t corner_pos, kvector_t width, kvector_t height)
double getIntegrationFactor(double x, double y) const override
RectangularPixel * createZeroSizePixel(double x, double y) const override
const double wavelength(0.154)