GlobeEngine
at::AtmosphereEngine Class Reference

#include <AtmosphereEngine.h>

Inheritance diagram for at::AtmosphereEngine:
ge::Engine

Public Member Functions

 AtmosphereEngine ()
 
 ~AtmosphereEngine ()
 
void clear ()
 
void destroy ()
 
void create (bool _fullload)
 
void create ()
 
void initializeScene (std::string _projectsrcPath=0)
 
void drawScene ()
 
void resize (int _w, int _h)
 
void update ()
 
vmml::Vector3f calculateCyclePosition (vmml::Vector3f _position)
 
void moveCam (vmml::Vector3f _movement)
 
void updateAtmosphereShader ()
 
void interpretTristate (int s1_, int s2_, int s3_)
 
bool setSpectrum (int lowRed_, int highRed_, int lowGreen_, int highGreen_, int lowBlue_, int highBlue_)
 
bool addLayer (int innerRadius_, int outerRadius_, double density_, bool earthDensity_)
 
double getRadius ()
 
double getDensity ()
 
std::string getChemical ()
 
int changeLayerUpwards ()
 
int changeLayerDownwards ()
 
void deleteLayer ()
 
int enableDisableLayer (bool change_)
 
void setDensity (double density_)
 
void setChemical (std::string chemical_)
 
void changeLayerVisual (bool b)
 
void resetCamera ()
 
std::string getAtmosphereInfo ()
 
- Public Member Functions inherited from ge::Engine
 Engine ()
 
 ~Engine ()
 
void draw ()
 
void initExtension ()
 
void setProgrammState (enum PROGRAMMSTATE state)
 
enum PROGRAMMSTATE getProgrammState ()
 
void setDebugState (enum DEBUGSTATE state)
 
enum DEBUGSTATE getDebugState ()
 
void enablePicking (bool _in)
 
bool isPickingEnabled ()
 
void enableWireframe (bool _in)
 
bool isWireframeEnabled ()
 
void enableAnimationLoop (bool _in)
 
bool isAnimationLoopEnabled ()
 
void setUIFramebufferID (unsigned int _id)
 
const std::shared_ptr< TextureHandle > & getUIFramebufferHandle ()
 
bool isUIFramebufferActive ()
 
void enableUIFramebuffer (bool _in=true)
 
void disableUIFramebuffer ()
 
int getCameraCount ()
 
std::shared_ptr< ge::CameragetCamera (int _index)
 
std::shared_ptr< ge::CameragetSelectedCam ()
 
int getSelectedCamID () const
 
void setSelectedCamID (int _id)
 
float getDevicePixelRatio ()
 
void setDevicePixelRatio (float _in)
 
double getElapsedTimeForLastFrame ()
 
void getOpenGLError (std::string const &_input)
 
void getOpenGLError (char const *_input)
 

Additional Inherited Members

- Public Types inherited from ge::Engine
enum  eTEXTURE_UNITS {
  eUNIT0, eUNIT1, eUNIT2, eUNIT3,
  eUNIT4, eUNIT5, eUNIT6, eUNIT7
}
 
enum  PICKINGSTATE { IDLE =0, PICKEVENT, PICKED }
 
enum  DEBUGSTATE { NOTACTIVE, ACTIVE }
 
enum  PROGRAMMSTATE { NOTLOADED, LOADED, RUNNING }
 
- Protected Member Functions inherited from ge::Engine
void printLineRenderingInfo ()
 
void printTextureInfo ()
 
void printFramebufferInfo ()
 
void printBufferInformation ()
 
- Protected Attributes inherited from ge::Engine
std::vector< std::shared_ptr< ge::Camera > > cameras
 
int selectedCameraID
 
enum PROGRAMMSTATE programstate
 Tells you the state of the application. More...
 
enum DEBUGSTATE debugstate
 Tells you if the application is running with debug output. More...
 
enum PICKINGSTATE pickingState
 Tells you if there is a picking event or result ongoing. More...
 
bool pickingEnabled
 
bool animationsEnabled
 

Constructor & Destructor Documentation

at::AtmosphereEngine::AtmosphereEngine ( )
at::AtmosphereEngine::~AtmosphereEngine ( )

Member Function Documentation

bool at::AtmosphereEngine::addLayer ( int  innerRadius_,
int  outerRadius_,
double  density_,
bool  earthDensity_ 
)
vmml::Vector3f at::AtmosphereEngine::calculateCyclePosition ( vmml::Vector3f  _position)
int at::AtmosphereEngine::changeLayerDownwards ( )
int at::AtmosphereEngine::changeLayerUpwards ( )
void at::AtmosphereEngine::changeLayerVisual ( bool  b)
void at::AtmosphereEngine::clear ( )
virtual

Reimplemented from ge::Engine.

void at::AtmosphereEngine::create ( bool  _fullload)
void at::AtmosphereEngine::create ( )
virtual

Reimplemented from ge::Engine.

void at::AtmosphereEngine::deleteLayer ( )
void at::AtmosphereEngine::destroy ( )
void at::AtmosphereEngine::drawScene ( )
virtual

Implements ge::Engine.

int at::AtmosphereEngine::enableDisableLayer ( bool  change_)
std::string at::AtmosphereEngine::getAtmosphereInfo ( )
std::string at::AtmosphereEngine::getChemical ( )
double at::AtmosphereEngine::getDensity ( )
double at::AtmosphereEngine::getRadius ( )
void at::AtmosphereEngine::initializeScene ( std::string  _projectsrcPath = 0)
virtual

TROPOSPHERE

STRATOSPHERE

MESOSPHERE

THERMOSPHERE

EXOSPHERE

Implements ge::Engine.

void at::AtmosphereEngine::interpretTristate ( int  s1_,
int  s2_,
int  s3_ 
)
void at::AtmosphereEngine::moveCam ( vmml::Vector3f  _movement)
void at::AtmosphereEngine::resetCamera ( )
void at::AtmosphereEngine::resize ( int  _w,
int  _h 
)
virtual

Implements ge::Engine.

void at::AtmosphereEngine::setChemical ( std::string  chemical_)
void at::AtmosphereEngine::setDensity ( double  density_)
bool at::AtmosphereEngine::setSpectrum ( int  lowRed_,
int  highRed_,
int  lowGreen_,
int  highGreen_,
int  lowBlue_,
int  highBlue_ 
)
void at::AtmosphereEngine::update ( )
virtual

Implements ge::Engine.

void at::AtmosphereEngine::updateAtmosphereShader ( )

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