GlobeEngine
geGIS::GlobeEngine Class Reference

#include <GlobeEngine.h>

Inheritance diagram for geGIS::GlobeEngine:
ge::Engine

Public Member Functions

 GlobeEngine ()
 
 ~GlobeEngine ()
 
void clear ()
 
void destroy ()
 
void create (const std::shared_ptr< geGIS::SceneBlueprint > &_scene)
 
void setModelAndBluePrintReference (std::shared_ptr< geGIS::ModelLayer > _modelLayer)
 
void initializeScene (std::string _pathFile=0)
 
void drawScene ()
 
void resize (int _w, int _h)
 
void update ()
 
void drawUtilities (std::shared_ptr< ge::Camera > _cam)
 
void drawDecals (std::shared_ptr< ge::Camera > _cam)
 
void selectPixel (int x, int y)
 
void showCameraFrustums (bool _in)
 
void setEditortable (geData::HeightColorTable _colortable)
 
void requestOcclusionQuery ()
 
void setAAWeight (float _in)
 
void setAAActive (bool _in)
 
void setBackgroundColor (vmml::Vector3f _color)
 
void setPickingColor (vmml::Vector3f _color)
 
void setPickingOffset (vmml::Vector2f _offset)
 
void saveScreenshot (std::string _filePath, int _bufferID=0)
 
void showSkybox (bool _in)
 
void setSceneCompositionHandleForStencilTexture (std::shared_ptr< ge::TextureHandle > _in)
 
void isShadowMappingEnabled (bool _in)
 
bool isShadowMappingEnabled ()
 
void isAmbientOcclusionEnabled (bool _in)
 
bool isAmbientOcclusionEnabled ()
 
void setSSAOParameter (SSAOParameter _in)
 
void setSuperSamplingMultiplicator (double _in)
 
double getSuperSamplingMultiplicator (double _in)
 
void updateFramebufferStandardID ()
 
void moveCameraToPosition (vmml::Vector3d _pos)
 
vmml::Vector2d get2dPoint (vmml::Vector3d _p, vmml::Matrix4d _modelMatrix=vmml::Matrix4d::IDENTITY)
 
void enableEdgeHightlighting (bool _in)
 
void setEdgeHightlightingThreshold (float _in)
 
GBufferHandles getGBufferHandles () const
 
bool isClusteredShadingEnabled () const
 
bool isMortonOrderShadingEnabled () const
 
void enableGPUFeatures (geGIS::GPUFeatureFlags _in)
 
void setGPUBufferHandle (GLuint _in, GLuint _inBound, unsigned int _maxDepth, GLuint _attrHandle=0)
 
void setGPUFeatureLineRadius (double _rad, double _maxRad)
 
void setGPUMouseLensRadius (float _in)
 
void setGPUMouseLensCategory (int _in)
 
void setRenderingWithTerrain (bool _terrainVis)
 
void setRenderingWithVolume (bool _volumeVis)
 
void setGPUStyleBufferHandles (geGIS::StyleCollectionUniformHandles _in)
 
void setMouseCoordForGPUFeature (vmml::Vector2f _mouseCoord)
 
std::shared_ptr< ge::ShadergetActiveCompositionShader ()
 
void recompileShadersAfterNextUpdate ()
 
void startCameraAnimation ()
 
void setReportActive (bool _in)
 
void enableVolumeRenderer (vmml::Vector3d _scale, vmml::Vector3d _position)
 
void disableVolumeRenderer ()
 
std::shared_ptr< geFlow::VolumeRenderergetVolumeRenderer ()
 
std::shared_ptr< geFlow::VolumeCompositiongetVolumeComposition ()
 
void setTFforVolumeRendering (unsigned char *_transferFunctionData)
 
void applyVolumeInfo ()
 
- Public Member Functions inherited from ge::Engine
 Engine ()
 
 ~Engine ()
 
virtual void create ()
 
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

geGIS::GlobeEngine::GlobeEngine ( )
geGIS::GlobeEngine::~GlobeEngine ( )

Member Function Documentation

void geGIS::GlobeEngine::applyVolumeInfo ( )
void geGIS::GlobeEngine::clear ( )
virtual

Reimplemented from ge::Engine.

void geGIS::GlobeEngine::create ( const std::shared_ptr< geGIS::SceneBlueprint > &  _scene)
void geGIS::GlobeEngine::destroy ( )
void geGIS::GlobeEngine::disableVolumeRenderer ( )
void geGIS::GlobeEngine::drawDecals ( std::shared_ptr< ge::Camera _cam)
void geGIS::GlobeEngine::drawScene ( )
virtual

Implements ge::Engine.

void geGIS::GlobeEngine::drawUtilities ( std::shared_ptr< ge::Camera _cam)
void geGIS::GlobeEngine::enableEdgeHightlighting ( bool  _in)
void geGIS::GlobeEngine::enableGPUFeatures ( geGIS::GPUFeatureFlags  _in)
void geGIS::GlobeEngine::enableVolumeRenderer ( vmml::Vector3d  _scale,
vmml::Vector3d  _position 
)
vmml::Vector2d geGIS::GlobeEngine::get2dPoint ( vmml::Vector3d  _p,
vmml::Matrix4d  _modelMatrix = vmml::Matrix4d::IDENTITY 
)
std::shared_ptr< ge::Shader > geGIS::GlobeEngine::getActiveCompositionShader ( )
GBufferHandles geGIS::GlobeEngine::getGBufferHandles ( ) const
double geGIS::GlobeEngine::getSuperSamplingMultiplicator ( double  _in)
std::shared_ptr< geFlow::VolumeComposition > geGIS::GlobeEngine::getVolumeComposition ( )
std::shared_ptr< geFlow::VolumeRenderer > geGIS::GlobeEngine::getVolumeRenderer ( )
void geGIS::GlobeEngine::initializeScene ( std::string  _pathFile = 0)
virtual

Implements ge::Engine.

void geGIS::GlobeEngine::isAmbientOcclusionEnabled ( bool  _in)
bool geGIS::GlobeEngine::isAmbientOcclusionEnabled ( )
bool geGIS::GlobeEngine::isClusteredShadingEnabled ( ) const
bool geGIS::GlobeEngine::isMortonOrderShadingEnabled ( ) const
void geGIS::GlobeEngine::isShadowMappingEnabled ( bool  _in)
bool geGIS::GlobeEngine::isShadowMappingEnabled ( )
void geGIS::GlobeEngine::moveCameraToPosition ( vmml::Vector3d  _pos)
void geGIS::GlobeEngine::recompileShadersAfterNextUpdate ( )
void geGIS::GlobeEngine::requestOcclusionQuery ( )
void geGIS::GlobeEngine::resize ( int  _w,
int  _h 
)
virtual

Implements ge::Engine.

void geGIS::GlobeEngine::saveScreenshot ( std::string  _filePath,
int  _bufferID = 0 
)
void geGIS::GlobeEngine::selectPixel ( int  x,
int  y 
)
void geGIS::GlobeEngine::setAAActive ( bool  _in)
void geGIS::GlobeEngine::setAAWeight ( float  _in)
void geGIS::GlobeEngine::setBackgroundColor ( vmml::Vector3f  _color)
void geGIS::GlobeEngine::setEdgeHightlightingThreshold ( float  _in)
void geGIS::GlobeEngine::setEditortable ( geData::HeightColorTable  _colortable)
void geGIS::GlobeEngine::setGPUBufferHandle ( GLuint  _in,
GLuint  _inBound,
unsigned int  _maxDepth,
GLuint  _attrHandle = 0 
)
void geGIS::GlobeEngine::setGPUFeatureLineRadius ( double  _rad,
double  _maxRad 
)
void geGIS::GlobeEngine::setGPUMouseLensCategory ( int  _in)
void geGIS::GlobeEngine::setGPUMouseLensRadius ( float  _in)
void geGIS::GlobeEngine::setGPUStyleBufferHandles ( geGIS::StyleCollectionUniformHandles  _in)
void geGIS::GlobeEngine::setModelAndBluePrintReference ( std::shared_ptr< geGIS::ModelLayer _modelLayer)
void geGIS::GlobeEngine::setMouseCoordForGPUFeature ( vmml::Vector2f  _mouseCoord)
void geGIS::GlobeEngine::setPickingColor ( vmml::Vector3f  _color)
inline
void geGIS::GlobeEngine::setPickingOffset ( vmml::Vector2f  _offset)
inline
void geGIS::GlobeEngine::setRenderingWithTerrain ( bool  _terrainVis)
void geGIS::GlobeEngine::setRenderingWithVolume ( bool  _volumeVis)
void geGIS::GlobeEngine::setReportActive ( bool  _in)
void geGIS::GlobeEngine::setSceneCompositionHandleForStencilTexture ( std::shared_ptr< ge::TextureHandle _in)
void geGIS::GlobeEngine::setSSAOParameter ( SSAOParameter  _in)
void geGIS::GlobeEngine::setSuperSamplingMultiplicator ( double  _in)
void geGIS::GlobeEngine::setTFforVolumeRendering ( unsigned char *  _transferFunctionData)
void geGIS::GlobeEngine::showCameraFrustums ( bool  _in)
void geGIS::GlobeEngine::showSkybox ( bool  _in)
void geGIS::GlobeEngine::startCameraAnimation ( )
void geGIS::GlobeEngine::update ( )
virtual

Implements ge::Engine.

void geGIS::GlobeEngine::updateFramebufferStandardID ( )

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