BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
IPixel Class Referenceabstract

Description

Interface for a function that maps [0,1]x[0,1] to the kvectors in a pixel. Abstract base class for SphericalPixel and RectangularPixel.

Definition at line 29 of file IPixel.h.

Inheritance diagram for IPixel:
[legend]

Public Member Functions

virtual ~IPixel ()=default
 
virtual IPixelclone () const =0
 
virtual IPixelcreateZeroSizePixel (double x, double y) const =0
 
virtual R3 getK (double x, double y, double wavelength) const =0
 
virtual double integrationFactor (double x, double y) const =0
 
virtual double solidAngle () const =0
 

Constructor & Destructor Documentation

◆ ~IPixel()

virtual IPixel::~IPixel ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual IPixel* IPixel::clone ( ) const
pure virtual

Implemented in SphericalPixel, and RectangularPixel.

◆ createZeroSizePixel()

virtual IPixel* IPixel::createZeroSizePixel ( double  x,
double  y 
) const
pure virtual

Implemented in SphericalPixel, and RectangularPixel.

◆ getK()

virtual R3 IPixel::getK ( double  x,
double  y,
double  wavelength 
) const
pure virtual

Implemented in SphericalPixel, and RectangularPixel.

◆ integrationFactor()

virtual double IPixel::integrationFactor ( double  x,
double  y 
) const
pure virtual

Implemented in SphericalPixel, and RectangularPixel.

◆ solidAngle()

virtual double IPixel::solidAngle ( ) const
pure virtual

Implemented in SphericalPixel, and RectangularPixel.


The documentation for this class was generated from the following file: