GlobeEngine
at::AtmosphereComposition Class Reference

#include <AtmosphereComposition.h>

Public Member Functions

 AtmosphereComposition ()
 
 ~AtmosphereComposition ()
 
void addElement (at::AtmosphereCompositionElement *e)
 
void addAerosol (at::AtmosphereCompositionAerosol *a)
 
void addMolecule (at::AtmosphereCompositionMoleculeVapor *m)
 
float getRayleighScatteringPercentage ()
 
float getMieScatteringPercentage ()
 
void setParticleNumberDensity (double number_)
 
double getParticleNumberDensity ()
 
double getParticleRefractiveIndex ()
 
void normalizePercentages ()
 
void saveState (bool includeSubNumberIndex_)
 
void setColorComponent (std::string color_)
 
vmml::Vector3d getColorComponent ()
 
std::string getChemicalString ()
 
void setChemicalString (std::string cStr_)
 
void cleanComposition ()
 
void createElements (std::vector< std::string > signs_, std::vector< double > percentages_)
 
void createMolecules (std::vector< std::string > signs_, std::vector< double > percentages_)
 
void createAerosols (std::vector< std::string > signs_, std::vector< double > percentages_)
 
void createCustomElements (std::vector< std::string > names_, std::vector< double > refIndexes_, std::vector< double > percentages_)
 
void createCustomMolecules (std::vector< std::string > names_, std::vector< double > refIndexes_, std::vector< double > percentages_)
 
void createCustomAerosols (std::vector< std::string > names_, std::vector< double > refIndexes_, std::vector< double > percentages_)
 

Protected Member Functions

std::string toString (double value)
 

Protected Attributes

vmml::Vector2f RayleighMieRelation
 
std::vector< at::AtmosphereCompositionElement * > elements
 
std::vector< at::AtmosphereCompositionAerosol * > aerosols
 
std::vector< at::AtmosphereCompositionMoleculeVapor * > molecules
 
at::AtmosphereCompositionColorComponentcolorComponent
 
double particleNumberDensity
 
double particleRefractiveIndex
 

Constructor & Destructor Documentation

at::AtmosphereComposition::AtmosphereComposition ( )
at::AtmosphereComposition::~AtmosphereComposition ( )

Member Function Documentation

void at::AtmosphereComposition::addAerosol ( at::AtmosphereCompositionAerosol a)
void at::AtmosphereComposition::addElement ( at::AtmosphereCompositionElement e)
void at::AtmosphereComposition::addMolecule ( at::AtmosphereCompositionMoleculeVapor m)
void at::AtmosphereComposition::cleanComposition ( )
void at::AtmosphereComposition::createAerosols ( std::vector< std::string >  signs_,
std::vector< double >  percentages_ 
)
void at::AtmosphereComposition::createCustomAerosols ( std::vector< std::string >  names_,
std::vector< double >  refIndexes_,
std::vector< double >  percentages_ 
)
void at::AtmosphereComposition::createCustomElements ( std::vector< std::string >  names_,
std::vector< double >  refIndexes_,
std::vector< double >  percentages_ 
)
void at::AtmosphereComposition::createCustomMolecules ( std::vector< std::string >  names_,
std::vector< double >  refIndexes_,
std::vector< double >  percentages_ 
)
void at::AtmosphereComposition::createElements ( std::vector< std::string >  signs_,
std::vector< double >  percentages_ 
)
void at::AtmosphereComposition::createMolecules ( std::vector< std::string >  signs_,
std::vector< double >  percentages_ 
)
std::string at::AtmosphereComposition::getChemicalString ( )
vmml::Vector3d at::AtmosphereComposition::getColorComponent ( )
float at::AtmosphereComposition::getMieScatteringPercentage ( )
double at::AtmosphereComposition::getParticleNumberDensity ( )
double at::AtmosphereComposition::getParticleRefractiveIndex ( )
float at::AtmosphereComposition::getRayleighScatteringPercentage ( )
void at::AtmosphereComposition::normalizePercentages ( )
void at::AtmosphereComposition::saveState ( bool  includeSubNumberIndex_)
void at::AtmosphereComposition::setChemicalString ( std::string  cStr_)
void at::AtmosphereComposition::setColorComponent ( std::string  color_)
void at::AtmosphereComposition::setParticleNumberDensity ( double  number_)
std::string at::AtmosphereComposition::toString ( double  value)
protected

Member Data Documentation

std::vector<at::AtmosphereCompositionAerosol*> at::AtmosphereComposition::aerosols
protected
at::AtmosphereCompositionColorComponent* at::AtmosphereComposition::colorComponent
protected
std::vector<at::AtmosphereCompositionElement*> at::AtmosphereComposition::elements
protected
std::vector<at::AtmosphereCompositionMoleculeVapor*> at::AtmosphereComposition::molecules
protected
double at::AtmosphereComposition::particleNumberDensity
protected
double at::AtmosphereComposition::particleRefractiveIndex
protected
vmml::Vector2f at::AtmosphereComposition::RayleighMieRelation
protected

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