Skip to content

Class rayx::LightSourceBase

ClassList > rayx > LightSourceBase

Inherited by the following classes: rayx::CircleSource, rayx::DipoleSource, rayx::MatrixSource, rayx::PixelSource, rayx::PointSource, rayx::SimpleUndulatorSource

Protected Attributes

Type Name
int32_t m_numberOfRays

Protected Functions

Type Name
LightSourceBase (const DesignSource &)

Protected Static Functions

Type Name
RAYX_FN_ACC glm::dvec3 getDirectionFromAngles (double phi, double psi)

Protected Attributes Documentation

variable m_numberOfRays

int32_t rayx::LightSourceBase::m_numberOfRays;

Protected Functions Documentation

function LightSourceBase

rayx::LightSourceBase::LightSourceBase (
    const DesignSource &
) 

Protected Static Functions Documentation

function getDirectionFromAngles

static RAYX_FN_ACC glm::dvec3 rayx::LightSourceBase::getDirectionFromAngles (
    double phi,
    double psi
) 

yields the average energy of the energy distribution m_EnergyDistribution



The documentation for this class was generated from the following file Intern/rayx-core/src/Shader/LightSources/LightSource.h