CalcMySky  v0.3.1
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AtmosphereParameters Struct Reference

Classes

struct  Absorber
 
struct  Scatterer
 

Public Member Functions

 DEFINE_EXPLICIT_BOOL (ForceNoEDSTextures)
 
 DEFINE_EXPLICIT_BOOL (SkipSpectra)
 
void parse (QString const &atmoDescrFileName, ForceNoEDSTextures forceNoEDSTextures=ForceNoEDSTextures{false}, SkipSpectra skipSpectra=SkipSpectra{false})
 
auto scatTexWidth () const
 
auto scatTexHeight () const
 
auto scatTexDepth () const
 
unsigned wavelengthsIndex (glm::vec4 const &wavelengths) const
 

Static Public Member Functions

static QString spectrumToString (std::vector< glm::vec4 > const &spectrum)
 

Public Attributes

QString descriptionFileText
 
std::vector< glm::vec4 > allWavelengths
 
std::vector< glm::vec4 > solarIrradianceAtTOA
 
std::vector< glm::vec4 > lightPollutionRelativeRadiance
 
std::string textureOutputDir ="."
 
GLint transmittanceTexW
 
GLint transmittanceTexH
 
GLint irradianceTexW
 
GLint irradianceTexH
 
glm::ivec4 scatteringTextureSize
 
glm::ivec2 eclipsedSingleScatteringTextureSize
 
glm::ivec4 eclipsedDoubleScatteringTextureSize
 
glm::ivec2 lightPollutionTextureSize
 
unsigned eclipsedDoubleScatteringNumberOfAzimuthPairsToSample
 
unsigned eclipsedDoubleScatteringNumberOfElevationPairsToSample
 
unsigned scatteringOrdersToCompute
 
GLint numTransmittanceIntegrationPoints
 
GLint radialIntegrationPoints
 
GLint angularIntegrationPoints
 
GLint eclipseAngularIntegrationPoints
 
GLint lightPollutionAngularIntegrationPoints
 
GLfloat earthRadius
 
GLfloat atmosphereHeight
 
double earthSunDistance
 
double earthMoonDistance
 
GLfloat sunAngularRadius
 
float lengthOfHorizRayFromGroundToBorderOfAtmo
 
std::vector< glm::vec4 > groundAlbedo
 
std::vector< Scattererscatterers
 
std::vector< Absorberabsorbers
 
bool allTexturesAreRadiance =false
 
bool noEclipsedDoubleScatteringTextures =false
 

Static Public Attributes

static constexpr unsigned pointsPerWavelengthItem =4
 
static constexpr unsigned FORMAT_VERSION = 6
 
static constexpr char ALL_TEXTURES_ARE_RADIANCES_DIRECTIVE [] ="all textures are radiances"
 
static constexpr char NO_ECLIPSED_DOUBLE_SCATTERING_TEXTURES_DIRECTIVE [] ="no eclipsed double scattering textures"
 
static constexpr char SOLAR_IRRADIANCE_AT_TOA_KEY [] ="solar irradiance at toa"
 
static constexpr char WAVELENGTHS_KEY [] ="wavelengths"
 

The documentation for this struct was generated from the following files: