GlobeEngine
geClimateViewer::ClimateViewerEngine Class Reference

#include <ClimateViewerEngine.h>

Inheritance diagram for geClimateViewer::ClimateViewerEngine:
ge::Engine

Public Member Functions

 ClimateViewerEngine (std::string _sceneFilePath)
 
 ~ClimateViewerEngine ()
 
void clear ()
 
void destroy ()
 
void create ()
 
void initializeScene (std::string _projectsrcPath=0)
 
void drawScene ()
 
void resize (int _w, int _h)
 
void update ()
 
void createArrowsFromClimateData (std::shared_ptr< VectorField > _data)
 
void updateFramebufferStandardID ()
 
void createStreamlines ()
 
void createStreamlinesRandom ()
 
void loadData ()
 
void calculateTopology ()
 
void calculatePerpLines ()
 
void updateUiSettings (UISettings _newSettings)
 
void highlightStreamline ()
 
void saveCurrentStateToSHP (std::string _path)
 
void saveStreamlinesToSHP (std::string _path)
 
void saveTopologyToSHP (std::string _path)
 
void setUi (ClimateViewerUI *_ui)
 
void play ()
 
void progress (int _p)
 
void direct (std::string _path)
 
- 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)
 

Public Attributes

UISettings uiSettings
 

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

geClimateViewer::ClimateViewerEngine::ClimateViewerEngine ( std::string  _sceneFilePath)
geClimateViewer::ClimateViewerEngine::~ClimateViewerEngine ( )

Member Function Documentation

void geClimateViewer::ClimateViewerEngine::calculatePerpLines ( )
void geClimateViewer::ClimateViewerEngine::calculateTopology ( )
void geClimateViewer::ClimateViewerEngine::clear ( )
virtual

Reimplemented from ge::Engine.

void geClimateViewer::ClimateViewerEngine::create ( )
virtual

Reimplemented from ge::Engine.

void geClimateViewer::ClimateViewerEngine::createArrowsFromClimateData ( std::shared_ptr< VectorField _data)
void geClimateViewer::ClimateViewerEngine::createStreamlines ( )
void geClimateViewer::ClimateViewerEngine::createStreamlinesRandom ( )
void geClimateViewer::ClimateViewerEngine::destroy ( )
void geClimateViewer::ClimateViewerEngine::direct ( std::string  _path)
void geClimateViewer::ClimateViewerEngine::drawScene ( )
virtual

Implements ge::Engine.

void geClimateViewer::ClimateViewerEngine::highlightStreamline ( )
void geClimateViewer::ClimateViewerEngine::initializeScene ( std::string  _projectsrcPath = 0)
virtual

Implements ge::Engine.

void geClimateViewer::ClimateViewerEngine::loadData ( )
void geClimateViewer::ClimateViewerEngine::play ( )
void geClimateViewer::ClimateViewerEngine::progress ( int  _p)
void geClimateViewer::ClimateViewerEngine::resize ( int  _w,
int  _h 
)
virtual

Implements ge::Engine.

void geClimateViewer::ClimateViewerEngine::saveCurrentStateToSHP ( std::string  _path)
void geClimateViewer::ClimateViewerEngine::saveStreamlinesToSHP ( std::string  _path)
void geClimateViewer::ClimateViewerEngine::saveTopologyToSHP ( std::string  _path)
void geClimateViewer::ClimateViewerEngine::setUi ( ClimateViewerUI _ui)
void geClimateViewer::ClimateViewerEngine::update ( )
virtual

Implements ge::Engine.

void geClimateViewer::ClimateViewerEngine::updateFramebufferStandardID ( )
void geClimateViewer::ClimateViewerEngine::updateUiSettings ( UISettings  _newSettings)

Member Data Documentation

UISettings geClimateViewer::ClimateViewerEngine::uiSettings

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