GlobeEngine
AtmosphereCompositionColorComponent.h
Go to the documentation of this file.
1 
8 #ifndef AtmosphereEngine_AtmosphereCompositionColor_h
9 #define AtmosphereEngine_AtmosphereCompositionColor_h
10 #include "qmath.h"
11 #include <sstream>
12 #include <iostream>
13 #include <vmmlib/vmmlib.hpp>
14 
15 namespace at {
17  {
18  public:
21  //Setters
22  void setName(std::string name_);
23  bool identifyColor(std::string sign_);
24  bool identifySubstance(std::string sign_);
25  //Getters
26  std::string getSymbol();
27  vmml::Vector3d getColor();
28  void setSymbol(std::string sign_);
29  protected:
31  vmml::Vector3d color;
32  std::string symbol;
33  };
34 }
35 #endif
bool identifyColor(std::string sign_)
Definition: AtmosphereCompositionColorComponent.cpp:15
vmml::Vector3d getColor()
Definition: AtmosphereCompositionColorComponent.cpp:42
~AtmosphereCompositionColorComponent()
Definition: AtmosphereCompositionColorComponent.cpp:13
double refractiveIndex
Definition: AtmosphereCompositionColorComponent.h:30
Definition: AtmosphereCompositionColorComponent.h:16
bool identifySubstance(std::string sign_)
void setSymbol(std::string sign_)
Definition: AtmosphereCompositionColorComponent.cpp:39
std::string getSymbol()
Definition: AtmosphereCompositionColorComponent.cpp:35
vmml::Vector3d color
Definition: AtmosphereCompositionColorComponent.h:31
Definition: AtmosphereComposition.h:20
AtmosphereCompositionColorComponent()
Definition: AtmosphereCompositionColorComponent.cpp:10
std::string symbol
Definition: AtmosphereCompositionColorComponent.h:32