BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
IPixel Class Referenceabstract

Interface for a function that maps [0,1]x[0,1] to the kvectors in a pixel. More...

Inheritance diagram for IPixel:
[legend]

Public Member Functions

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

Detailed 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 25 of file IPixel.h.

Constructor & Destructor Documentation

◆ ~IPixel()

virtual IPixel::~IPixel ( )
inlinevirtual

Definition at line 27 of file IPixel.h.

27 {}

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 kvector_t 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: